mirror of
https://github.com/ellmau/nixos.git
synced 2025-12-19 09:29:36 +01:00
first changes for polybar rework
Signed-off-by: Stefan Ellmauthaler <stefan.ellmauthaler@tu-dresden.de>
This commit is contained in:
parent
ff742ecfe5
commit
d49a73e470
@ -5,12 +5,32 @@
|
|||||||
package = pkgs.polybarFull;
|
package = pkgs.polybarFull;
|
||||||
settings =
|
settings =
|
||||||
let
|
let
|
||||||
background_col = "#120030";
|
# solarized theme colours ~ https://en.wikipedia.org/wiki/Solarized
|
||||||
foreground_col = "#9e66ff";
|
|
||||||
|
#content tones
|
||||||
|
Base01 = "#586e75";
|
||||||
|
Base00 = "#657b83";
|
||||||
|
Base0 = "#839496";
|
||||||
|
Base1 = "#93a1a1";
|
||||||
|
Base2 = "#eee8d5";
|
||||||
|
# accent tones
|
||||||
|
Base3 = "#fdf6e3";
|
||||||
|
Yellow = "#b58900";
|
||||||
|
Orange = "#cb4b16";
|
||||||
|
Red = "#dc322f";
|
||||||
|
Magenta = "#d33682";
|
||||||
|
Violet = "#6c71c4";
|
||||||
|
Blue = "#268bd2";
|
||||||
|
Cyan = "#2aa198";
|
||||||
|
Green = "#859900";
|
||||||
|
|
||||||
|
# old bg/fg stuff
|
||||||
|
foreground_col = "#eee8d5";
|
||||||
|
background_col = "#6c71c4";
|
||||||
foreground_altcol = "#66deff";
|
foreground_altcol = "#66deff";
|
||||||
primary_col = "#ffb52a";
|
primary_col = "#ffb52a";
|
||||||
secondary_col = "#e60053";
|
secondary_col = "#e60053";
|
||||||
alert_col = "#bd2c40";
|
alert_col = "#dc322f";
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
"bar/main" = {
|
"bar/main" = {
|
||||||
@ -37,7 +57,10 @@
|
|||||||
''${env:MONITOR:}
|
''${env:MONITOR:}
|
||||||
'';
|
'';
|
||||||
width = "100%";
|
width = "100%";
|
||||||
|
padding = 1;
|
||||||
|
radius = 14;
|
||||||
module-margin = 1;
|
module-margin = 1;
|
||||||
|
line-size = 2;
|
||||||
tray = {
|
tray = {
|
||||||
position = "right";
|
position = "right";
|
||||||
padding = 2;
|
padding = 2;
|
||||||
@ -97,13 +120,14 @@
|
|||||||
#;label-focused-background = ${colors.background-alt}
|
#;label-focused-background = ${colors.background-alt}
|
||||||
#;label-focused-background = #9f78e1
|
#;label-focused-background = #9f78e1
|
||||||
label-focused-background = foreground_col;
|
label-focused-background = foreground_col;
|
||||||
label-focused-underline= primary_col;
|
label-focused-underline= foreground_col;
|
||||||
label-focused-foreground = "#cccccc";
|
label-focused-foreground = background_col;
|
||||||
label-focused-padding = "2";
|
label-focused-padding = "2";
|
||||||
|
|
||||||
#; unfocused = Inactive workspace on any monitor
|
#; unfocused = Inactive workspace on any monitor
|
||||||
label-unfocused = "%name%";
|
label-unfocused = "%name%";
|
||||||
label-unfocused-padding = "2";
|
label-unfocused-padding = "2";
|
||||||
|
label-unfocused-underline = foreground_col;
|
||||||
|
|
||||||
#; visible = Active workspace on unfocused monitor
|
#; visible = Active workspace on unfocused monitor
|
||||||
label-visible = "%index%";
|
label-visible = "%index%";
|
||||||
@ -114,6 +138,7 @@
|
|||||||
#; urgent = Workspace with urgency hint set
|
#; urgent = Workspace with urgency hint set
|
||||||
label-urgent = "%name%";
|
label-urgent = "%name%";
|
||||||
label-urgent-background = alert_col;
|
label-urgent-background = alert_col;
|
||||||
|
label-urgent-foreground = primary_col;
|
||||||
label-urgent-padding = "2";
|
label-urgent-padding = "2";
|
||||||
|
|
||||||
#; Separator in between workspaces
|
#; Separator in between workspaces
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user