feat: waybar crypto module
This commit is contained in:
parent
35c9f739cb
commit
c27d5519f9
@ -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
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user