pluto-flake/home/wms/sway

159 lines
5.6 KiB
Text

font pango:monospace 8.000000
floating_modifier $mod
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.urgent #2f343a #900000 #ffffff #900000 #900000
client.placeholder #000000 #0c0c0c #ffffff #000000 #0c0c0c
client.background #ffffff
bindsym $mod+1 workspace number 1
bindsym $mod+2 workspace number 2
bindsym $mod+3 workspace number 3
bindsym $mod+4 workspace number 4
bindsym $mod+5 workspace number 5
bindsym $mod+6 workspace number 6
bindsym $mod+7 workspace number 7
bindsym $mod+8 workspace number 8
bindsym $mod+9 workspace number 9
bindsym $mod+0 workspace number 10
bindsym $mod+Control+h workspace prev_on_output
bindsym $mod+Control+l workspace next_on_output
bindsym $mod+Down focus down
bindsym $mod+Left focus left
bindsym $mod+Return exec foot
bindsym $mod+Right focus right
bindsym $mod+Shift+1 move container to workspace number 1
bindsym $mod+Shift+2 move container to workspace number 2
bindsym $mod+Shift+3 move container to workspace number 3
bindsym $mod+Shift+4 move container to workspace number 4
bindsym $mod+Shift+5 move container to workspace number 5
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
bindsym $mod+Shift+9 move container to workspace number 9
bindsym $mod+Shift+0 move container to workspace number 10
bindsym $mod+Shift+Down move down
bindsym $mod+Shift+Left move left
bindsym $mod+Shift+Right move right
bindsym $mod+Shift+Up move up
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+Shift+h move left
bindsym $mod+Shift+j move down
bindsym $mod+Shift+k move up
bindsym $mod+Shift+l move right
bindsym $mod+Shift+minus move scratchpad
bindsym $mod+Shift+q kill
bindsym $mod+Shift+s move scratchpad
bindsym $mod+Shift+space floating toggle
bindsym $mod+Up focus up
bindsym $mod+a focus parent
bindsym $mod+b splith
bindsym $mod+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 $mod+e layout toggle split
bindsym $mod+f fullscreen toggle
bindsym $mod+h focus left
bindsym $mod+j focus down
bindsym $mod+k focus up
bindsym $mod+l focus right
bindsym $mod+minus scratchpad show
bindsym $mod+r mode resize
bindsym $mod+s scratchpad show
bindsym $mod+space focus mode_toggle
bindsym $mod+t exec foot --title music --app-id mpd-control-foot ncmpcpp
bindsym $mod+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
}
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 swww-daemon
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 00ffff 000000 00ffff
for_window [title="Picture-in-Picture"] dim_inactive 0.0
for_window [title="Picture-in-Picture"] sticky enable
client.focused_inactive 000000 009294 000000 009294
client.unfocused 000000 009294 000000 009294
# for_window [app_id="foot"] opacity 0.8