Waybar: fix notifications
This commit is contained in:
parent
a8b82c256c
commit
85b583bee6
1 changed files with 12 additions and 8 deletions
|
|
@ -41,7 +41,7 @@ in
|
||||||
"keyboard-state"
|
"keyboard-state"
|
||||||
"backlight"
|
"backlight"
|
||||||
"battery"
|
"battery"
|
||||||
"battery#bat2"
|
# "battery#bat2"
|
||||||
"clock"
|
"clock"
|
||||||
"custom/notification"
|
"custom/notification"
|
||||||
"tray"
|
"tray"
|
||||||
|
|
@ -59,8 +59,8 @@ in
|
||||||
return-type = "json";
|
return-type = "json";
|
||||||
# exec-if = "which swaync-client";
|
# exec-if = "which swaync-client";
|
||||||
exec = "${swaync-client} -swb";
|
exec = "${swaync-client} -swb";
|
||||||
on-click = "sleep 0.1 && ${swaync-client} -t -sw";
|
on-click = "${swaync-client} -t -sw";
|
||||||
on-click-right = "sleep 0.1 && ${swaync-client} -d -sw";
|
on-click-right = "${swaync-client} -d -sw";
|
||||||
escape = true;
|
escape = true;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
@ -74,10 +74,14 @@ in
|
||||||
"format" = "{icon}";
|
"format" = "{icon}";
|
||||||
"format-icons" = { "activated" = ""; "deactivated" = ""; };
|
"format-icons" = { "activated" = ""; "deactivated" = ""; };
|
||||||
};
|
};
|
||||||
"tray" = { "spacing" = 10; };
|
tray.spacing = 10;
|
||||||
"clock" = {
|
clock = {
|
||||||
"tooltip-format" = "<big>{=%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
|
on-click = "mode";
|
||||||
"format-alt" = "{=%Y-%m-%d}";
|
tooltip = true;
|
||||||
|
# tooltip-format = "<big>{%Y %B}</big>\n<tt><small>{calendar}</small></tt>";
|
||||||
|
# format = "{:%H:%M}";
|
||||||
|
# format = "{%H:%M}";
|
||||||
|
# format-alt = "{:%Y-%m-%d %H:%M}";
|
||||||
};
|
};
|
||||||
"cpu" = {
|
"cpu" = {
|
||||||
"format" = "{usage}% ";
|
"format" = "{usage}% ";
|
||||||
|
|
@ -112,7 +116,7 @@ in
|
||||||
# "format-full"= "";
|
# "format-full"= "";
|
||||||
"format-icons" = [ "" "" "" "" "" ];
|
"format-icons" = [ "" "" "" "" "" ];
|
||||||
};
|
};
|
||||||
"battery#bat2" = { "bat" = "BAT2"; };
|
# "battery#bat2" = { "bat" = "BAT2"; };
|
||||||
"network" = {
|
"network" = {
|
||||||
# "interface"= "wlp2*"; # (Optional) To force the use of this interface
|
# "interface"= "wlp2*"; # (Optional) To force the use of this interface
|
||||||
"format-wifi" = "{essid} ({signalStrength}%) ";
|
"format-wifi" = "{essid} ({signalStrength}%) ";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue