Update
This commit is contained in:
@@ -34,12 +34,13 @@
|
||||
modules-center = [ "hyprland/workspaces" ];
|
||||
modules-right = [
|
||||
"tray"
|
||||
"backlight"
|
||||
"pulseaudio"
|
||||
# "backlight"
|
||||
# "pulseaudio"
|
||||
"custom/caffeine"
|
||||
"custom/night-shift"
|
||||
"battery"
|
||||
"clock"
|
||||
"custom/notification"
|
||||
"custom/power"
|
||||
];
|
||||
|
||||
@@ -117,6 +118,27 @@
|
||||
on-click = "menu";
|
||||
};
|
||||
|
||||
"custom/notification" = {
|
||||
tooltip = false;
|
||||
format = "{} {icon}";
|
||||
"format-icons" = {
|
||||
notification = "";
|
||||
none = "";
|
||||
"dnd-notification" = " ";
|
||||
"dnd-none" = "";
|
||||
"inhibited-notification" = " ";
|
||||
"inhibited-none" = "";
|
||||
"dnd-inhibited-notification" = " ";
|
||||
"dnd-inhibited-none" = " ";
|
||||
};
|
||||
"return-type" = "json";
|
||||
"exec-if" = "which swaync-client";
|
||||
exec = "swaync-client -swb";
|
||||
"on-click" = "sleep 0.1 && swaync-client -t -sw";
|
||||
"on-click-right" = "sleep 0.1 && swaync-client -d -sw";
|
||||
escape = true;
|
||||
};
|
||||
|
||||
battery = {
|
||||
format = "{capacity}% {icon}";
|
||||
"format-icons" = {
|
||||
@@ -239,6 +261,7 @@
|
||||
|
||||
#memory,
|
||||
#custom-power,
|
||||
#custom-notification,
|
||||
#custom-caffeine,
|
||||
#custom-night-shift,
|
||||
#battery,
|
||||
|
||||
Reference in New Issue
Block a user