diff options
| author | 2026-05-13 13:43:37 +0100 | |
|---|---|---|
| committer | 2026-05-13 13:43:37 +0100 | |
| commit | 12b08e19cbd65988c51de40ffd06ce01418c2bb6 (patch) | |
| tree | 250afcc194532c01b66d0bf4594b219da6c4388b /dot_config/sway/config | |
| parent | f726a9afa6ba815ac8b5f4ce94a6295e74ff3980 (diff) | |
| download | dotfiles-12b08e19cbd65988c51de40ffd06ce01418c2bb6.tar.gz dotfiles-12b08e19cbd65988c51de40ffd06ce01418c2bb6.tar.bz2 dotfiles-12b08e19cbd65988c51de40ffd06ce01418c2bb6.zip | |
feat(desktop): xdg-desktop-portal pinning, wob OSD, mako DND toggle
- xdg-desktop-portal: pin wlr for ScreenCast/Screenshot, gtk for the
rest, so flatpak browsers (Meet, Slack, Discord) get a working
screen-share path instead of whatever the portal frontend happens to
pick first.
- wob: small wayland overlay bar fed via a fifo. New vol-osd.sh /
brightness-osd.sh wrappers replace the bare pactl/brightnessctl
invocations in keybinds so adjusting volume or backlight flashes a
bar at the bottom of the screen. wob.service owns the fifo lifecycle
(mkfifo before, rm after).
- mako: add a [mode=do-not-disturb] section that hides notifications
while the mode is active, plus a Super+x n submode binding to toggle
it. Notifications still accumulate in history; just no popups.
Diffstat (limited to 'dot_config/sway/config')
| -rw-r--r-- | dot_config/sway/config | 21 |
1 files changed, 11 insertions, 10 deletions
diff --git a/dot_config/sway/config b/dot_config/sway/config index 6f8dbfc..1e2cc5f 100644 --- a/dot_config/sway/config +++ b/dot_config/sway/config @@ -132,12 +132,12 @@ bindsym $mod+Tab workspace next_on_output bindsym $mod+Shift+Tab workspace prev_on_output # Volume -bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% -bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% -bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle -bindsym $mod+Ctrl+k exec pactl set-sink-volume @DEFAULT_SINK@ +5% -bindsym $mod+Ctrl+j exec pactl set-sink-volume @DEFAULT_SINK@ -5% -bindsym $mod+Shift+m exec pactl set-sink-mute @DEFAULT_SINK@ toggle +bindsym XF86AudioRaiseVolume exec ~/.config/sway/vol-osd.sh up +bindsym XF86AudioLowerVolume exec ~/.config/sway/vol-osd.sh down +bindsym XF86AudioMute exec ~/.config/sway/vol-osd.sh mute +bindsym $mod+Ctrl+k exec ~/.config/sway/vol-osd.sh up +bindsym $mod+Ctrl+j exec ~/.config/sway/vol-osd.sh down +bindsym $mod+Shift+m exec ~/.config/sway/vol-osd.sh mute bindsym $mod+m exec pactl set-source-mute @DEFAULT_SOURCE@ toggle # Media @@ -149,10 +149,10 @@ bindsym $mod+Ctrl+l exec playerctl next bindsym $mod+Ctrl+h exec playerctl previous # Brightness -bindsym XF86MonBrightnessUp exec brightnessctl set +5% -bindsym XF86MonBrightnessDown exec brightnessctl set 5%- -bindsym $mod+Ctrl+bracketright exec brightnessctl set +5% -bindsym $mod+Ctrl+bracketleft exec brightnessctl set 5%- +bindsym XF86MonBrightnessUp exec ~/.config/sway/brightness-osd.sh up +bindsym XF86MonBrightnessDown exec ~/.config/sway/brightness-osd.sh down +bindsym $mod+Ctrl+bracketright exec ~/.config/sway/brightness-osd.sh up +bindsym $mod+Ctrl+bracketleft exec ~/.config/sway/brightness-osd.sh down # ThinkPad multimedia keys bindsym XF86AudioMicMute exec pactl set-source-mute @DEFAULT_SOURCE@ toggle @@ -221,6 +221,7 @@ mode "system" { bindsym v exec $term --class=floating -e pulsemixer, mode "default" bindsym k exec $term --class=floating -e glow -p ~/dotfiles/KEYBINDS.md, mode "default" bindsym m exec ~/.config/waybar/mako-history.py, mode "default" + bindsym n exec makoctl mode -t do-not-disturb, mode "default" bindsym Escape mode "default" bindsym Return mode "default" } |
