diff options
Diffstat (limited to 'sway/.config')
-rw-r--r-- | sway/.config/sway/config | 55 |
1 files changed, 37 insertions, 18 deletions
diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 95770e3..1f69de8 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -33,10 +33,10 @@ client.urgent $base08 $base08 $base00 $base08 $base08 client.placeholder $base00 $base00 $base05 $base00 $base00 client.background $base07 -font pango:sans-serif 15 +font pango:sans-serif 12 focus_on_window_activation focus default_border pixel -hide_edge_borders smart +hide_edge_borders --i3 smart output * bg ~/.local/share/gruvbox/sway.png fill @@ -49,6 +49,7 @@ for_window [app_id="firefox" title="Firefox — Sharing Indicator"] kill for_window [app_id="" title="^Streamlink Twitch GUI$"] floating enable for_window [app_id="deno" title="^Peek preview$"] resize set width 980px for_window [class="^steam$" title="^Sign in to Steam$"] move to scratchpad +for_window [class="^discord$" title="^Discord$"] move to scratchpad assign [app_id="mpv"] s assign [class="^discord$" instance="^discord$"] d @@ -73,19 +74,25 @@ floating_modifier $mod bindsym $mod+q kill bindsym $mod+Shift+c reload bindsym $mod+Shift+Escape exec swaynag -t warning -m 'Exit sway?' -B 'Yes' 'swaymsg exit' -bindsym $mod+ctrl+q exec loginctl lock-session -bindsym Pause exec swaymsg "output * power toggle" +bindsym $mod+Delete exec loginctl lock-session bindsym $mod+Escape exec powermenu | $menu -l 6 | powermenu +bindsym Pause exec swaymsg "output * power toggle" + bindsym $mod+return exec $TERMINAL bindsym $mod+w exec $BROWSER + bindsym Print exec slurp | grim -g - - | wl-copy --type image/png bindsym $mod+Print exec /usr/share/sway/scripts/grimshot --notify save area + bindsym $mod+space exec j4-dmenu-desktop --dmenu="$menu" --term=$TERMINAL bindsym $mod+shift+space exec wmenu_path | $menu | xargs swaymsg exec -- + bindsym $mod+v exec cliphist list | $menu -l 10 | cliphist decode | wl-copy bindsym $mod+Shift+v exec cliphist list | $menu -l 10 | cliphist delete + bindsym $mod+p exec $passmenu -c bindsym $mod+Shift+p exec $passmenu | wtype - + bindsym $mod+y exec yubikey-oath-dmenu --notify --clipboard --menu-cmd "$menu -l 10" bindsym $mod+Shift+y exec yubikey-oath-dmenu --notify --type --menu-cmd "$menu -l 10" @@ -109,6 +116,9 @@ bindsym $mod+Down focus down bindsym $mod+Up focus up bindsym $mod+Right focus right +bindsym Mod1+Tab exec sway-overfocus group-rw group-dw +bindsym Mod1+Shift+Tab exec sway-overfocus group-lw group-uw + bindsym $mod+Shift+$left move left bindsym $mod+Shift+$down move down bindsym $mod+Shift+$up move up @@ -129,6 +139,9 @@ bindsym $mod+Ctrl+Down move workspace to output down bindsym $mod+Ctrl+Up move workspace to output up bindsym $mod+Ctrl+Right move workspace to output right +bindsym $mod+Ctrl+6 workspace back_and_forth +bindsym $mod+Tab workspace back_and_forth + bindsym $mod+1 workspace number 1 bindsym $mod+2 workspace number 2 bindsym $mod+3 workspace number 3 @@ -139,18 +152,17 @@ 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+Ctrl+6 workspace back_and_forth -bindsym $mod+Shift+1 move container to workspace number 1; workspace number 1 -bindsym $mod+Shift+2 move container to workspace number 2; workspace number 2 -bindsym $mod+Shift+3 move container to workspace number 3; workspace number 3 -bindsym $mod+Shift+4 move container to workspace number 4; workspace number 4 -bindsym $mod+Shift+5 move container to workspace number 5; workspace number 5 -bindsym $mod+Shift+6 move container to workspace number 6; workspace number 6 -bindsym $mod+Shift+7 move container to workspace number 7; workspace number 7 -bindsym $mod+Shift+8 move container to workspace number 8; workspace number 8 -bindsym $mod+Shift+9 move container to workspace number 9; workspace number 9 -bindsym $mod+Shift+0 move container to workspace number 10; workspace number 10 +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+d move container to workspace d bindsym $mod+Shift+s move container to workspace s @@ -158,12 +170,14 @@ bindsym $mod+Shift+s move container to workspace s bindsym $mod+d workspace d bindsym $mod+s workspace s +bindsym $mod+minus move scratchpad +bindsym $mod+plus scratchpad show + bindsym $mod+f fullscreen bindsym $mod+Shift+f floating toggle -bindsym $mod+Shift+backslash split toggle -bindsym $mod+minus splith + bindsym $mod+backslash splitv -bindsym $mod+r mode 'resize' +bindsym $mod+e layout toggle split tabbed mode 'resize' { bindsym $left resize shrink width 10px @@ -171,6 +185,11 @@ mode 'resize' { bindsym $up resize shrink height 10px bindsym $right resize grow width 10px + bindsym Left resize shrink width 10px + bindsym Down resize grow height 10px + bindsym Up resize shrink height 10px + bindsym Right resize grow width 10px + bindsym Escape mode 'default' } |