Update sway configs.

This commit is contained in:
Anna Rose Wiggins 2025-12-04 12:11:27 -05:00
parent a8f8018b27
commit 15195fa50b
5 changed files with 20 additions and 38 deletions

View file

@ -1,6 +1,9 @@
focus_follows_mouse no
focus_on_window_activation none
input type:keyboard {
xkb_options compose:menu
}
input type:pointer {
pointer_accel -0.5
@ -13,6 +16,8 @@ input type:pointer {
# Start a terminal
bindsym $mod+Return exec $term
bindsym $mod+m exec $fm
# Kill focused window
bindsym $mod+q kill
@ -59,7 +64,7 @@ input type:pointer {
bindsym $mod+2 workspace number $ws2
bindsym $mod+3 workspace number $ws3
bindsym $mod+4 workspace number $ws4
bindsym $mod+5 workspace number 5
bindsym $mod+5 workspace number $ws5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
@ -70,7 +75,7 @@ input type:pointer {
bindsym $mod+Shift+2 move container to workspace number $ws2
bindsym $mod+Shift+3 move container to workspace number $ws3
bindsym $mod+Shift+4 move container to workspace number $ws4
bindsym $mod+Shift+5 move container to workspace number 5
bindsym $mod+Shift+5 move container to workspace number $ws5
bindsym $mod+Shift+6 move container to workspace number 6
bindsym $mod+Shift+7 move container to workspace number 7
bindsym $mod+Shift+8 move container to workspace number 8
@ -133,16 +138,17 @@ mode "resize" {
bindsym Escape mode "default"
}
bindsym $mod+r mode "resize"
#
# Utilities:
#
# Special keys to adjust volume via PulseAudio
bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle# && echo 0 >> /tmp/wob-pipe
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%# && echo 0 >> /tmp/wob-pipe
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%# && echo 0 >> /tmp/wob-pipe
bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
# Special keys to adjust volume via PipeWire
bindsym --locked XF86AudioMute exec wpctl set-mute \@DEFAULT_AUDIO_SINK@ toggle
bindsym --locked XF86AudioLowerVolume exec wpctl set-volume \@DEFAULT_AUDIO_SINK@ 0.05-
bindsym --locked XF86AudioRaiseVolume exec wpctl set-volume \@DEFAULT_AUDIO_SINK@ 0.05+
# Special keys to adjust brightness via brightnessctl
bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
# bindsym --locked XF86MonBrightnessDown exec brightnessctl set 5%-
# bindsym --locked XF86MonBrightnessUp exec brightnessctl set 5%+
# Special key to take a screenshot with grim
bindsym Print exec grim