Last bit of waybar re-styling (for now), re-enable stylix chromium target

This commit is contained in:
Evie Litherland-Smith 2023-11-13 11:15:54 +00:00
parent 99aed74787
commit 3036b1b463
3 changed files with 41 additions and 48 deletions

View file

@ -121,13 +121,15 @@
stylix = { stylix = {
autoEnable = false; autoEnable = false;
targets = { targets = {
chromium.enable = true;
console.enable = true; console.enable = true;
lightdm.enable = true; lightdm.enable = true;
}; };
image = ./wallpapers/tokyo-space.png; image = ./wallpapers/tokyo-space.png;
base16Scheme = { base16Scheme = {
slug = "tokyonight"; slug = "tokyonight";
scheme = "My implementation of Enkia's TokyoNight theme"; scheme =
"My implementation of TokyoNight theme for Sublime, by Enkia";
author = "xenia"; author = "xenia";
base00 = "15161e"; base00 = "15161e";
base01 = "f7768e"; base01 = "f7768e";

View file

@ -21,12 +21,13 @@
"modules-right" = [ "modules-right" = [
"mpris" "mpris"
"pulseaudio" "pulseaudio"
"battery"
"disk" "disk"
"cpu" "cpu"
"memory" "memory"
"temperature" "temperature"
"clock" "clock"
"backlight"
"battery"
"tray" "tray"
]; ];
# Module config # Module config
@ -79,7 +80,7 @@
}; };
pulseaudio = { pulseaudio = {
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 = "󰍬"; format-source = "󰍬";
format-source-muted = "󰍭"; format-source-muted = "󰍭";
@ -98,39 +99,22 @@
on-scroll-up = "volumectl -u + 5"; on-scroll-up = "volumectl -u + 5";
on-scroll-down = "volumectl -u - 5"; on-scroll-down = "volumectl -u - 5";
}; };
backlight = {
format = "{icon}";
tooltip-format = "{percent}%";
format-icons = [ "" "" "" "" "" "" "" "" "" ];
};
battery = {
states = {
warning = 30;
critical = 15;
};
format = "{icon}:{capacity}%";
format-charging = "󰂄:{capacity}%";
format-plugged = "󰚥:{capacity}%";
tooltip-format = "{time}";
format-icons = [ "󱃍" "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹" ];
};
disk = { disk = {
format = "󰋊:{percentage_used}%"; format = "󰋊 {percentage_used}%";
path = config.home.homeDirectory; path = config.home.homeDirectory;
}; };
cpu = { cpu = {
format = "󰻠:{usage}%"; format = "󰻠 {usage}%";
tooltip = false; tooltip = false;
}; };
memory = { format = "󰍛:{}%"; }; memory = { format = "󰍛 {}%"; };
temperature = { temperature = {
critical-threshold = 80; critical-threshold = 80;
format = "{icon}:{temperatureC}°C"; format = "{icon} {temperatureC}°C";
format-icons = [ "󱃃" "󰔏" "󱃂" ]; format-icons = [ "󱃃" "󰔏" "󱃂" ];
}; };
clock = { clock = {
format = "{:%R}"; format = "{:󰃭 %Y-%M-%d 󰥔 %R}";
format-alt = "{:%a %d %b %R}";
tooltip-format = "<tt><small>{calendar}</small></tt>"; tooltip-format = "<tt><small>{calendar}</small></tt>";
calendar = { calendar = {
mode = "month"; mode = "month";
@ -152,6 +136,22 @@
on-scroll-down = "shift_down"; on-scroll-down = "shift_down";
}; };
}; };
backlight = {
format = "{icon}";
tooltip-format = "{percent}%";
format-icons = [ "" "" "" "" "" "" "" "" "" ];
};
battery = {
states = {
warning = 30;
critical = 15;
};
format = "{icon}";
format-charging = "󰂄";
format-plugged = "󰚥";
tooltip-format = "{time} {capacity}%";
format-icons = [ "󱃍" "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹" ];
};
tray = { tray = {
icon-size = 16; icon-size = 16;
show-passive-items = true; show-passive-items = true;

View file

@ -27,6 +27,7 @@ tooltip {
} }
#workspaces, #workspaces,
#window,
#mpris, #mpris,
#pulseaudio, #pulseaudio,
#battery, #battery,
@ -41,35 +42,25 @@ tooltip {
} }
#workspaces, #workspaces,
#window,
#mpris, #mpris,
#battery,
#backlight,
#tray { color: #c0caf5; } #tray { color: #c0caf5; }
#workspaces button {
background: transparent;
color: #c0caf5;
margin: 0px;
padding: 0px 5px;
}
#workspaces button.empty { color: #414868; }
#workspaces button.active { color: #bb9af7; }
#workspaces button.urgent { color: #f7768e; }
#pulseaudio { color: #f7768e; } #pulseaudio { color: #f7768e; }
#battery { color: #e0af68; }
#disk { color: #e0af68; } #disk { color: #e0af68; }
#cpu { color: #9ece6a; } #cpu { color: #9ece6a; }
#memory { color: #7dcfff; } #memory { color: #7dcfff; }
#temperature { color: #7aa2f7; } #temperature { color: #7aa2f7; }
#clock { color: #bb9af7; } #clock { color: #bb9af7; }
#workspaces button {
background: transparent;
border: 1px solid transparent;
border-radius: 10px;
color: #c0caf5;
margin: 0px;
padding: 0px 5px;
}
#workspaces button.empty {
color: #414868;
}
#workspaces button.active {
color: #bb9af7;
}
#workspaces button.urgent {
border: 1px solid #f7768e;
color: #f7768e;
}