pluto-flake/home/wms/sway
2026-02-21 01:09:03 +00:00

175 lines
6 KiB
Text

font pango:monospace 8.000000
floating_modifier Mod4
default_border pixel 2
default_floating_border normal 2
hide_edge_borders none
focus_wrapping no
focus_follows_mouse yes
focus_on_window_activation smart
mouse_warping output
workspace_layout default
workspace_auto_back_and_forth no
client.focused #4c7899 #285577 #ffffff #2e9ef4 #285577
client.focused_inactive #333333 #5f676a #ffffff #484e50 #5f676a
client.unfocused #333333 #222222 #888888 #292d2e #222222
client.urgent #2f343a #900000 #ffffff #900000 #900000
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
client.background #ffffff
bindsym Mod4+1 workspace number 1
bindsym Mod4+0 workspace number 10
bindsym Mod4+2 workspace number 2
bindsym Mod4+3 workspace number 3
bindsym Mod4+4 workspace number 4
bindsym Mod4+5 workspace number 5
bindsym Mod4+6 workspace number 6
bindsym Mod4+7 workspace number 7
bindsym Mod4+8 workspace number 8
bindsym Mod4+9 workspace number 9
bindsym Mod4+Control+h workspace prev_on_output
bindsym Mod4+Control+l workspace next_on_output
bindsym Mod4+Down focus down
bindsym Mod4+Left focus left
bindsym Mod4+Return exec foot
bindsym Mod4+Right focus right
bindsym Mod4+Shift+0 move container to workspace number 10
bindsym Mod4+Shift+1 move container to workspace number 1
bindsym Mod4+Shift+2 move container to workspace number 2
bindsym Mod4+Shift+3 move container to workspace number 3
bindsym Mod4+Shift+4 move container to workspace number 4
bindsym Mod4+Shift+5 move container to workspace number 5
bindsym Mod4+Shift+6 move container to workspace number 6
bindsym Mod4+Shift+7 move container to workspace number 7
bindsym Mod4+Shift+8 move container to workspace number 8
bindsym Mod4+Shift+9 move container to workspace number 9
bindsym Mod4+Shift+Down move down
bindsym Mod4+Shift+Left move left
bindsym Mod4+Shift+Right move right
bindsym Mod4+Shift+Up move up
bindsym Mod4+Shift+c reload
bindsym Mod4+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 Mod4+Shift+h move left
bindsym Mod4+Shift+j move down
bindsym Mod4+Shift+k move up
bindsym Mod4+Shift+l move right
bindsym Mod4+Shift+minus move scratchpad
bindsym Mod4+Shift+q kill
bindsym Mod4+Shift+s move scratchpad
bindsym Mod4+Shift+space floating toggle
bindsym Mod4+Up focus up
bindsym Mod4+a focus parent
bindsym Mod4+b splith
bindsym Mod4+d exec foot --title launch --app-id fzf-launcher-foot bash -c 'compgen -c | sort -u | fzf --bind=enter:replace-query+print-query | xargs swaymsg exec --'
bindsym Mod4+e layout toggle split
bindsym Mod4+f fullscreen toggle
bindsym Mod4+h focus left
bindsym Mod4+j focus down
bindsym Mod4+k focus up
bindsym Mod4+l focus right
bindsym Mod4+minus scratchpad show
bindsym Mod4+r mode resize
bindsym Mod4+s scratchpad show
bindsym Mod4+space focus mode_toggle
bindsym Mod4+t exec foot --title music --app-id mpd-control-foot ncmpcpp
bindsym Mod4+v splitv
bindsym Print exec grim -g "$(slurp)" ~/Pictures/screenshots/screenshot-`date +%F-%T`.png
bindsym Shift_L+Control_L+B exec playerctl position 10-
bindsym Shift_L+Control_L+F exec playerctl position 10+
bindsym XF86AudioLowerVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%-
bindsym XF86AudioMedia exec vlc
bindsym XF86AudioMicMute exec wpctl set-mute @DEFAULT_AUDIO_SOURCE@ toggle
bindsym XF86AudioMute exec wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle
bindsym XF86AudioNext exec playerctl next
bindsym XF86AudioPlay exec playerctl play-pause
bindsym XF86AudioPrev exec playerctl previous
bindsym XF86AudioRaiseVolume exec wpctl set-volume @DEFAULT_AUDIO_SINK@ 5%+ -l 1.0
bindsym XF86AudioStop exec playerctl stop
bindsym XF86Launch1 exec nmcli device wifi rescan
bindsym XF86MonBrightnessDown exec brightnessctl s 10%-
bindsym XF86MonBrightnessUp exec brightnessctl s +10%
input "type:keyboard" {
xkb_options caps:backspace
}
input "type:pointer" {
accel_profile flat
}
input "type:touchpad" {
accel_profile flat
dwt disabled
scroll_factor 0.3
}
input "1739:0:Synaptics_TM3075-002" {
click_method clickfinger
natural_scroll enabled
}
input "2:10:TPPS/2_IBM_TrackPoint" {
scroll_factor 0.3
}
input "4152:6202:SteelSeries_SteelSeries_Aerox_3_Wireless" {
pointer_accel 0.1
}
output "Dell Inc. DELL P2411H MGMHG1681VAU" {
pos 0 1050
}
output "LG Display 0x0437 Unknown" {
scale 1.25
}
output "Samsung Electric Company SyncMaster HMDQ202016" {
pos 75 0
}
mode "resize" {
bindsym Down resize grow height 10 px
bindsym Escape mode default
bindsym Left resize shrink width 10 px
bindsym Return mode default
bindsym Right resize grow width 10 px
bindsym Up resize shrink height 10 px
bindsym h resize shrink width 10 px
bindsym j resize grow height 10 px
bindsym k resize shrink height 10 px
bindsym l resize grow width 10 px
}
assign [app_id="vesktop"] 10: Messaging
assign [app_id="thunderbird"] 9: Mail
gaps inner 5
gaps outer 7
for_window [app_id="^fzf-launcher-foot$"] floating enable
for_window [app_id="^mpd-control-foot$"] floating enable
for_window [con_mark="DELTARUNE Chapter 1&2"] floating enable
exec waybar
exec udiskie --appindicator -t
exec kanshi
exec swaync
exec swaybg -m fill -i ~/.config/nixos/assets/twilight.png
exec kde-indicator
exec blueman-applet
exec "/nix/store/pb9dhpk6qxjybb8p7prvs18ls2vxk51a-dbus-1.14.10/bin/dbus-update-activation-environment --systemd DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP XDG_SESSION_TYPE NIXOS_OZONE_WL XCURSOR_THEME XCURSOR_SIZE; systemctl --user reset-failed && systemctl --user start sway-session.target && swaymsg -mt subscribe '[]' || true && systemctl --user stop sway-session.target"
blur enable
corner_radius 10
# shadows enable - not using this because of flicker
default_dim_inactive 0.3
client.focused 000000 cba6f7 000000 cba6f7
for_window [title="Picture-in-Picture"] dim_inactive 0.0
for_window [title="Picture-in-Picture"] sticky enable
client.focused_inactive 000000 440C88 000000 440C88
client.unfocused 000000 440C88 000000 440C88
for_window [app_id="foot"] opacity 0.8