feat: waybar crypto module
This commit is contained in:
parent
35c9f739cb
commit
c27d5519f9
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"modules-left": ["sway/workspaces"],
|
"modules-left": ["sway/workspaces"],
|
||||||
"modules-center": ["sway/window"],
|
"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": {
|
"backlight": {
|
||||||
"format": "{percent}% {icon}",
|
"format": "{percent}% {icon}",
|
||||||
"format-icons": ["", ""],
|
"format-icons": ["", ""],
|
||||||
@ -71,6 +71,10 @@
|
|||||||
"disable-scroll": true,
|
"disable-scroll": true,
|
||||||
"format": "{name}",
|
"format": "{name}",
|
||||||
},
|
},
|
||||||
|
"custom/crypto": {
|
||||||
|
"exec": "crypto.sh",
|
||||||
|
"interval": 600,
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// vim: ft=css
|
// vim: ft=css
|
||||||
|
@ -78,6 +78,7 @@ window#waybar.chromium {
|
|||||||
#tray,
|
#tray,
|
||||||
#mode,
|
#mode,
|
||||||
#idle_inhibitor,
|
#idle_inhibitor,
|
||||||
|
#custom-crypto
|
||||||
#mpd {
|
#mpd {
|
||||||
padding: 0 10px;
|
padding: 0 10px;
|
||||||
margin: 0 4px;
|
margin: 0 4px;
|
||||||
@ -253,3 +254,8 @@ label:focus {
|
|||||||
#keyboard-state > label.locked {
|
#keyboard-state > label.locked {
|
||||||
background: rgba(0, 0, 0, 0.2);
|
background: rgba(0, 0, 0, 0.2);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#custom-crypto {
|
||||||
|
background-color: #f1c40f;
|
||||||
|
color: #000000;
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user