diff --git a/.config/i3/config_common b/.config/i3/config_common index 471aeaf..15fe843 100644 --- a/.config/i3/config_common +++ b/.config/i3/config_common @@ -237,18 +237,18 @@ for_window [class="Thunderbird"] move position center # scratchpad # Make the currently focused window a scratchpad bindsym $mod+Shift+BackSpace move scratchpad -# Show the first scratchpad window -bindsym $mod+BackSpace scratchpad show for_window [class="Signal"] move scratchpad -for_window [class="obsidian"] move scratchpad for_window [class="Telegram"] move scratchpad # we don't use class="Thunderbird" to not move windows like "MsgCompose" to scratchpad : only the main window will be in scratchpad for_window [instance="Mail"] move scratchpad bindsym $mod+Shift+m [instance="Mail"] scratchpad show, move position center bindsym $mod+Shift+s [class="Signal"] scratchpad show, move position center bindsym $mod+Shift+t [class="Telegram"] scratchpad show, move position center -bindsym $mod+Shift+n [class="obsidian"] scratchpad show, move position center +bindsym Mod4+ampersand [title="(?i)perso.*obsidian"] scratchpad show, move container to workspace 4, workspace 4, floating disable +bindsym Mod4+eacute [title="(?i)tech.*obsidian"] scratchpad show, move container to workspace 4, workspace 4, floating disable +bindsym Mod4+quotedbl [title="(?i)identibat.*obsidian"] scratchpad show, move container to workspace 4, workspace 4, floating disable +bindsym Mod4+apostrophe [title="(?i).*isorédu.*obsidian"] scratchpad show, move container to workspace 4, workspace 4, floating disable # automatic workspace -assign [class="(?i)Standard Notes"] → number 4 +assign [class="(?i)Obsidian"] → number 4 assign [class="(?i)Tor Browser"] → number 5 diff --git a/.zshrc b/.zshrc index 733c46a..45545e9 100644 --- a/.zshrc +++ b/.zshrc @@ -130,5 +130,7 @@ _fzf_compgen_dir() { export FZF_COMPLETION_OPTS='-m' -eval $(thefuck --alias) +eval $(thefuck --alias) alias cb="xclip -selection clipboard" + +[[ $commands[kubectl] ]] && source <(kubectl completion zsh)