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/
|
.vscode/
|
||||||
|
|
||||||
# Added by cargo
|
# Added by cargo
|
||||||
|
|
|
@ -6,3 +6,4 @@ edition = "2021"
|
||||||
[dependencies]
|
[dependencies]
|
||||||
serde = "1.0.199"
|
serde = "1.0.199"
|
||||||
serde_json = "1.0.116"
|
serde_json = "1.0.116"
|
||||||
|
hyprland = "0.3.13"
|
|
@ -1,25 +1,25 @@
|
||||||
(deflisten brightnessValue
|
(deflisten brightnessValue
|
||||||
:initial "0"
|
:initial "0"
|
||||||
`../scripts/brightness.sh`)
|
`../ewwScripts/brightness.sh`)
|
||||||
|
|
||||||
(deflisten network
|
(deflisten network
|
||||||
:initial '{"name":"No Connection","image":"n.A."}'
|
:initial '{"name":"No Connection","image":"n.A."}'
|
||||||
`../scripts/network.sh`)
|
`../ewwScripts/network.sh`)
|
||||||
|
|
||||||
(deflisten workspaces
|
(deflisten workspaces
|
||||||
:initial ''
|
:initial ''
|
||||||
`../scripts/client`)
|
`../ewwScripts/client`)
|
||||||
|
|
||||||
(defpoll bluetooth
|
(defpoll bluetooth
|
||||||
:initial '{"name":"","battery":"0"}'
|
:initial '{"name":"","battery":"0"}'
|
||||||
:interval "2s"
|
:interval "2s"
|
||||||
`../scripts/bluetooth.sh`)
|
`../ewwScripts/bluetooth.sh`)
|
||||||
|
|
||||||
(deflisten volume
|
(deflisten volume
|
||||||
:initial '{"volume":"0","muted":"0"}'
|
:initial '{"volume":"0","muted":"0"}'
|
||||||
`../scripts/volume.sh`)
|
`../ewwScripts/volume.sh`)
|
||||||
|
|
||||||
(defpoll media
|
(defpoll media
|
||||||
:initial '{"status":"","name":""}'
|
:initial '{"status":"","name":""}'
|
||||||
:interval "2s"
|
: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
|
//TODO unjank
|
||||||
|
|
||||||
std::string cmd ="cd /home/willifan/.config/eww/scripts/ && ./test.sh ";
|
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);
|
iconMap[client["address"]] = command(test);
|
||||||
|
|
|
@ -20,9 +20,7 @@ while read -r k n h v s t; do
|
||||||
((i=i+1))
|
((i=i+1))
|
||||||
done < <(hyprctl monitors -j | jq -r '.[]|"\(.id) \(.name) \(.width) \(.height) \(.scale) \(.transform)"')
|
done < <(hyprctl monitors -j | jq -r '.[]|"\(.id) \(.name) \(.width) \(.height) \(.scale) \(.transform)"')
|
||||||
|
|
||||||
echo -n "" > "$XDG_CONFIG_HOME"/eww/bar.yuck
|
eww close-all --config ../eww
|
||||||
|
|
||||||
eww close-all
|
|
||||||
|
|
||||||
sleep 2
|
sleep 2
|
||||||
|
|
||||||
|
|
BIN
scripts/client
BIN
scripts/client
Binary file not shown.
Loading…
Add table
Add a link
Reference in a new issue