diff options
Diffstat (limited to 'config/hypr/configs/Laptops.conf')
| -rw-r--r-- | config/hypr/configs/Laptops.conf | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/config/hypr/configs/Laptops.conf b/config/hypr/configs/Laptops.conf index 0b274336..8d597b00 100644 --- a/config/hypr/configs/Laptops.conf +++ b/config/hypr/configs/Laptops.conf @@ -2,6 +2,7 @@ # Setting variables # This configs are mostly for laptops. This is addemdum to Keybinds.conf +$configs = $HOME/.config/hypr/configs $mainMod = SUPER $scriptsDir = $HOME/.config/hypr/scripts @@ -22,13 +23,13 @@ bind = , xf86MonBrightnessDown, exec, $backlight --dec #FN+F7 bind = , xf86MonBrightnessUp, exec, $backlight --inc #FN+F8 bind = , xf86TouchpadToggle, exec, $touchpad #FN+10 disable touchpad -# triggered when external monitor is connected and closing lid (For Laptop) -# bindl=,switch:Lid Switch, exec, $LidSwitch -# NOTE: (12-Nov-2023) This use to work before but seems below is ok now + # From WIKI This is to disable laptop monitor when lid is closed. # consult https://wiki.hyprland.org/hyprland-wiki/pages/Configuring/Binds/#switches -bindl = , switch:off:Lid Switch,exec,hyprctl keyword monitor "eDP-1, preferred, auto, 1" -bindl = , switch:on:Lid Switch,exec,hyprctl keyword monitor "eDP-1, disable" +# NOTE: Display for laptop are being generated into LaptopDisplay.conf +bindl = , switch:off:Lid Switch,exec,echo "monitor = eDP-1, preferred, auto, 1" > $configs/LaptopDisplay.conf +bindl = , switch:on:Lid Switch,exec,echo "monitor = eDP-1, disable" > $configs/LaptopDisplay.conf + # Screenshot keybindings for Asus G15 (no PrinSrc button) bind = $mainMod, F6, exec, $screenshot --now |
