pkgs: name passing

This commit is contained in:
Zynh Ludwig 2024-08-17 00:14:46 -07:00
parent b9ee61bc0c
commit a1903be803
2 changed files with 3 additions and 2 deletions

View file

@ -76,7 +76,7 @@ in
# --output DP-4 --off \ # --output DP-4 --off \
# --output DP-5 --off # --output DP-5 --off
# '') # '')
writeXrandrScriptBin (writeXrandrScriptBin "tv-on")
feh feh
imagemagick imagemagick

View file

@ -1,5 +1,6 @@
{ writeShellScriptBin }: { writeShellScriptBin }:
writeShellScriptBin "tv-on" '' name:
writeShellScriptBin name ''
xrandr \ xrandr \
--output DP-0 --primary --mode 1920x1080 --pos 1920x1080 --rotate normal \ --output DP-0 --primary --mode 1920x1080 --pos 1920x1080 --rotate normal \
--output HDMI-0 --mode 1920x1080 --pos 0x1080 --rotate normal \ --output HDMI-0 --mode 1920x1080 --pos 0x1080 --rotate normal \