2024-12-08 13:21 : id 263
This commit is contained in:
parent
62828feaf0
commit
2c27bde91a
@ -301,8 +301,8 @@ in
|
|||||||
height = 20;
|
height = 20;
|
||||||
width = SCREEN_WIDTH - 10;
|
width = SCREEN_WIDTH - 10;
|
||||||
modules-left = [ "network" ];
|
modules-left = [ "network" ];
|
||||||
modules-right = [ "custom/weather" ];
|
modules-right = [ "custom/name" ];
|
||||||
modules-center = [];
|
modules-center = ["custom/weather"];
|
||||||
"network" = {
|
"network" = {
|
||||||
interface = "enp42s0";
|
interface = "enp42s0";
|
||||||
interval = 10;
|
interval = 10;
|
||||||
@ -317,6 +317,10 @@ in
|
|||||||
exec = "wttrbar --ampm";
|
exec = "wttrbar --ampm";
|
||||||
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: {}";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
style = ''
|
style = ''
|
||||||
@ -368,7 +372,10 @@ in
|
|||||||
#custom-weather,
|
#custom-weather,
|
||||||
#custom-browser,
|
#custom-browser,
|
||||||
#custom-terminal,
|
#custom-terminal,
|
||||||
#disk {
|
#disk,
|
||||||
|
#memory,
|
||||||
|
#cpu,
|
||||||
|
#custom-website {
|
||||||
color: #${FG};
|
color: #${FG};
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: ${BORDER_WIDTH}px solid #${ACCENT};
|
border: ${BORDER_WIDTH}px solid #${ACCENT};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user