From 7d91d0d4bfb72ff1d05408e0e9fc2ec4f8d4583f Mon Sep 17 00:00:00 2001 From: Marc Vertes Date: Sat, 25 Jan 2025 14:21:35 +0100 Subject: fixup --- .config/sway/config | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to '.config/sway') diff --git a/.config/sway/config b/.config/sway/config index 3419359..6e94434 100644 --- a/.config/sway/config +++ b/.config/sway/config @@ -1,5 +1,9 @@ # xwayland disable +# Setup sound +exec /usr/libexec/pipewire-launcher +exec dbus-update-activation-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP=sway + input * { xkb_layout "fr" } @@ -19,10 +23,12 @@ input "1739:52544:SYNA7DAB:00_06CB:CD40_Touchpad" { natural_scroll enabled } -font Monospace 9 +# font Monospace 9 +font pango:MiscFixedSC613 9 set $mod Mod4 +bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' bindsym $mod+q kill bindsym $mod+Return exec --no-startup-id foot #bindsym $mod+Return exec --no-startup-id xt @@ -32,6 +38,11 @@ bindsym $mod+Return exec --no-startup-id foot #bindsym $mod+d exec --no-startup-id wemenu-run bindsym $mod+d exec --no-startup-id fuzzel -T foot +# Use pactl to ajust volume in PulseAudio/PipeWire +bindsym XF86AudioRaiseVolume exec pactl set-sink-volume @DEFAULT_SINK@ +5% && pkill -USR1 i3status +bindsym XF86AudioLowerVolume exec pactl set-sink-volume @DEFAULT_SINK@ -5% && pkill -USR1 i3status +bindsym XF86AudioMute exec pactl set-sink-mute @DEFAULT_SINK@ toggle && pkill -USR1 i3status + for_window [app_id="google-chrome"] floating enable for_window [class="firefox"] floating enable for_window [class="thunderbird"] floating enable -- cgit v1.2.3