sway: mass update

This commit is contained in:
Jeremy Baxter 2025-04-30 09:57:54 +12:00
parent bf64e645fc
commit 07d4cd07f4

View file

@ -1,10 +1,12 @@
include /etc/sway/config.d/*
### Autostart ### Autostart
exec emacs --daemon exec emacs --daemon
exec gpg-agent
exec kwalletd6 exec kwalletd6
exec mako exec mako
exec pipewire exec pipewire
exec wireplumber exec wireplumber
exec gpg-agent
### Variables ### Variables
@ -54,7 +56,7 @@ gaps inner $gappx
gaps outer $gappx gaps outer $gappx
### Output configuration ### Output configuration
output * bg /home/jeremy/pix/openbsd/green_sea_turtle.JPG fill output * bg /home/jeremy/jeremy/home/jeremy/pix/camera/Whakatane-2023/IMG_0208.JPG fill
### Key bindings ### Key bindings
@ -72,24 +74,33 @@ bindsym $mod+r exec $menu
# Take a screenshot # Take a screenshot
bindsym $mod+p exec $shot copy area bindsym $mod+p exec $shot copy area
bindsym $mod+Shift+p exec $shot save area bindsym $mod+Mod1+p exec $shot save area
# Change sound volume # Change sound volume
set $volume wpctl set-volume -l 1.2 @DEFAULT_AUDIO_SINK@ set $volume wpctl set-volume -l 1.2 @DEFAULT_AUDIO_SINK@
bindsym $mod+f1 exec $volume 0% set $showvolume notify-send -t 200 $(wpctl get-volume @DEFAULT_AUDIO_SINK@ | awk '{print $2}')
bindsym $mod+f2 exec $volume 10%- bindsym XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindsym $mod+f3 exec $volume 10%+ bindsym XF86AudioLowerVolume exec $volume 5%- && $showvolume
bindsym XF86AudioRaiseVolume exec $volume 5%+ && $showvolume
# Pause/play cmus # Pause/play music
bindsym $mod+Shift+z exec cmus-remote -C player-pause bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPrev exec playerctl previous
# Change screen brightness # Change screen brightness
bindsym $mod+f4 exec brightnessctl set 5%- bindsym XF86MonBrightnessDown exec brightnessctl set 10%-
bindsym $mod+f5 exec brightnessctl set 5%+ bindsym XF86MonBrightnessUp exec brightnessctl set 10%+
# Lock # Lock
bindsym $mod+Mod1+l exec swaylock bindsym $mod+Mod1+l exec swaylock
# Dismiss notifications
bindsym $mod+Shift+a exec makoctl dismiss -a
# Date
bindsym $mod+u exec date "+%A %m/%d|%T" | xargs -d'|' notify-send -t 5000
# Drag floating windows by holding down $mod and left mouse button. # Drag floating windows by holding down $mod and left mouse button.
# Resize them with right mouse button + $mod. # Resize them with right mouse button + $mod.
# Despite the name, also works for non-floating windows. # Despite the name, also works for non-floating windows.
@ -157,10 +168,10 @@ bindsym $mod+a focus parent
### Colors ### Colors
# target title bg text indicator border # target title bg text indicator border
client.focused $lavender $base $text $rosewater $yellow client.focused $lavender $base $text $rosewater #1e66f5
client.focused_inactive $overlay0 $base $text $rosewater $base client.focused_inactive $overlay0 $base $text $rosewater #eff1f5
client.unfocused $overlay0 $base $text $rosewater $mantle client.unfocused $overlay0 $base $text $rosewater #eff1f5
client.urgent $peach $base $peach $overlay0 $peach client.urgent $peach $base $peach $overlay0 $text
client.placeholder $overlay0 $base $text $overlay0 $overlay0 client.placeholder $overlay0 $base $text $overlay0 $overlay0
client.background $base client.background $base