organize hyprland configs
This commit is contained in:
parent
f558e4ff10
commit
42240dd6f6
13 changed files with 79 additions and 257 deletions
8
hypr/hyprland/scripts/run-ags.sh
Normal file
8
hypr/hyprland/scripts/run-ags.sh
Normal file
|
|
@ -0,0 +1,8 @@
|
|||
#!/bin/sh
|
||||
CONFIG_FILES="$HOME/dotfiles/ags"
|
||||
while true; do
|
||||
sleep 1.6
|
||||
ags run --gtk4 -d "$CONFIG_FILES" &
|
||||
inotifywait -e create,modify -r "$CONFIG_FILES"
|
||||
killall gjs
|
||||
done
|
||||
11
hypr/hyprland/scripts/start-swaync.sh
Normal file
11
hypr/hyprland/scripts/start-swaync.sh
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
#!/bin/bash
|
||||
|
||||
CONFIG_FILES="$HOME/.config/swaync/ $HOME/.cache/wal/"
|
||||
|
||||
trap "killall swaync" EXIT
|
||||
swaync &
|
||||
|
||||
while true; do
|
||||
inotifywait -e create,modify -r $CONFIG_FILES
|
||||
swaync-client -R & swaync-client -rs
|
||||
done
|
||||
Loading…
Add table
Add a link
Reference in a new issue