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-center = ["custom/clock"];
|
||||||
modules-right = ["custom/caway"];
|
modules-right = ["custom/caway"];
|
||||||
"custom/clock" = {
|
"custom/clock" = {
|
||||||
format = "{}";
|
format = " {} ";
|
||||||
exec = "bash /home/deadvey/Code/git/time-to-metrictime-converter/time.sh --hex";
|
exec = "bash /home/deadvey/Code/git/time-to-metrictime-converter/time.sh --hex";
|
||||||
interval = 1;
|
interval = 1;
|
||||||
};
|
};
|
||||||
@ -265,6 +265,15 @@ in
|
|||||||
format = "{}";
|
format = "{}";
|
||||||
exec = "ssh max@debian bash /home/max/caway.sh";
|
exec = "ssh max@debian bash /home/max/caway.sh";
|
||||||
};
|
};
|
||||||
|
"cpu" = {
|
||||||
|
format = "{} ";
|
||||||
|
};
|
||||||
|
"memory" = {
|
||||||
|
format = "{} ";
|
||||||
|
};
|
||||||
|
"disk" = {
|
||||||
|
format = "{} /";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
right = {
|
right = {
|
||||||
@ -281,15 +290,15 @@ in
|
|||||||
position = "left";
|
position = "left";
|
||||||
modules-center = [ "custom/browser" "custom/terminal" "custom/website" ];
|
modules-center = [ "custom/browser" "custom/terminal" "custom/website" ];
|
||||||
"custom/browser" = {
|
"custom/browser" = {
|
||||||
format = "Br";
|
format = " ";
|
||||||
on-click = "${BROWSER}";
|
on-click = "${BROWSER}";
|
||||||
};
|
};
|
||||||
"custom/terminal" = {
|
"custom/terminal" = {
|
||||||
format = "Tr";
|
format = " ";
|
||||||
on-click = "${TERMINAL}";
|
on-click = "${TERMINAL}";
|
||||||
};
|
};
|
||||||
"custom/website" = {
|
"custom/website" = {
|
||||||
format = "We";
|
format = " ";
|
||||||
on-click = "${BROWSER} https://deadvey.com";
|
on-click = "${BROWSER} https://deadvey.com";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
@ -301,14 +310,14 @@ in
|
|||||||
height = 20;
|
height = 20;
|
||||||
width = SCREEN_WIDTH - 10;
|
width = SCREEN_WIDTH - 10;
|
||||||
modules-left = [ "network" ];
|
modules-left = [ "network" ];
|
||||||
modules-right = [ "custom/name" ];
|
modules-right = [ "tray" ];
|
||||||
modules-center = ["custom/weather"];
|
modules-center = ["custom/weather"];
|
||||||
"network" = {
|
"network" = {
|
||||||
interface = "enp42s0";
|
interface = "enp42s0";
|
||||||
interval = 10;
|
interval = 10;
|
||||||
family = "ipv4";
|
family = "ipv4";
|
||||||
format-ethernet = "{ifname}: {ipaddr}";
|
format-ethernet = "{ifname}: {ipaddr} ";
|
||||||
format-disconnected = "No Connection...";
|
format-disconnected = "No Connection... ";
|
||||||
};
|
};
|
||||||
"custom/weather" = {
|
"custom/weather" = {
|
||||||
format = "{}°";
|
format = "{}°";
|
||||||
@ -317,11 +326,6 @@ in
|
|||||||
exec = "wttrbar --ampm --location egbb";
|
exec = "wttrbar --ampm --location egbb";
|
||||||
return-type = "json";
|
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 = ''
|
style = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user