38 lines
1.5 KiB
Plaintext
38 lines
1.5 KiB
Plaintext
for_window [app_id="com.mitchellh.ghostty"] move container to workspace 1
|
|
for_window [app_id="librewolf"] move container to workspace 2
|
|
for_window [class="steam"] move container to workspace 3
|
|
|
|
font pango: Maple Mono SemiBold 10
|
|
default_border pixel 0
|
|
gaps inner 5
|
|
gaps outer 2
|
|
|
|
exec_always gentoo-pipewire-launcher
|
|
exec_always sh -c 'if ! tmux has-session -t main 2>/dev/null; then tmux new-session -d -s main; fi'
|
|
exec_always sh -c 'pkill swaybg && img="$(find /home/andrew/.config/sway/bgs -type f | shuf -n1)" && swaybg -m fill -i "$img" &'
|
|
|
|
output HDMI-A-1 resolution 1920x1080@144Hz position 0,0
|
|
|
|
input * xkb_options ctrl:nocaps
|
|
input "1133:50504:Logitech_USB_Receiver_Mouse" {
|
|
accel_profile "flat"
|
|
pointer_accel -0.1
|
|
}
|
|
|
|
set $mod Mod1
|
|
bindsym $mod+Return exec ghostty -e tmux a
|
|
bindsym $mod+Shift+s exec steam
|
|
bindsym $mod+f exec librewolf
|
|
bindsym $mod+q kill
|
|
bindsym $mod+Shift+c reload
|
|
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+1 workspace number 1
|
|
bindsym $mod+2 workspace number 2
|
|
bindsym $mod+3 workspace number 3
|
|
bindsym --locked XF86AudioMute exec pactl set-sink-mute \@DEFAULT_SINK@ toggle
|
|
bindsym --locked XF86AudioLowerVolume exec pactl set-sink-volume \@DEFAULT_SINK@ -5%
|
|
bindsym --locked XF86AudioRaiseVolume exec pactl set-sink-volume \@DEFAULT_SINK@ +5%
|
|
bindsym --locked XF86AudioMicMute exec pactl set-source-mute \@DEFAULT_SOURCE@ toggle
|
|
include /etc/sway/config.d/*
|
|
|