switch to swayosd
Some checks are pending
CI / test (push) Waiting to run

This commit is contained in:
Josh Thomas 2025-07-05 07:56:45 -05:00
parent 3c030e5904
commit 70095ac331
2 changed files with 11 additions and 7 deletions

View file

@ -68,8 +68,8 @@ bind = SUPER SHIFT, R, exec, pkill waybar; waybar &
bind = SUPER, return, exec, $terminal
bind = SUPER, space, exec, wofi --show drun --sort-order=alphabetical
bindel = ,XF86MonBrightnessUp, exec, brightnessctl -e4 -n2 set 5%+
bindel = ,XF86MonBrightnessDown, exec, brightnessctl -e4 -n2 set 5%-
bindel = ,XF86MonBrightnessUp, exec, swayosd-client --brightness +10
bindel = ,XF86MonBrightnessDown, exec, swayosd-client --brightness -10
# Media control keys
bind = ,XF86AudioPlay, exec, $scripts/media-control play-pause
@ -77,12 +77,15 @@ bind = ,XF86AudioPause, exec, $scripts/media-control play-pause
bind = ,XF86AudioNext, exec, $scripts/media-control next
bind = ,XF86AudioPrev, exec, $scripts/media-control previous
bind = ,XF86AudioStop, exec, $scripts/media-control stop
bindel = ,XF86AudioRaiseVolume, exec, $scripts/volume-control up
bindel = ,XF86AudioLowerVolume, exec, $scripts/volume-control down
bindel = ,XF86AudioMute, exec, $scripts/volume-control mute
bindel = ,XF86AudioMicMute, exec, wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindel = ,XF86AudioRaiseVolume, exec, swayosd-client --output-volume +10
bindel = ,XF86AudioLowerVolume, exec, swayosd-client --output-volume -10
bindel = ,XF86AudioMute, exec, swayosd-client --output-volume mute-toggle
bindel = ,XF86AudioMicMute, exec, swayosd-client --input-volume mute-toggle
# Screenshots
bind = , PRINT, exec, hyprshot -m region
bind = SHIFT, PRINT, exec, hyprshot -m window
bind = CTRL, PRINT, exec, hyprshot -m output
# Clipboard
bind = CTRL SUPER, V, exec, $terminal --class clipse -e clipse

View file

@ -21,8 +21,9 @@ env = GDK_SCALE,1 # Change to 1 if on a 1x display
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
exec-once = hypridle & swaync & waybar & hyprpaper & kanshi
exec-once = hypridle & swaync & swayosd-server & waybar & hyprpaper & kanshi
exec-once = systemctl --user start hyprpolkitagent
exec-once = wl-paste --primary --watch wl-copy
exec-once = wl-clip-persist --clipboard regular & clipse -listen
# https://wiki.hyprland.org/Configuring/Variables/#general