styled waybar somewhat, added 🔔 as notifications icon
This commit is contained in:
parent
75a45c1398
commit
b33b517c48
1 changed files with 12 additions and 12 deletions
|
@ -13,9 +13,9 @@
|
|||
"DP-2"
|
||||
"DP-3"
|
||||
];
|
||||
modules-left = [ "wlr/workspaces" "wlr/mode" "wlr/taskbar" ];
|
||||
modules-left = [ "wlr/taskbar" ];
|
||||
modules-center = [ "clock" "custom/swaync" ];
|
||||
modules-right = [ "idle_inhibitor" "pulseaudio" "backlight" "battery" "tray" ];
|
||||
modules-right = [ "pulseaudio" "backlight" "battery" "tray" ];
|
||||
"clock" = {
|
||||
"format" = "{:%A %d %b %T}";
|
||||
# "tooltip" = true;
|
||||
|
@ -26,14 +26,14 @@
|
|||
"tooltip" = false;
|
||||
"format"= "{icon} {}";
|
||||
"format-icons" = {
|
||||
"notification" = "a<span foreground='red'><sup>a</sup></span>";
|
||||
"none" = "a";
|
||||
"dnd-notification" = "a<span foreground='red'><sup>a</sup></span>";
|
||||
"dnd-none" = "a";
|
||||
"inhibited-notification" = "a<span foreground='red'><sup>a</sup></span>";
|
||||
"inhibited-none" = "a";
|
||||
"dnd-inhibited-notification" = "a<span foreground='red'><sup>a</sup></span>";
|
||||
"dnd-inhibited-none" = "a";
|
||||
"notification" = "🔔<span foreground='red'><sup>🔔</sup></span>";
|
||||
"none" = "🔔";
|
||||
"dnd-notification" = "🔔<span foreground='red'><sup>🔔</sup></span>";
|
||||
"dnd-none" = "🔔";
|
||||
"inhibited-notification" = "🔔<span foreground='red'><sup>🔔</sup></span>";
|
||||
"inhibited-none" = "🔔";
|
||||
"dnd-inhibited-notification" = "🔔<span foreground='red'><sup>🔔</sup></span>";
|
||||
"dnd-inhibited-none" = "🔔";
|
||||
};
|
||||
"return-type" = "json";
|
||||
"exec-if" = "which swaync-client";
|
||||
|
@ -45,8 +45,8 @@
|
|||
};
|
||||
};
|
||||
style = ''
|
||||
#custom-swaync {
|
||||
padding: 5px;
|
||||
.module {
|
||||
margin: 0px 10px 0px 10px;
|
||||
}
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue