"${mod}+y" = "exec --no-startup-id mirror-phone";
"${mod}+n" = "exec ${pkgs.kitty}/bin/kitty -d ~/sync/txt $EDITOR .";
"${mod}+m" = "exec --no-startup-id i3-msg $(${i3-max})";
+ "${mod}+b" = "split toggle; layout tabbed";
"${mod}+Shift+m" = "exec --no-startup-id i3-msg $(${i3-move-max})";
"${mod}+Shift+p" = "exec --no-startup-id ${pkgs.autorandr}/bin/autorandr --match-edid -c -f";
};
};
extraConfig = ''
- exec ${pkgs.xfce.xfce4-panel}/bin/xfce4-panel
+ # exec ${pkgs.xfce.xfce4-panel}/bin/xfce4-panel
for_window [window_role="pop-up"] floating enable
for_window [window_role="task_dialog"] floating enable
# for_window [workspace="0"] floating enable
for_window [class="kitty-popup"] floating enable
for_window [class="Xfce4-appfinder"] floating enable
- for_window [class=".blueman-manager-wrapped"] floating enable
for_window [class="yakuake"] floating enable
for_window [class="systemsettings"] floating enable
for_window [title="win7"] floating enable; border none
+ for_window [title="Arbeitsfläche.*"] kill, floating enable, border none
# class border backgr. text indicator child_border
client.focused #000000bf #000000bf #e6ebef #000000bf #000000bf
noremap <leader><S-y> "+<S-y><CR>
noremap <leader><S-p> "+<S-p><CR>
+ " Format on save
" augroup FormatAutogroup
" autocmd!
" autocmd BufWritePost * FormatWrite
" augroup END
+ " enter insert mode when opening terminal
+ autocmd TermOpen * startinsert
+
+ "
autocmd BufReadPost *
\ if line("'\"") > 1 && line("'\"") <= line("$") && &ft !~# 'commit'
\ | exe "normal! g`\""