feat: waybar crypto module

This commit is contained in:
AngeD 2022-12-31 22:45:55 +01:00
parent 35c9f739cb
commit c27d5519f9
2 changed files with 11 additions and 1 deletions

View File

@ -1,7 +1,7 @@
{
"modules-left": ["sway/workspaces"],
"modules-center": ["sway/window"],
"modules-right": ["pulseaudio", "cpu", "memory", "temperature", "backlight", "battery", "tray", "clock"],
"modules-right": ["custom/crypto", "pulseaudio", "cpu", "memory", "temperature", "backlight", "battery", "tray", "clock"],
"backlight": {
"format": "{percent}% {icon}",
"format-icons": ["", ""],
@ -71,6 +71,10 @@
"disable-scroll": true,
"format": "{name}",
},
"custom/crypto": {
"exec": "crypto.sh",
"interval": 600,
}
}
// vim: ft=css

View File

@ -78,6 +78,7 @@ window#waybar.chromium {
#tray,
#mode,
#idle_inhibitor,
#custom-crypto
#mpd {
padding: 0 10px;
margin: 0 4px;
@ -253,3 +254,8 @@ label:focus {
#keyboard-state > label.locked {
background: rgba(0, 0, 0, 0.2);
}
#custom-crypto {
background-color: #f1c40f;
color: #000000;
}