2024-12-08 13:45 : id 267
This commit is contained in:
parent
a38b4effc0
commit
a1a718ed22
@ -257,7 +257,7 @@ in
|
||||
modules-center = ["custom/clock"];
|
||||
modules-right = ["custom/caway"];
|
||||
"custom/clock" = {
|
||||
format = "{}";
|
||||
format = " {} ";
|
||||
exec = "bash /home/deadvey/Code/git/time-to-metrictime-converter/time.sh --hex";
|
||||
interval = 1;
|
||||
};
|
||||
@ -265,6 +265,15 @@ in
|
||||
format = "{}";
|
||||
exec = "ssh max@debian bash /home/max/caway.sh";
|
||||
};
|
||||
"cpu" = {
|
||||
format = "{} ";
|
||||
};
|
||||
"memory" = {
|
||||
format = "{} ";
|
||||
};
|
||||
"disk" = {
|
||||
format = "{} /";
|
||||
};
|
||||
};
|
||||
|
||||
right = {
|
||||
@ -281,15 +290,15 @@ in
|
||||
position = "left";
|
||||
modules-center = [ "custom/browser" "custom/terminal" "custom/website" ];
|
||||
"custom/browser" = {
|
||||
format = "Br";
|
||||
format = " ";
|
||||
on-click = "${BROWSER}";
|
||||
};
|
||||
"custom/terminal" = {
|
||||
format = "Tr";
|
||||
format = " ";
|
||||
on-click = "${TERMINAL}";
|
||||
};
|
||||
"custom/website" = {
|
||||
format = "We";
|
||||
format = " ";
|
||||
on-click = "${BROWSER} https://deadvey.com";
|
||||
};
|
||||
};
|
||||
@ -301,14 +310,14 @@ in
|
||||
height = 20;
|
||||
width = SCREEN_WIDTH - 10;
|
||||
modules-left = [ "network" ];
|
||||
modules-right = [ "custom/name" ];
|
||||
modules-right = [ "tray" ];
|
||||
modules-center = ["custom/weather"];
|
||||
"network" = {
|
||||
interface = "enp42s0";
|
||||
interval = 10;
|
||||
family = "ipv4";
|
||||
format-ethernet = "{ifname}: {ipaddr}";
|
||||
format-disconnected = "No Connection...";
|
||||
format-ethernet = "{ifname}: {ipaddr} ";
|
||||
format-disconnected = "No Connection... ";
|
||||
};
|
||||
"custom/weather" = {
|
||||
format = "{}°";
|
||||
@ -317,11 +326,6 @@ in
|
||||
exec = "wttrbar --ampm --location egbb";
|
||||
return-type = "json";
|
||||
};
|
||||
"custom/name" = {
|
||||
exec = "ssh max@debian cat /var/www/html/music/data.js | sed -n 's/.*name = \"\([^\"]*\)\".*/\1/p'";
|
||||
format = "Listening to: {}";
|
||||
interval = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
style = ''
|
||||
|
Loading…
x
Reference in New Issue
Block a user