X-Git-Url: https://gitweb.ps.run/flake_thinkpad/blobdiff_plain/7d4be89983f22a94e36bf18bb21453b36aeee3ae..683034ff79565b7ddfa572fcbd04b3c8c2c0fe74:/home.nix diff --git a/home.nix b/home.nix index e3394c6..877a6a9 100644 --- a/home.nix +++ b/home.nix @@ -219,22 +219,23 @@ in "${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 @@ -400,11 +401,16 @@ in noremap "+ noremap "+ + " 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`\""