Compare commits
1 Commits
5221c65449
...
84d003bb7a
Author | SHA1 | Date |
---|---|---|
Quentin Duchemin | 84d003bb7a |
|
@ -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
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue