diff --git a/.config/waybar/config b/.config/waybar/config index af55e0b..9928682 100644 --- a/.config/waybar/config +++ b/.config/waybar/config @@ -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 diff --git a/.config/waybar/style.css b/.config/waybar/style.css index 44367cb..77e8b02 100644 --- a/.config/waybar/style.css +++ b/.config/waybar/style.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; +}