feat(hyprland): add hypridle and lid close binds
This commit is contained in:
@@ -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
|
||||||
|
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user