More pleasant Obsidian workflow [WIP]

master
Quentin Duchemin 2022-03-16 11:20:35 +01:00
parent d383d924d2
commit 44b90be7bd
Signed by: Chosto
GPG Key ID: 0547178FEEDE7D6B
2 changed files with 8 additions and 6 deletions

View File

@ -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

2
.zshrc
View File

@ -132,3 +132,5 @@ export FZF_COMPLETION_OPTS='-m'
eval $(thefuck --alias)
alias cb="xclip -selection clipboard"
[[ $commands[kubectl] ]] && source <(kubectl completion zsh)