🚀 add theming with base16
This commit is contained in:
parent
34e2ad58ce
commit
f6976cd478
9 changed files with 416 additions and 153 deletions
|
|
@ -34,7 +34,7 @@ in {
|
|||
"feh" = { state = "floating"; };
|
||||
"Vampire_Survivors" = { state = "fullscreen"; };
|
||||
};
|
||||
settings = {
|
||||
settings = with config.scheme.withHashtag; {
|
||||
border_width = 2;
|
||||
window_gap = 5;
|
||||
borderless_monocle = true;
|
||||
|
|
@ -42,9 +42,9 @@ in {
|
|||
focus_follows_pointer = true;
|
||||
|
||||
# Dracula theme #
|
||||
focused_border_color = "#bd93f9";
|
||||
normal_border_color = "#44475a";
|
||||
active_border_color = "#6272a4";
|
||||
focused_border_color = base0D;
|
||||
normal_border_color = base03;
|
||||
active_border_color = base03;
|
||||
};
|
||||
startupPrograms = [
|
||||
"${pkgs.systemd}/bin/systemctl --user start polybar.service"
|
||||
|
|
|
|||
|
|
@ -12,22 +12,7 @@ in {
|
|||
MONITOR=$m polybar --reload bottom &
|
||||
done
|
||||
'';
|
||||
config = let
|
||||
colors = {
|
||||
background = "#282a36";
|
||||
current-line = "#44475a";
|
||||
foreground = "#f8f8f2";
|
||||
comment = "#6272a4";
|
||||
|
||||
cyan = "#8be9fd";
|
||||
green = "#50fa7b";
|
||||
orange = "#ffb86c";
|
||||
pink = "#ff79c6";
|
||||
purple = "#bd93f9";
|
||||
red = "#ff5555";
|
||||
yellow = "#f1fa8c";
|
||||
};
|
||||
in {
|
||||
config = with config.scheme.withHashtag; {
|
||||
"global/wm" = { margin-top = 5; };
|
||||
"bar/bottom" = {
|
||||
# position
|
||||
|
|
@ -35,18 +20,18 @@ in {
|
|||
bottom = true;
|
||||
width = "100%:-20";
|
||||
heigth = 25;
|
||||
background = colors.background;
|
||||
foreground = colors.foreground;
|
||||
background = base00;
|
||||
foreground = base05;
|
||||
radius = 10;
|
||||
offset-x = 10;
|
||||
offset-y = 5;
|
||||
padding = 1;
|
||||
|
||||
line-size = 3;
|
||||
line-color = colors.pink;
|
||||
line-color = base06;
|
||||
|
||||
module-margin = 1;
|
||||
separator = "%{F${colors.comment}}◆%{F-}";
|
||||
separator = "%{F${base03}}◆%{F-}";
|
||||
|
||||
font-0 = "FiraCode Nerd Font:size=10;0";
|
||||
|
||||
|
|
@ -69,10 +54,10 @@ in {
|
|||
time-format = "%H:%M";
|
||||
|
||||
format-charging =
|
||||
"%{F${colors.green}}<animation-charging>%{F-} <label-charging>";
|
||||
"%{F${base0B}}<animation-charging>%{F-} <label-charging>";
|
||||
format-discharging =
|
||||
"%{F${colors.red}}<animation-discharging>%{F-} <label-discharging>";
|
||||
format-full = "%{F${colors.green}} %{F-} <label-full>";
|
||||
"%{F${base08}}<animation-discharging>%{F-} <label-discharging>";
|
||||
format-full = "%{F${base08}} %{F-} <label-full>";
|
||||
|
||||
label-charging = "%percentage%% %time% remaining";
|
||||
label-discharging = "%percentage%% %time% remaining";
|
||||
|
|
@ -96,23 +81,23 @@ in {
|
|||
type = "internal/bspwm";
|
||||
|
||||
label-focused = "";
|
||||
label-focused-foreground = colors.purple;
|
||||
label-focused-foreground = base0E;
|
||||
label-focused-padding = 1;
|
||||
|
||||
label-occupied = "";
|
||||
label-occupied-foreground = colors.comment;
|
||||
label-occupied-foreground = base03;
|
||||
label-occupied-padding = 1;
|
||||
|
||||
label-urgent = "";
|
||||
label-urgent-foreground = colors.red;
|
||||
label-urgent-foreground = base08;
|
||||
label-urgent-padding = 1;
|
||||
|
||||
label-empty = "";
|
||||
label-empty-foreground = colors.comment;
|
||||
label-empty-foreground = base03;
|
||||
label-empty-padding = 1;
|
||||
|
||||
label-separator = " ";
|
||||
label-separator-foreground = colors.cyan;
|
||||
label-separator-foreground = base0C;
|
||||
label-separator-padding = 1;
|
||||
|
||||
pin-workspaces = true;
|
||||
|
|
@ -123,11 +108,11 @@ in {
|
|||
format = "<ramp-load><label>";
|
||||
|
||||
ramp-load-0 = " ";
|
||||
ramp-load-0-foreground = colors.green;
|
||||
ramp-load-0-foreground = base0B;
|
||||
ramp-load-1 = " ";
|
||||
ramp-load-1-foreground = colors.orange;
|
||||
ramp-load-1-foreground = base0A;
|
||||
ramp-load-2 = " ";
|
||||
ramp-load-2-foreground = colors.red;
|
||||
ramp-load-2-foreground = base08;
|
||||
|
||||
label = "%percentage:2%%";
|
||||
};
|
||||
|
|
@ -140,7 +125,7 @@ in {
|
|||
|
||||
label = "%time%";
|
||||
format-prefix = " ";
|
||||
format-prefix-foreground = colors.cyan;
|
||||
format-prefix-foreground = base0C;
|
||||
};
|
||||
"module/date" = {
|
||||
type = "internal/date";
|
||||
|
|
@ -151,7 +136,7 @@ in {
|
|||
|
||||
label = "%date%";
|
||||
format-prefix = " ";
|
||||
format-prefix-foreground = colors.orange;
|
||||
format-prefix-foreground = base0A;
|
||||
|
||||
};
|
||||
"module/memory" = {
|
||||
|
|
@ -160,11 +145,11 @@ in {
|
|||
format = "<ramp-used><label>";
|
||||
|
||||
ramp-used-0 = " ";
|
||||
ramp-used-0-foreground = colors.green;
|
||||
ramp-used-0-foreground = base0B;
|
||||
ramp-used-1 = " ";
|
||||
ramp-used-1-foreground = colors.orange;
|
||||
ramp-used-1-foreground = base0A;
|
||||
ramp-used-2 = " ";
|
||||
ramp-used-2-foreground = colors.red;
|
||||
ramp-used-2-foreground = base08;
|
||||
ramp-used-3 = " ";
|
||||
|
||||
label = "%gb_used%";
|
||||
|
|
@ -173,20 +158,20 @@ in {
|
|||
type = "internal/pulseaudio";
|
||||
|
||||
format-volume = "<ramp-volume> <label-volume>";
|
||||
format-underline = colors.orange;
|
||||
format-underline = base0A;
|
||||
label-volume = "%percentage%%";
|
||||
|
||||
label-muted = "%{F${colors.red}}婢 %{F-}muted";
|
||||
label-muted = "%{F${base08}}婢 %{F-}muted";
|
||||
ramp-volume-0 = "奄";
|
||||
ramp-volume-0-foreground = colors.green;
|
||||
ramp-volume-0-foreground = base0B;
|
||||
ramp-volume-1 = "奄";
|
||||
ramp-volume-1-foreground = colors.green;
|
||||
ramp-volume-1-foreground = base0B;
|
||||
ramp-volume-2 = "奔";
|
||||
ramp-volume-2-foreground = colors.green;
|
||||
ramp-volume-2-foreground = base0B;
|
||||
ramp-volume-3 = "墳";
|
||||
ramp-volume-3-foreground = colors.orange;
|
||||
ramp-volume-3-foreground = base0A;
|
||||
ramp-volume-4 = "墳";
|
||||
ramp-volume-4-foreground = colors.red;
|
||||
ramp-volume-4-foreground = base08;
|
||||
|
||||
click-middle = "${pkgs.pavucontrol}/bin/pavucontrol";
|
||||
};
|
||||
|
|
@ -197,7 +182,7 @@ in {
|
|||
interval = 3;
|
||||
format-connected = "<label-connected>";
|
||||
label-connected =
|
||||
"%{F${colors.purple}}祝%{F-} %upspeed% %{F${colors.pink}}%{F-} %downspeed%";
|
||||
"%{F${base0E}}祝%{F-} %upspeed% %{F${base06}}%{F-} %downspeed%";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue