feat: use different .dtfiles config setup

This commit is contained in:
2023-10-11 15:52:30 +02:00
parent 6b431704de
commit b755d66571
175 changed files with 268 additions and 3596 deletions

View File

@@ -0,0 +1,13 @@
#!/bin/zsh
swaybg --image $(find $HOME/.customization/background/ -type f | shuf -n 1) -m fill&
function handle {
if [[ ${1:0:9} == "workspace" ]]; then
echo $line
swpid=`ps axf | grep swaybg | grep -v grep | awk '{printf $1}'`
swaybg --image $(find $HOME/.customization/background | shuf -n 1) -m fill&
sleep .3
kill $swpid
fi
}
socat - UNIX-CONNECT:/tmp/hypr/_1654794872/.socket2.sock | while read line; do handle $line; done