This commit is contained in:
2025-09-03 10:28:22 -05:00
parent 1520b9872b
commit c5f1cb3624

View File

@@ -37,7 +37,7 @@
};
extraConfig = (if config.homeconfig.host == "laptop" then ''
bind = CTRL SHIFT, XF86Launch2, exec, if [[ $(hyprctl monitors | grep 0x0 | sed -n -e "s/\t*1920x1080@//" -e "s/.[1234567890]* at 0x0//p") == 300 ]]; then /run/current-system/bin/switch-to-configuration switch; else /run/current-system/specialisation/docked/bin/switch-to-configuration switch; fi
bind = CTRL SHIFT, XF86Launch2, exec, kitty -e "if [[ $(hyprctl monitors | grep 0x0 | sed -n -e "s/\t*1920x1080@//" -e "s/.[1234567890]* at 0x0//p") == 300 ]]; then sudo /run/current-system/bin/switch-to-configuration switch; else sudo /run/current-system/specialisation/docked/bin/switch-to-configuration switch; fi"
'' else if config.homeconfig.host == "homebox" then ''
monitor=HDMI-A-2,1920x1080@60,0x0,1
monitor=HEADLESS-2,1920x1080@60,0x0,1