diff options
author | Guangxiong Lin <[email protected]> | 2021-10-21 23:41:32 +0800 |
---|---|---|
committer | Guangxiong Lin <[email protected]> | 2021-10-21 23:41:32 +0800 |
commit | 046aea1b0293b64c3f4ae4ff55639a51aa73b1d1 (patch) | |
tree | a878e53460ab54b011b9cabed120e69ba402997e | |
parent | 5cfa6cd75121cde38be64868cae5562ea7c75c81 (diff) | |
download | dotfiles-046aea1b0293b64c3f4ae4ff55639a51aa73b1d1.tar.gz dotfiles-046aea1b0293b64c3f4ae4ff55639a51aa73b1d1.tar.bz2 dotfiles-046aea1b0293b64c3f4ae4ff55639a51aa73b1d1.zip |
Launch picom and fcitx5 in dwm
-rwxr-xr-x | bin/startdwm | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/bin/startdwm b/bin/startdwm index bafb57e..5f5007b 100755 --- a/bin/startdwm +++ b/bin/startdwm @@ -3,12 +3,15 @@ while true; do sleep 1m done & +picom -b +fcitx5 -d + csum="" new_csum=$(sha1sum $(which dwm)) while true; do if [ "$csum" != "$new_csum" ]; then csum=$new_csum - dwm 2> ~/.dwm.log + dwm else exit 0 fi |