Compare commits

..

1 Commits

Author SHA1 Message Date
Quentin Duchemin 84d003bb7a
Added new Obsidian vault 2023-02-22 12:38:41 +01:00
2 changed files with 3 additions and 3 deletions

View File

@ -229,7 +229,7 @@ bindsym $mod+Shift+s [class="Signal"] scratchpad show, move position center
bindsym $mod+Shift+t [class="Telegram"] 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)notes.*obsidian"] scratchpad show, move container to workspace 4, workspace 4, floating disable
bindsym Mod4+eacute [title="(?i)scenari.*obsidian"] scratchpad show, move container to workspace 4, workspace 4, floating disable
# automatic workspace
assign [class="(?i)Obsidian"] → number 4

View File

@ -126,7 +126,7 @@ You can now reboot.
### Install Git Hook
You want to add files named `post-merge` **and** `post-commit` in `~/.cfg/hooks` with contains :
You want to add files named `post-merge` **and** `pre-push` in `~/.cfg/hooks` with contains :
```sh
#!/bin/sh
@ -134,7 +134,7 @@ You want to add files named `post-merge` **and** `post-commit` in `~/.cfg/hooks`
exec env WM_RESTART=1 ~/.init_config.sh <env>
```
And then `chmod +x ~/.cfg/hooks/{post-merge,post-commit}`.
And then `chmod +x ~/.cfg/hooks/{post-merge,pre-push}`.
`WM_RESTART` controls whether `i3`, `polybar` and `picom` are restarted.
That way, each time you commit or pull, changes are applied automagically, including configuration deletion detection.