feat(hyprland): add hypridle and lid close binds

This commit is contained in:
2026-03-16 22:26:14 +00:00
parent bf9d570ff3
commit eabcc3de6b
2 changed files with 5 additions and 2 deletions

View File

@@ -9,6 +9,7 @@ $browser = brave
exec-once = /usr/lib/xdg-desktop-portal-hyprland & exec-once = /usr/lib/xdg-desktop-portal-hyprland &
exec-once = /usr/lib/xdg-desktop-portal & exec-once = /usr/lib/xdg-desktop-portal &
exec-once = hyprpaper exec-once = hyprpaper
exec-once = hypridle
exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps exec = gsettings set org.gnome.desktop.interface color-scheme "prefer-dark" # for GTK4 apps
exec = gsettings set org.gnome.desktop.interface gtk-theme "adw-gtk3-dark" # for GTK3 apps exec = gsettings set org.gnome.desktop.interface gtk-theme "adw-gtk3-dark" # for GTK3 apps

View File

@@ -53,10 +53,12 @@ bindl = , F6, exec, wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindl = , F7, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle bindl = , F7, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
# Playback (requires playerctl) # Playback (requires playerctl)
#bindl = , F2, exec, playerctl previous bindl = , F2, exec, playerctl previous
#bindl = , F1, exec, playerctl play-pause bindl = , F1, exec, playerctl play-pause
bindl = , F3, exec, playerctl next bindl = , F3, exec, playerctl next
bindl = , switch:on:Lid Switch, exec, hyprctl dispatch dpms off
bindl = , switch:off:Lid Switch, exec, hyprctl dispatch dpms on
bind = SUPER CTRL, left, swapwindow, l bind = SUPER CTRL, left, swapwindow, l
bind = SUPER CTRL, right, swapwindow, r bind = SUPER CTRL, right, swapwindow, r