✨ add lid control
Browse files at this commit62c0603d952377779863585671107106716fe775Parent: 4bd419a- feat
- ✨ add lid control
1 changed file +9 -6
.config/hypr/hyprland.confmodified+9 -6
| @@ -1,6 +1,11 @@ | |||
| 1 | -# monitor=,preferred,auto,auto | 1 | +monitor=,preferred,auto,auto |
| 2 | -monitor = HDMI-A-1, 1920x1080@75, 1920x0, 1 | 2 | +monitor = eDP-1, 2880x1800@90, 0x1080, 2 |
| 3 | -# monitor = eDP-1, disable | 3 | +monitor = HDMI-A-1, 1920x1080@75, 0x0, 1 |
| 4 | +monitor = eDP-1, disable | ||
| 5 | +# bindl = , switch:on:Lid Switch, exec, hyprctl keyword monitor "eDP-1, disable" | ||
| 6 | +#bindl = , switch:on:Lid Switch, exec, hyprctl keyword input:touchdevice:enabled false | ||
| 7 | +bindl = , switch:off:Lid Switch, exec, hyprctl keyword input:touchdevice:enabled false | ||
| 8 | +bindl = , switch:off:Lid Switch, exec, hyprctl keyword monitor "eDP-1, 2880x1800@90, 0x1080, 2" monitor = HDMI-A-1, disable | ||
| 4 | 9 | ||
| 5 | exec-once = sleep 1 && waybar | 10 | exec-once = sleep 1 && waybar |
| 6 | exec-once = sleep 2 && nm-applet | 11 | exec-once = sleep 2 && nm-applet |
| @@ -19,7 +24,7 @@ render:explicit_sync = true | |||
| 19 | 24 | ||
| 20 | 25 | ||
| 21 | $terminal = wezterm start --always-new-process | 26 | $terminal = wezterm start --always-new-process |
| 22 | -$fileManager = flatpak run org.kde.dolphin | 27 | +$fileManager = GTK_THEME=Adwaita:dark nautilus |
| 23 | $active_menu = rofi -show | 28 | $active_menu = rofi -show |
| 24 | $menu = rofi -show drun -show-icons | 29 | $menu = rofi -show drun -show-icons |
| 25 | $menu_unsafe = mullvad-exclude rofi -show drun -show-icons | 30 | $menu_unsafe = mullvad-exclude rofi -show drun -show-icons |
| @@ -31,8 +36,6 @@ $browser_unsafe = mullvad-exclude flatpak run io.github.ungoogled_software.ungoo | |||
| 31 | $mainMod = SUPER | 36 | $mainMod = SUPER |
| 32 | $my_trigger = Alt | 37 | $my_trigger = Alt |
| 33 | 38 | ||
| 34 | - | ||
| 35 | - | ||
| 36 | bind = $my_trigger, T, exec, $terminal | 39 | bind = $my_trigger, T, exec, $terminal |
| 37 | bind = $my_trigger, Q, exec, $fileManager | 40 | bind = $my_trigger, Q, exec, $fileManager |
| 38 | bind = Alt, F1, exec, $active_menu | 41 | bind = Alt, F1, exec, $active_menu |