fix paths
This commit is contained in:
parent
494d70558c
commit
6d2081b0c9
7 changed files with 11 additions and 11 deletions
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,4 +1,4 @@
|
|||
scripts/clients/build/
|
||||
ewwScripts/clients/build/
|
||||
.vscode/
|
||||
|
||||
# Added by cargo
|
||||
|
|
|
@ -6,3 +6,4 @@ edition = "2021"
|
|||
[dependencies]
|
||||
serde = "1.0.199"
|
||||
serde_json = "1.0.116"
|
||||
hyprland = "0.3.13"
|
|
@ -1,25 +1,25 @@
|
|||
(deflisten brightnessValue
|
||||
:initial "0"
|
||||
`../scripts/brightness.sh`)
|
||||
`../ewwScripts/brightness.sh`)
|
||||
|
||||
(deflisten network
|
||||
:initial '{"name":"No Connection","image":"n.A."}'
|
||||
`../scripts/network.sh`)
|
||||
`../ewwScripts/network.sh`)
|
||||
|
||||
(deflisten workspaces
|
||||
:initial ''
|
||||
`../scripts/client`)
|
||||
`../ewwScripts/client`)
|
||||
|
||||
(defpoll bluetooth
|
||||
:initial '{"name":"","battery":"0"}'
|
||||
:interval "2s"
|
||||
`../scripts/bluetooth.sh`)
|
||||
`../ewwScripts/bluetooth.sh`)
|
||||
|
||||
(deflisten volume
|
||||
:initial '{"volume":"0","muted":"0"}'
|
||||
`../scripts/volume.sh`)
|
||||
`../ewwScripts/volume.sh`)
|
||||
|
||||
(defpoll media
|
||||
:initial '{"status":"","name":""}'
|
||||
:interval "2s"
|
||||
`../scripts/media.sh`)
|
||||
`../ewwScripts/media.sh`)
|
||||
|
|
BIN
ewwScripts/client
Executable file
BIN
ewwScripts/client
Executable file
Binary file not shown.
|
@ -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);
|
||||
|
|
|
@ -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
|
||||
|
||||
|
|
BIN
scripts/client
BIN
scripts/client
Binary file not shown.
Loading…
Add table
Reference in a new issue