Fix some longstanding sway annoyances
j3s j3s@c3f.net
Wed, 11 Nov 2020 11:05:07 -0600
2 files changed,
13 insertions(+),
5 deletions(-)
M
.config/sway/config
→
.config/sway/config
@@ -65,20 +65,27 @@ xkb_layout us
xkb_options ctrl:nocaps } + +# client.focused #4c7899 #285577 #ffffff #2e9ef4 #285577 + ### Key bindings # # Basics: # + for_window [title="^weallfloatdownhere$"] floating enable, border pixel + # Start a terminal bindsym $mod+Return exec $term + # floating terms + bindsym $mod+Shift+Return exec $term --title 'weallfloatdownhere' + # Kill focused window bindsym $mod+Shift+q kill # Start your launcher # bindsym $mod+d exec $menu - bindsym $mod+d exec alacritty --dimensions 64 16 --title 'launcher' -e sh -c \'$launcher\' - for_window [title="^launcher$"] floating enable, border pixel + bindsym $mod+d exec $term --dimensions 64 16 --title 'weallfloatdownhere' -e sh -c \'$launcher\' # Drag floating windows by holding down $mod and left mouse button. # Resize them with right mouse button + $mod.@@ -230,8 +237,9 @@ # The default just shows the current date and time.
status_command statusbar colors { - statusline #ffffff - background #323232 + statusline #ff6ec7 + focused_workspace #000000 #ff6ec7 #000000 + background #000000 inactive_workspace #32323200 #32323200 #5c5c5c } }
M
.vimrc
→
.vimrc
@@ -271,7 +271,7 @@ """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
" => Editing mappings """"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" " Remap VIM 0 to first non-blank character -map 0 ^ +" map 0 ^ " Move a line of text using ALT+[jk] or Command+[jk] on mac nmap <M-j> mz:m+<cr>`z