Add network and bluetooth back to waybar, disable associated applets

Split current clock waybar widget into date only and time only,
use more rainbow colours across the system modules
This commit is contained in:
Evie Litherland-Smith 2024-02-13 08:20:02 +00:00
parent f362a15211
commit 1600288da0
3 changed files with 38 additions and 9 deletions

View file

@ -38,8 +38,6 @@
services = { services = {
gpg-agent.pinentryFlavor = "gnome3"; gpg-agent.pinentryFlavor = "gnome3";
avizo.enable = true; avizo.enable = true;
blueman-applet.enable = true;
network-manager-applet.enable = true;
syncthing.enable = true; syncthing.enable = true;
udiskie = { udiskie = {
enable = true; enable = true;

View file

@ -59,6 +59,8 @@ tooltip {
#window, #window,
#mpris, #mpris,
#pulseaudio, #pulseaudio,
#network,
#bluetooth,
#backlight, #backlight,
#battery, #battery,
#clock, #clock,
@ -72,7 +74,8 @@ tooltip {
#window, #window,
#mpris, #mpris,
#tray, #tray,
#custom-separator { #backlight,
#battery {
color: @base05; color: @base05;
} }
@ -96,12 +99,20 @@ tooltip {
color: @base08; color: @base08;
} }
#pulseaudio { #pulseaudio {
color: @base09;
}
#network {
color: @base0A;
}
#bluetooth {
color: @base0B; color: @base0B;
} }
#clock.calendar {
color: @base0C;
}
#clock { #clock {
color: @base0D; color: @base0D;
} }
#backlight, #custom-separator {
#battery { color: @base0E;
color: @base05;
} }

View file

@ -26,6 +26,9 @@
"modules-right" = [ "modules-right" = [
"custom/notification" "custom/notification"
"pulseaudio" "pulseaudio"
"network"
"bluetooth"
"clock#calendar"
"clock" "clock"
"custom/separator" "custom/separator"
"backlight" "backlight"
@ -122,9 +125,25 @@
format = "{icon} {temperatureC}°C"; format = "{icon} {temperatureC}°C";
format-icons = ["󱃃" "󰔏" "󱃂"]; format-icons = ["󱃃" "󰔏" "󱃂"];
}; };
clock = { network = {
format = "{:󰃭 %Y-%m-%d 󰥔 %R}"; format-icons = ["󰤟 " "󰤢 " "󰤥 " "󰤨 "];
format-alt = "{:󰥔 %R}"; format-wifi = "{icon}";
format-ethernet = "󰈁 ";
tooltip-format = "{essid} ({signalStrength}%)";
format-linked = "󰈂 ";
format-disconnected = "󰈂 ";
};
bluetooth = {
format = "󰂯 ";
format-disabled = "󰂲 ";
format-off = "󰂲 ";
format-on = "󰂯 ";
format-connected = "󰂱 ";
tooltip-format = "{status} | {device_alias}";
on-click = "${pkgs.blueman}/bin/blueman-manager";
};
"clock#calendar" = {
format = "{:󰃭 %Y-%m-%d}";
tooltip-format = "<tt><small>{calendar}</small></tt>"; tooltip-format = "<tt><small>{calendar}</small></tt>";
calendar = { calendar = {
mode = "month"; mode = "month";
@ -146,6 +165,7 @@
on-scroll-down = "shift_down"; on-scroll-down = "shift_down";
}; };
}; };
clock = {format = "{:󰥔 %R}";};
backlight = { backlight = {
format = "{icon} "; format = "{icon} ";
tooltip-format = "{percent}%"; tooltip-format = "{percent}%";