Compare commits

..

1 Commits

Author SHA1 Message Date
Quentin Duchemin 5221c65449
Added new Obsidian vault 2023-02-22 12:44:42 +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 $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+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+eacute [title="(?i)tech.*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 bindsym Mod4+quotedbl [title="(?i)notes.*obsidian"] scratchpad show, move container to workspace 4, workspace 4, floating disable
# automatic workspace # automatic workspace
assign [class="(?i)Obsidian"] → number 4 assign [class="(?i)Obsidian"] → number 4

View File

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