diff --git a/hosts/snowhawk/home.nix b/hosts/snowhawk/home.nix index 9e72bca..87390c1 100644 --- a/hosts/snowhawk/home.nix +++ b/hosts/snowhawk/home.nix @@ -76,7 +76,7 @@ in # --output DP-4 --off \ # --output DP-5 --off # '') - writeXrandrScriptBin + (writeXrandrScriptBin "tv-on") feh imagemagick diff --git a/pkgs/writeXrandrScriptBin.nix b/pkgs/writeXrandrScriptBin.nix index 91dcd41..64eaaf4 100644 --- a/pkgs/writeXrandrScriptBin.nix +++ b/pkgs/writeXrandrScriptBin.nix @@ -1,5 +1,6 @@ { writeShellScriptBin }: -writeShellScriptBin "tv-on" '' +name: +writeShellScriptBin name '' xrandr \ --output DP-0 --primary --mode 1920x1080 --pos 1920x1080 --rotate normal \ --output HDMI-0 --mode 1920x1080 --pos 0x1080 --rotate normal \