X-Git-Url: https://gitweb.ps.run/flake_thinkpad/blobdiff_plain/7d4be89983f22a94e36bf18bb21453b36aeee3ae..ac72bd3ed5bd39a5c77b43469a5274dad9a7ef95:/home.nix diff --git a/home.nix b/home.nix index e3394c6..3f34dd3 100644 --- a/home.nix +++ b/home.nix @@ -219,22 +219,24 @@ 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="Desktop — Plasma"] kill, floating enable, border none + for_window [title="Arbeitsfläche — Plasma"] kill, floating enable, border none # class border backgr. text indicator child_border client.focused #000000bf #000000bf #e6ebef #000000bf #000000bf @@ -400,11 +402,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`\""