Changed polybar configuration

This commit is contained in:
Roger Gonzalez 2020-04-13 17:31:21 -03:00
parent 27460d549b
commit e1ccf7bc5a
3 changed files with 9 additions and 94 deletions

View File

@ -224,7 +224,7 @@ assign [class="Signal"] $ws4
assign [class="Evolution"] $ws5
assign [class="Liferea"] $ws5
for_window [class = "Spotify"] move to workspace $ws6
assign [class="Pcmanfm"] $ws7
assign [class="Thunar"] $ws7
# Open specific applications in floating mode
for_window [title="File Transfer*"] floating enable
@ -251,6 +251,7 @@ exec --no-startup-id /usr/bin/unclutter
exec --no-startup-id xfce4-power-manager
exec --no-startup-id pamac-tray
exec --no-startup-id /usr/bin/mullvad connect
exec --no-startup-id exec /opt/Mullvad\ VPN/mullvad-gui --no-sandbox
# Window colors
# class border backgr. text indicator child_border

View File

@ -14,10 +14,7 @@ height = 40
;background = #222
background = #000
foreground = #eefafa
; border-bottom = 1
; border-bottom-color = #333
foreground = #fff
overline-size = 10
overline-color = ${self.background}
@ -26,65 +23,18 @@ underline-color = ${self.background}
padding-left = 0
padding-right = 0
module-margin-left = 3
module-margin-right = 3
module-margin-left = 1
module-margin-right = 1
font-0 = NotoSans-Regular:size=20;0
font-1 = MaterialIcons:size=20;2
font-2 = Termsynu:size=20;0
font-3 = Siji:pixelsize=20;1
font-4 = FontAwesome:size=20;0
modules-left = mpd
modules-center = xwindow
modules-right = wireless-network battery
tray-position = right
[bar/bottom]
;monitor = eDP-1
bottom = true
width = 100%
height = 43
background = #000
foreground = #eefafa
overline-size = 3
overline-color = ${colors.accent}
underline-size = 3
underline-color = ${colors.accent}
;border-color = #ff0000
;border-top-size = 3
;border-top-color = #3d3d3d
;border-bottom = 0
;border-bottom-color = #333333
spacing = 2
;padding-right = 4
padding-left = 0
padding-right = 0
module-margin-left = 0
module-margin-right = 4
font-0 = NotoSans-Regular:size=20;0
font-1 = Unifont:size=20;0
font-2 = FontAwesome:size=20;0
font-3 = NotoSans-Regular:size=20;-1
font-4 = Unifont:size=20;0
font-5 = Termsynu:size=20;0
modules-left = i3
;modules-center =
modules-right = pulseaudio xkeyboard xbacklight cpu memory clock
;modules-right = memory
[module/fs-root]
type = internal/fs
mount-0 = /
label-mounted = %{F#e60053}%percentage_used%%%{F-} used of %mountpoint%
modules-center = xwindow
modules-right = pulseaudio xkeyboard xbacklight cpu memory wireless-network battery clock
; tray-position = right
[module/xbacklight]
type = internal/xbacklight
@ -112,7 +62,7 @@ label-focused-font = 4
label-focused-padding = 4
label-unfocused = %icon% %name%
label-unfocused-underline = #555555
label-unfocused-underline = #000
label-unfocused-font = 4
label-unfocused-padding = 4
@ -152,41 +102,6 @@ label-connected =  %essid%
label-disconnected =  not connected
label-disconnected-foreground = #66
[module/mpd]
type = internal/mpd
format-online = <bar-progress> <icon-prev> <icon-stop> <toggle> <icon-next> <label-song>
format-online-overline = ${root.background}
format-online-underline = ${root.background}
format-offline = <label-offline>
label-offline = mpd is off
icon-play = 
icon-pause = 
icon-stop = 
icon-prev = 
icon-next = 
icon-random = 
icon-repeat = 
toggle-on-foreground =
toggle-off-foreground = #55
bar-progress-width = 45
bar-progress-format = %{+o +u}%fill%%{-o -u}%indicator%%{+o +u}%empty%%{-u -o}
; bar-progress-indicator = |
bar-progress-indicator = █
bar-progress-indicator-foreground = #ff
bar-progress-indicator-font = 3
; bar-progress-fill = ─
bar-progress-fill = █
bar-progress-fill-foreground = #bb
bar-progress-fill-font = 3
; bar-progress-empty = ─
bar-progress-empty = ▒
bar-progress-empty-font = 3
bar-progress-empty-foreground = #44
[module/clock]
type = internal/date
interval = 5

View File

@ -13,6 +13,5 @@ while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
# Launch Polybar, using default config location ~/.config/polybar/config
polybar --config=$HOME/.config/polybar/config top &
polybar --config=$HOME/.config/polybar/config bottom &
echo "Polybar launched..."