fix paths

This commit is contained in:
willifan 2024-06-03 12:33:33 +02:00
parent 494d70558c
commit 6d2081b0c9
7 changed files with 11 additions and 11 deletions

BIN
ewwScripts/client Executable file

Binary file not shown.

View file

@ -99,7 +99,8 @@ void generateIconMap()
//TODO unjank
std::string cmd ="cd /home/willifan/.config/eww/scripts/ && ./test.sh ";
std::string test = std::string("cd /home/willifan/.config/eww/scripts/ && ./test.sh ") + initClass + " " + pid;
std::string test = std::string("cd /home/willifan/.config/desktop-utils/ewwScripts && ./test.sh ") + initClass + " " + pid;
std::cout << test << std::endl;
iconMap[client["address"]] = command(test);

View file

@ -20,9 +20,7 @@ while read -r k n h v s t; do
((i=i+1))
done < <(hyprctl monitors -j | jq -r '.[]|"\(.id) \(.name) \(.width) \(.height) \(.scale) \(.transform)"')
echo -n "" > "$XDG_CONFIG_HOME"/eww/bar.yuck
eww close-all
eww close-all --config ../eww
sleep 2