add monitor switch scripts

This commit is contained in:
Sean Buckley 2021-09-03 21:06:18 -04:00
parent 1a3d8ad05f
commit 2fdcb4b686

View file

@ -1,7 +1,7 @@
{ pkgs, ... }: { pkgs, ... }:
{ {
sconfig = { sconfig = {
gnome = true; i3.enable = true;
profile = "desktop"; profile = "desktop";
security-tools = true; security-tools = true;
i3.extraConfig = '' i3.extraConfig = ''
@ -34,6 +34,8 @@
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
wine wine
vmware-horizon-client vmware-horizon-client
(writeShellScriptBin "game" "exec xrandr --output DisplayPort-1 --off")
(writeShellScriptBin "work" "exec xrandr --output DisplayPort-1 --mode 2560x1440 --rate 165 --right-of DisplayPort-0")
]; ];
services.openssh.enable = true; services.openssh.enable = true;