2025-07-22 23:24:09 -04:00
|
|
|
# Only display the OSD on the currently focused monitor
|
|
|
|
$osdclient = swayosd-client --monitor "$(hyprctl monitors -j | jq -r '.[] | select(.focused == true).name')"
|
|
|
|
|
2025-07-22 00:58:11 +02:00
|
|
|
# Laptop multimedia keys for volume and LCD brightness (with OSD)
|
2025-08-03 10:11:29 +01:00
|
|
|
bindeld = ,XF86AudioRaiseVolume, Volume up, exec, $osdclient --output-volume raise
|
|
|
|
bindeld = ,XF86AudioLowerVolume, Volume down, exec, $osdclient --output-volume lower
|
|
|
|
bindeld = ,XF86AudioMute, Mute, exec, $osdclient --output-volume mute-toggle
|
|
|
|
bindeld = ,XF86AudioMicMute, Mute microphone, exec, $osdclient --input-volume mute-toggle
|
|
|
|
bindeld = ,XF86MonBrightnessUp, Brightness up, exec, $osdclient --brightness raise
|
|
|
|
bindeld = ,XF86MonBrightnessDown, Brightness down, exec, $osdclient --brightness lower
|
2025-07-10 15:30:38 -07:00
|
|
|
|
|
|
|
# Requires playerctl
|
2025-08-03 10:11:29 +01:00
|
|
|
bindld = , XF86AudioNext, Next track, exec, $osdclient --playerctl next
|
|
|
|
bindld = , XF86AudioPause, Pause, exec, $osdclient --playerctl play-pause
|
|
|
|
bindld = , XF86AudioPlay, Play, exec, $osdclient --playerctl play-pause
|
|
|
|
bindld = , XF86AudioPrev, Previous track, exec, $osdclient --playerctl previous
|