Lots of changes to polybar

This commit is contained in:
RealStickman 2020-11-23 21:29:52 +01:00
parent c551c714f3
commit 7e74f4acfd
9 changed files with 117 additions and 81 deletions

View File

@ -185,7 +185,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-5.5999999999999996", "gain": "-6.2000000000000002",
"frequency": "235", "frequency": "235",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -195,7 +195,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-4", "gain": "-4.4000000000000004",
"frequency": "360", "frequency": "360",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -205,7 +205,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-2.7000000000000002", "gain": "-3.2000000000000002",
"frequency": "500", "frequency": "500",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -215,7 +215,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-1.8999999999999999", "gain": "-2.7000000000000002",
"frequency": "600", "frequency": "600",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -225,7 +225,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-0.80000000000000004", "gain": "-1.5",
"frequency": "800", "frequency": "800",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -235,7 +235,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-0.29999999999999999", "gain": "-0.90000000000000002",
"frequency": "899", "frequency": "899",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -245,7 +245,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "0.40000000000000002", "gain": "-0.10000000000000001",
"frequency": "1100", "frequency": "1100",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -255,7 +255,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "1.3", "gain": "0.59999999999999998",
"frequency": "1400", "frequency": "1400",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -265,7 +265,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "2.5", "gain": "1.6000000000000001",
"frequency": "1800", "frequency": "1800",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -275,7 +275,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "4.5", "gain": "2.8999999999999999",
"frequency": "2300", "frequency": "2300",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -285,7 +285,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "5.5", "gain": "3.8999999999999999",
"frequency": "2475", "frequency": "2475",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -295,7 +295,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "5", "gain": "3.5",
"frequency": "2750", "frequency": "2750",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -305,7 +305,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "5.5", "gain": "4.5",
"frequency": "3000", "frequency": "3000",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -315,7 +315,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "6.2000000000000002", "gain": "4.9000000000000004",
"frequency": "3600", "frequency": "3600",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -325,7 +325,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "6.2999999999999998", "gain": "5.2000000000000002",
"frequency": "3800", "frequency": "3800",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -335,7 +335,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "6", "gain": "4.5",
"frequency": "4500", "frequency": "4500",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -345,7 +345,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "2.3999999999999999", "gain": "1.5",
"frequency": "5700", "frequency": "5700",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -355,7 +355,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-5.7000000000000002", "gain": "-6.5999999999999996",
"frequency": "7200", "frequency": "7200",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -365,7 +365,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-0.20000000000000001", "gain": "-1",
"frequency": "9000", "frequency": "9000",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -375,7 +375,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "3.2000000000000002", "gain": "1.8999999999999999",
"frequency": "11300", "frequency": "11300",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -385,7 +385,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "4.9000000000000004", "gain": "4",
"frequency": "14300", "frequency": "14300",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -395,7 +395,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-0.69999999999999996", "gain": "-2",
"frequency": "17900", "frequency": "17900",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -487,7 +487,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-5.5999999999999996", "gain": "-6.2000000000000002",
"frequency": "235", "frequency": "235",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -497,7 +497,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-4", "gain": "-4.4000000000000004",
"frequency": "360", "frequency": "360",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -507,7 +507,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-2.7000000000000002", "gain": "-3.2000000000000002",
"frequency": "500", "frequency": "500",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -517,7 +517,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-1.8999999999999999", "gain": "-2.7000000000000002",
"frequency": "600", "frequency": "600",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -527,7 +527,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-0.80000000000000004", "gain": "-1.5",
"frequency": "800", "frequency": "800",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -537,7 +537,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-0.29999999999999999", "gain": "-0.90000000000000002",
"frequency": "899", "frequency": "899",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -547,7 +547,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "0.40000000000000002", "gain": "-0.10000000000000001",
"frequency": "1100", "frequency": "1100",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -557,7 +557,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "1.3", "gain": "0.59999999999999998",
"frequency": "1400", "frequency": "1400",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -567,7 +567,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "2.5", "gain": "1.6000000000000001",
"frequency": "1800", "frequency": "1800",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -577,7 +577,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "4.5", "gain": "2.8999999999999999",
"frequency": "2300", "frequency": "2300",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -587,7 +587,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "5.5", "gain": "3.8999999999999999",
"frequency": "2475", "frequency": "2475",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -597,7 +597,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "5", "gain": "3.5",
"frequency": "2750", "frequency": "2750",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -607,7 +607,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "5.5", "gain": "4.5",
"frequency": "3000", "frequency": "3000",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -617,7 +617,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "6.2000000000000002", "gain": "4.9000000000000004",
"frequency": "3600", "frequency": "3600",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -627,7 +627,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "6.2999999999999998", "gain": "5.2000000000000002",
"frequency": "3800", "frequency": "3800",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -637,7 +637,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "6", "gain": "4.5",
"frequency": "4500", "frequency": "4500",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -647,7 +647,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "2.3999999999999999", "gain": "1.5",
"frequency": "5700", "frequency": "5700",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -657,7 +657,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-5.7000000000000002", "gain": "-6.5999999999999996",
"frequency": "7200", "frequency": "7200",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -667,7 +667,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-0.20000000000000001", "gain": "-1",
"frequency": "9000", "frequency": "9000",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -677,7 +677,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "3.2000000000000002", "gain": "1.8999999999999999",
"frequency": "11300", "frequency": "11300",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -687,7 +687,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "4.9000000000000004", "gain": "4",
"frequency": "14300", "frequency": "14300",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },
@ -697,7 +697,7 @@
"slope": "x1", "slope": "x1",
"solo": "false", "solo": "false",
"mute": "false", "mute": "false",
"gain": "-0.69999999999999996", "gain": "-2",
"frequency": "17900", "frequency": "17900",
"q": "4.3600000000000003" "q": "4.3600000000000003"
}, },

View File

@ -49,6 +49,7 @@
background = #0c0c0c background = #0c0c0c
foreground = #e5e5e5 foreground = #e5e5e5
modbackground = #141414
alert = #ff0000 alert = #ff0000
red = #ff0000 red = #ff0000
@ -66,4 +67,4 @@ darkblue = #1e2c99
violet = #9232ff violet = #9232ff
pink = #ff32fb pink = #ff32fb
black = #000000 black = #000000
white = #ffffff white = #ffffff

View File

@ -67,10 +67,23 @@ font-0 = "Noto Sans:size=10;0"
font-1 = "FontAwesome:size=10;0" font-1 = "FontAwesome:size=10;0"
font-2 = "Noto Sans:size=10;0" font-2 = "Noto Sans:size=10;0"
font-3 = "Noto Sans Mono:size=10;0" font-3 = "Noto Sans Mono:size=10;0"
font-4 = Iosevka Nerd Font:style=Medium:size=16;3
modules-left = i3 xwindow ; Text Fonts
modules-center = date ;font-0 = Iosevka Nerd Font:style=Medium:size=10;3
modules-right = volume battery ; Icons Fonts
;font-1 = icomoon\-feather:style=Medium:size=10;3
; Powerline Glyphs
;font-2 = Iosevka Nerd Font:style=Medium:size=16;3
; Larger font size for bar fill icons
;font-3 = Iosevka Nerd Font:style=Medium:size=12;3
; Smaller font size for shorter spaces
;font-4 = Iosevka Nerd Font:style=Medium:size=7;3
modules-left = full i3 full right left full xwindow full right
modules-center =
modules-right = left full date battery full
tray-detached = false tray-detached = false
tray-offset-x = 0 tray-offset-x = 0
@ -79,7 +92,7 @@ tray-padding = 2
tray-maxsize = 15 tray-maxsize = 15
tray-scale = 1.0 tray-scale = 1.0
tray-position = right tray-position = right
tray-background = ${colors.background} tray-background = ${colors.modbackground}
; Enable support for inter-process messaging ; Enable support for inter-process messaging
; See the Messaging wiki page for more details. ; See the Messaging wiki page for more details.
@ -104,8 +117,11 @@ double-click-right =
cursor-click = cursor-click =
cursor-scroll = cursor-scroll =
padding-left = 1 padding-left = 0
padding-right = 1 padding-right = 0
module-margin-left = 3 module-margin-left = 0
module-margin-right = 3 module-margin-right = 0
format-foreground = ${colors.foreground}
format-background = ${colors.background}

0
arch-config/.config/polybar/launch.sh Normal file → Executable file
View File

View File

@ -9,31 +9,31 @@ time-format = %H:%M
format-charging = <animation-charging> <label-charging> format-charging = <animation-charging> <label-charging>
label-charging =  %percentage%% %time% left label-charging =  %percentage%% %time% left
format-charging-foreground = ${colors.foreground} format-charging-foreground = ${colors.foreground}
format-charging-background = ${colors.background} format-charging-background = ${colors.modbackground}
format-charging-underline = ${colors.orange} format-charging-underline = ${colors.orange}
format-discharging = <ramp-capacity> <label-discharging> format-discharging = <ramp-capacity> <label-discharging>
label-discharging =  %percentage%% %time% left label-discharging =  %percentage%% %time% left
format-discharging-underline = ${colors.orange} format-discharging-underline = ${colors.violet}
format-discharging-foreground = ${colors.foreground} format-discharging-foreground = ${colors.foreground}
format-discharging-background = ${colors.background} format-discharging-background = ${colors.modbackground}
format-full-prefix = " " format-full-prefix = " "
format-full-prefix-foreground = #a3c725 format-full-prefix-foreground = #a3c725
format-full-underline = ${colors.orange} format-full-underline = ${colors.orange}
format-foreground = ${colors.foreground} format-foreground = ${colors.foreground}
format-background = ${colors.background} format-background = ${colors.modbackground}
ramp-capacity-0 = ramp-capacity-0 =
ramp-capacity-0-foreground = ${colors.orange} ramp-capacity-0-foreground = ${colors.violet}
ramp-capacity-1 = ramp-capacity-1 =
ramp-capacity-1-foreground = ${colors.orange} ramp-capacity-1-foreground = ${colors.violet}
ramp-capacity-2 = ramp-capacity-2 =
ramp-capacity-2-foreground = ${colors.orange} ramp-capacity-2-foreground = ${colors.violet}
ramp-capacity-3 = ramp-capacity-3 =
ramp-capacity-3-foreground = ${colors.orange} ramp-capacity-3-foreground = ${colors.violet}
ramp-capacity-4 = ramp-capacity-4 =
ramp-capacity-4-foreground = ${colors.orange} ramp-capacity-4-foreground = ${colors.violet}
;ramp-capacity-foreground = #c7ae25 ;ramp-capacity-foreground = #c7ae25
animation-charging-0 = animation-charging-0 =
@ -41,5 +41,5 @@ animation-charging-1 = 
animation-charging-2 = animation-charging-2 =
animation-charging-3 = animation-charging-3 =
animation-charging-4 = animation-charging-4 =
animation-charging-foreground = ${colors.orange} animation-charging-foreground = ${colors.violet}
animation-charging-framerate = 750 animation-charging-framerate = 750

View File

@ -6,13 +6,13 @@ interval = 5
; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string ; See "http://en.cppreference.com/w/cpp/io/manip/put_time" for details on how to format the date string
; NOTE: if you want to use syntax tags here you need to use %%{...} ; NOTE: if you want to use syntax tags here you need to use %%{...}
;date = " %d-%m-%Y" ;date = " %d-%m-%Y"
date = " %a %d." date =
date-alt = " %Y-%m-%d" date-alt = " %Y-%m-%d"
time = %H:%M time = " %H:%M"
time-alt = %H:%M time-alt =
format-prefix = " " format-prefix =
format-prefix-foreground = ${colors.orange} format-prefix-foreground = ${colors.orange}
format-underline = ${colors.orange} format-underline = ${colors.violet}
format-foreground = ${colors.foreground} format-foreground = ${colors.foreground}
format-background = ${colors.background} format-background = ${colors.modbackground}
label = %date% %time% label = %date% %time%

View File

@ -51,13 +51,13 @@ fuzzy-match = false
;ws-icon-7 = 8; ;ws-icon-7 = 8;
;ws-icon-8 = 9; ;ws-icon-8 = 9;
;ws-icon-9 = 10; ;ws-icon-9 = 10;
ws-icon-default = " " ;ws-icon-default = " "
;     ;    
; Available tags: ; Available tags:
; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)> ; <label-state> (default) - gets replaced with <label-(focused|unfocused|visible|urgent)>
; <label-mode> (default) ; <label-mode> (default)
format = <label-state> <label-mode> format = <label-state> <label-mode>
label-mode = %mode% label-mode = %mode%
label-mode-padding = 2 label-mode-padding = 2
@ -70,9 +70,9 @@ label-mode-padding = 2
; Default: %icon% %name% ; Default: %icon% %name%
; focused = Active workspace on focused monitor ; focused = Active workspace on focused monitor
label-focused = %name% label-focused = %name%
label-focused-background = ${colors.background} label-focused-background = ${colors.modbackground}
label-focused-foreground = ${colors.foreground} label-focused-foreground = ${colors.foreground}
label-focused-underline = ${colors.orange} label-focused-underline = ${colors.violet}
label-focused-padding = 2 label-focused-padding = 2
; Available tokens: ; Available tokens:
@ -83,7 +83,7 @@ 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-background = ${colors.background} label-unfocused-background = ${colors.modbackground}
label-unfocused-foreground = ${colors.foreground} label-unfocused-foreground = ${colors.foreground}
label-unfocused-underline = label-unfocused-underline =
@ -101,8 +101,5 @@ label-visible-padding = 2
; urgent = Workspace with urgency hint set ; urgent = Workspace with urgency hint set
label-urgent = %name% label-urgent = %name%
label-urgent-background = ${self.label-focused-background} label-urgent-background = ${self.label-focused-background}
label-urgent-foreground = ${colors.orange} label-urgent-foreground = ${colors.red}
label-urgent-padding = 2 label-urgent-padding = 2
format-foreground = ${colors.foreground}
format-background = ${colors.background}

View File

@ -32,6 +32,28 @@ format-underline = #FFBB00
################################################################################ ################################################################################
[module/decor-glyph]
type = custom/text
content-background = ${colors.background}
content-foreground = ${colors.modbackground}
[module/right]
inherit = module/decor-glyph
content = " "
[module/left]
inherit = module/decor-glyph
content = " "
[module/full]
inherit = module/decor-glyph
content-background = ${colors.modbackground}
content = " "
################################################################################
[module/backlight-acpi] [module/backlight-acpi]
inherit = module/xbacklight inherit = module/xbacklight
type = internal/backlight type = internal/backlight

View File

@ -6,7 +6,7 @@ type = internal/xwindow
; %title% ; %title%
; Default: %title% ; Default: %title%
label = %title% label = %title%
label-maxlen = 100 label-maxlen = 40
format-foreground = ${colors.foreground} format-foreground = ${colors.foreground}
format-background = ${colors.background} format-background = ${colors.modbackground}