aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrankie B <git@diskfloppy.me>2024-02-07 01:43:38 +0000
committerFrankie B <git@diskfloppy.me>2024-02-07 01:43:38 +0000
commit3eaad001806b240259af302165099df3caf0f66e (patch)
tree8c0e13ced9006e78cf364ae43b59388965b7c0e2
parentd6e36dfa8e283af33d1f79f173502f505ae83ba7 (diff)
Add binds to enable/disable nixpad internal display
-rw-r--r--homes/floppydisk/hyprland.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/homes/floppydisk/hyprland.nix b/homes/floppydisk/hyprland.nix
index 9531bbf..110e037 100644
--- a/homes/floppydisk/hyprland.nix
+++ b/homes/floppydisk/hyprland.nix
@@ -77,6 +77,11 @@
"general:resize_on_border" = "true";
+ bindl = [
+ ",switch:on:Lid Switch,exec,hyprctl keyword monitor LVDS-1, disable"
+ ",switch:off:Lid Switch,exec,hyprctl keyword monitor LVDS-1, 1600x900, 0x0, 1"
+ ];
+
bindm = [
# mouse binds
"ALT,mouse:272,movewindow"