chore(waybar): update config

This commit is contained in:
Andrea 2025-03-01 15:30:11 +01:00
parent 009a152e8c
commit c629cf5a2a
Signed by: nullndr
GPG Key ID: 8DA8996EF89F33BB
2 changed files with 15 additions and 12 deletions

View File

@ -20,7 +20,7 @@
], ],
"sway/workspaces": { "sway/workspaces": {
"format": "{name} {icon}", "format": "{name} {icon}",
"disable-scroll": true, "disable-scroll": true,
"format-icons": { "format-icons": {
"urgent": "", "urgent": "",
@ -78,7 +78,7 @@
"custom/recorder": { "custom/recorder": {
"tooltip": true, "tooltip": true,
"format": "Recording screen", "format": "Rec 󱣴",
"return-type": "json", "return-type": "json",
"interval": 1, "interval": 1,
"exec": "echo '{\"class\": \"recording\"}'", "exec": "echo '{\"class\": \"recording\"}'",

View File

@ -6,7 +6,7 @@
} }
#waybar { #waybar {
background: transparent; background-color: transparent;
} }
#waybar.hidden { #waybar.hidden {
@ -14,7 +14,7 @@
} }
tooltip { tooltip {
background: #383c4a; background-color: #383c4a;
border-radius: 10px; border-radius: 10px;
} }
@ -38,7 +38,7 @@ tooltip label {
#backlight { #backlight {
transition: none; transition: none;
border-radius: 10px; border-radius: 10px;
background: #383c4a; background-color: #383c4a;
color: #ffffff; color: #ffffff;
padding-top: 4px; padding-top: 4px;
padding-bottom: 4px; padding-bottom: 4px;
@ -50,7 +50,7 @@ tooltip label {
#workspaces { #workspaces {
transition: none; transition: none;
border-radius: 10px; border-radius: 10px;
background: #383c4a; background-color: #383c4a;
margin: 4px; margin: 4px;
color: #7c818c; color: #7c818c;
} }
@ -62,7 +62,7 @@ tooltip label {
#workspaces button:hover { #workspaces button:hover {
border-radius: inherit; border-radius: inherit;
color: white; color: white;
background: #666768; background-color: #666768;
} }
#workspaces button.focused { #workspaces button.focused {
@ -100,9 +100,9 @@ tooltip label {
} }
#battery.critical:not(.charging) { #battery.critical:not(.charging) {
background-color: #f53c3c; background-color: #383c4a;
color: #ffffff; color: #ffffff;
animation-name: blink; animation-name: redblink;
animation-duration: 0.5s; animation-duration: 0.5s;
animation-timing-function: linear; animation-timing-function: linear;
animation-iteration-count: infinite; animation-iteration-count: infinite;
@ -119,9 +119,12 @@ tooltip label {
background-color: #f53c3c; background-color: #f53c3c;
} }
@keyframes blink { @keyframes redblink {
to { to {
background-color: #ffffff; background-color: #f53c3c;
color: #000000;
} }
} }
#custom-recorder {
background-color: #26a65b;
}