Re-theme waybar for rearrange, make more compact

This commit is contained in:
Evie Litherland-Smith 2024-01-22 07:56:40 +00:00
parent e658930530
commit 18c9259311
2 changed files with 12 additions and 24 deletions

View file

@ -17,20 +17,21 @@
"modules-left" = [ "hyprland/window" "mpris" ]; "modules-left" = [ "hyprland/window" "mpris" ];
"modules-center" = [ "hyprland/workspaces" ]; "modules-center" = [ "hyprland/workspaces" ];
"modules-right" = [ "modules-right" = [
"battery"
"pulseaudio" "pulseaudio"
"clock" "clock"
"custom/notification" "custom/notification"
"custom/separator" "custom/separator"
"battery"
"tray" "tray"
]; ];
# Module config # Module config
"custom/separator" = { format = "|"; }; "custom/separator" = { format = "|"; };
"hyprland/window" = { "hyprland/window" = {
"format" = "> {title}"; "format" = "{title}";
# TODO workspace rewrites # TODO workspace rewrites
"rewrite" = { "rewrite" = {
"(.*) - GNU Emacs at (.*)" = " $1 [$2]"; "(.*) - GNU Emacs at (.*)" = " $1 [$2]";
"foot" = " ";
"(.*) Mozilla Firefox" = "󰈹 $1"; "(.*) Mozilla Firefox" = "󰈹 $1";
"(.*) - Thunar" = "󰝰 $1"; "(.*) - Thunar" = "󰝰 $1";
}; };
@ -47,7 +48,7 @@
sort-by = "id"; sort-by = "id";
}; };
mpris = { mpris = {
"format" = "󰝚 : {player_icon} {player}"; "format" = "> {player_icon} {player}";
"tooltip-format" = "{player_icon} ({player}) {dynamic}"; "tooltip-format" = "{player_icon} ({player}) {dynamic}";
"interval" = 1; "interval" = 1;
"dynamic-order" = [ "album" "artist" "title" "position" "length" ]; "dynamic-order" = [ "album" "artist" "title" "position" "length" ];
@ -68,7 +69,7 @@
scroll-step = 5; scroll-step = 5;
format = "{format_source} {icon} {volume}%"; format = "{format_source} {icon} {volume}%";
format-muted = "{format_source} 󰝟 "; format-muted = "{format_source} 󰝟 ";
format-source = "󰍬 {volume}%"; format-source = "󰍬";
format-source-muted = "󰍭"; format-source-muted = "󰍭";
format-icons = { format-icons = {
car = "󰄍"; car = "󰄍";
@ -100,8 +101,8 @@
format-icons = [ "󱃃" "󰔏" "󱃂" ]; format-icons = [ "󱃃" "󰔏" "󱃂" ];
}; };
clock = { clock = {
format = "{:󰃭 %Y-%m-%d 󰥔 %R}"; format = "{:󰥔 %R}";
format-alt = "{:󰥔 %R}"; format-alt = "{:󰃭 %Y-%m-%d 󰥔 %R}";
tooltip-format = "<tt><small>{calendar}</small></tt>"; tooltip-format = "<tt><small>{calendar}</small></tt>";
calendar = { calendar = {
mode = "month"; mode = "month";

View file

@ -74,10 +74,6 @@ tooltip {
#mpris, #mpris,
#pulseaudio, #pulseaudio,
#battery, #battery,
#disk,
#cpu,
#memory,
#temperature,
#clock, #clock,
#custom-notification, #custom-notification,
#tray { #tray {
@ -109,24 +105,15 @@ tooltip {
color: @red; color: @red;
} }
#battery { #pulseaudio {
color: @red; color: @red;
} }
#pulseaudio { #clock {
color: @peach;
}
#disk {
color: @yellow;
}
#cpu {
color: @green; color: @green;
} }
#memory {
color: @sapphire;
}
#clock {
color: @mauve;
}
#custom-notification { #custom-notification {
color: @blue;
}
#battery {
color: @lavender; color: @lavender;
} }