Fixed waybar
This commit is contained in:
@@ -3,19 +3,15 @@
|
||||
"hyprland/workspaces" = {
|
||||
format = "{icon}";
|
||||
format-icons = {
|
||||
default = "";
|
||||
active = "";
|
||||
default = " ";
|
||||
active = " ";
|
||||
};
|
||||
};
|
||||
"custom/mako" = {
|
||||
tooltip = false;
|
||||
format = "{icon}";
|
||||
format-icons = {
|
||||
enabled = " ";
|
||||
disabled = " ";
|
||||
};
|
||||
format = "{}";
|
||||
return-type = "json";
|
||||
exec = "makoctl mode | grep -q do-not-disturb && echo '{\"text\":\"\",\"class\":\"disabled\"}' || echo '{\"text\":\"\",\"class\":\"enabled\"}'";
|
||||
exec = "sh ~/.config/waybar/mako.sh";
|
||||
on-click = "makoctl mode -t do-not-disturb";
|
||||
interval = 1;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user