diff options
| author | Jokler <jokler@protonmail.com> | 2020-06-22 02:29:52 +0200 |
|---|---|---|
| committer | Jokler <jokler@protonmail.com> | 2020-06-22 02:29:52 +0200 |
| commit | ee1473f284eb3d3dd238dc3aa9ffec3db8059323 (patch) | |
| tree | 3e150177875b94b5e1f0b5c7bd92209be15ae894 /.config/polybar/config | |
| parent | a66f04b9da0609836beb374e275e516d79d5c445 (diff) | |
| download | dotfiles-ee1473f284eb3d3dd238dc3aa9ffec3db8059323.tar.gz dotfiles-ee1473f284eb3d3dd238dc3aa9ffec3db8059323.zip | |
Polybar: Remove powermenu, adjust colors and icons
Diffstat (limited to '.config/polybar/config')
| -rw-r--r-- | .config/polybar/config | 120 |
1 files changed, 48 insertions, 72 deletions
diff --git a/.config/polybar/config b/.config/polybar/config index e98089e..10ca3db 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -5,12 +5,12 @@ background-alt = #444 foreground = #dfdfdf foreground-alt = #555 primary = #0fb5aa -secondary = #e60053 +secondary = #e65053 alert = #bd2c40 - [bar/left] -monitor = ${env:MONITOR:DVI-D-0} +monitor = ${env:MONITOR:HDMI-0} +;monitor = ${env:MONITOR:HDMI1} width = 100% height = 20 radius = 0.0 @@ -32,8 +32,10 @@ module-margin-left = 1 module-margin-right = 2 font-0 = fixed:pixelsize=10;1 -font-1 = Unifont:fontformat=truetype:size=8:antialias=false;0 -font-2 = "WunconSiji:pixelsize=10;1" +font-1 = "Font Awesome 5 Brands,Font Awesome 5 Brands Regular:style=Regular:pixelsize=10;1" +font-2 = "Font Awesome 5 Pro,Font Awesome 5 Pro Regular:style=Regular:pixelsize=10;1" +font-3 = "Font Awesome 5 Pro,Font Awesome 5 Pro Light:style=Light:pixelsize=10;1" +font-4 = "Font Awesome 5 Pro,Font Awesome 5 Pro Solid:style=Solid:pixelsize=10;1" modules-left = date modules-center = pkgupdates-available @@ -47,7 +49,8 @@ cursor-scroll = [bar/center] -monitor = ${env:MONITOR:DVI-I-1} +monitor = ${env:MONITOR:DVI-D-0} +;monitor = ${env:MONITOR:HDMI3} width = 100% height = 25 radius = 0.0 @@ -69,12 +72,14 @@ module-margin-left = 1 module-margin-right = 2 font-0 = fixed:pixelsize=10;1 -font-1 = Unifont:fontformat=truetype:size=8:antialias=false;0 -font-2 = "WunconSiji:pixelsize=10;1" +font-1 = "Font Awesome 5 Brands,Font Awesome 5 Brands Regular:style=Regular:pixelsize=10;1" +font-2 = "Font Awesome 5 Pro,Font Awesome 5 Pro Regular:style=Regular:pixelsize=10;1" +font-3 = "Font Awesome 5 Pro,Font Awesome 5 Pro Light:style=Light:pixelsize=10;1" +font-4 = "Font Awesome 5 Pro,Font Awesome 5 Pro Solid:style=Solid:pixelsize=10;1" modules-left = i3 modules-center = xwindow -modules-right = filesystem pulseaudio memory cpu eth temperature date powermenu +modules-right = filesystem pulseaudio memory cpu temperature eth date tray-position = right tray-padding = 2 @@ -87,7 +92,8 @@ cursor-scroll = [bar/right] -monitor = ${env:MONITOR:HDMI-0} +monitor = ${env:MONITOR:DP-5} +;monitor = ${env:MONITOR:HDMI2} width = 100% height = 20 radius = 0.0 @@ -109,8 +115,10 @@ module-margin-left = 1 module-margin-right = 2 font-0 = fixed:pixelsize=10;1 -font-1 = Unifont:fontformat=truetype:size=8:antialias=false;0 -font-2 = "WunconSiji:pixelsize=10;1" +font-1 = "Font Awesome 5 Brands,Font Awesome 5 Brands Regular:style=Regular:pixelsize=10;1" +font-2 = "Font Awesome 5 Pro,Font Awesome 5 Pro Regular:style=Regular:pixelsize=10;1" +font-3 = "Font Awesome 5 Pro,Font Awesome 5 Pro Light:style=Light:pixelsize=10;1" +font-4 = "Font Awesome 5 Pro,Font Awesome 5 Pro Solid:style=Solid:pixelsize=10;1" modules-left = i3 modules-center = mpd @@ -135,7 +143,7 @@ interval = 25 mount-0 = / -label-mounted = %{F#0a81f5}%mountpoint%%{F-}: %percentage_used%% +label-mounted = %{F#8aa1f5}%mountpoint%%{F-}: %free% label-unmounted = %mountpoint% not mounted label-unmounted-foreground = ${colors.foreground-alt} @@ -155,6 +163,7 @@ label-mode-foreground = #000 label-mode-background = ${colors.primary} ; focused = Active workspace on focused monitor +;font-0 = "Font Awesome 5 Brands,Font Awesome 5 Brands Regular:style=Regular:pixelsize=10;1" label-focused = %name% label-focused-background = ${colors.background-alt} label-focused-underline= ${colors.primary} @@ -178,24 +187,27 @@ label-urgent-padding = 2 [module/mpd] type = internal/mpd +host = ::1 + format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next> -icon-prev = -icon-stop = -icon-play = -icon-pause = -icon-next = +icon-prev = +icon-stop = +icon-play = +icon-pause = +icon-next = -label-song-maxlen = 25 +label-song-maxlen = 100 label-song-ellipsis = true [module/cpu] type = internal/cpu interval = 2 -format-prefix = " " +format-prefix = format-prefix-foreground = ${colors.foreground-alt} -format-underline = #f90000 +;format-underline = #f90000 +format-underline = ${colors.primary} label = %percentage:2%% @@ -204,7 +216,7 @@ type = internal/memory interval = 2 format = <ramp-used> <label> format-prefix-foreground = ${colors.foreground-alt} -format-underline = #4bffdc +;format-underline = #4bffdc label = %gb_used% ramp-used-0 = ▁ ramp-used-1 = ▂ @@ -218,11 +230,11 @@ ramp-used-7 = █ [module/eth] type = internal/network -interface = enp0s25 +interface = enp3s0 interval = 3.0 -format-connected-underline = #55aa55 -format-connected-prefix = " " +format-connected-underline = ${colors.primary} +format-connected-prefix = format-connected-prefix-foreground = ${colors.foreground-alt} label-connected = %local_ip% @@ -231,16 +243,14 @@ format-disconnected = [module/date] type = internal/date -interval = 5 +interval = 1 -date = " %y-%m-%d" -date-alt = +date = "%y-%m-%d" -time = %H:%M -time-alt = %H:%M:%S +time = %H:%M:%S format-prefix-foreground = ${colors.foreground-alt} -format-underline = #0a6cf5 +;format-underline = #0a6cf5 label = %date% %time% @@ -265,62 +275,28 @@ bar-volume-foreground-5 = #f5a70a bar-volume-foreground-6 = #ff5555 bar-volume-gradient = false bar-volume-indicator = | -bar-volume-indicator-font = 2 bar-volume-fill = ─ -bar-volume-fill-font = 2 bar-volume-empty = ─ -bar-volume-empty-font = 2 bar-volume-empty-foreground = ${colors.foreground-alt} [module/temperature] type = internal/temperature thermal-zone = 0 -warn-temperature = 60 +hwmon-path = /sys/devices/pci0000:00/0000:00:18.3/hwmon/hwmon0/temp1_input +warn-temperature = 70 -format = <ramp> <label> -format-underline = #f50a4d +format = <label> +format-underline = format-warn = <ramp> <label-warn> -format-warn-underline = ${self.format-underline} +format-warn-underline = label = %temperature-c% label-warn = %temperature-c% label-warn-foreground = ${colors.secondary} -ramp-0 = -ramp-1 = -ramp-2 = ramp-foreground = ${colors.foreground-alt} - - -[module/powermenu] -type = custom/menu - -expand-right = true - -format-spacing = 1 - -label-open = -label-open-foreground = ${colors.secondary} -label-close = cancel -label-close-foreground = ${colors.secondary} -label-separator = | -label-separator-foreground = ${colors.foreground-alt} - -menu-0-0 = reboot -menu-0-0-exec = menu-open-1 -menu-0-1 = power off -menu-0-1-exec = menu-open-2 - -menu-1-0 = cancel -menu-1-0-exec = menu-open-0 -menu-1-1 = reboot -menu-1-1-exec = systemctl reboot - -menu-2-0 = power off -menu-2-0-exec = systemctl poweroff -menu-2-1 = cancel -menu-2-1-exec = menu-open-0 +ramp-0 = [module/pkgupdates-available] type = custom/script @@ -335,7 +311,7 @@ tail = false ; Seconds to sleep between updates ; Default: 5 (0 if `tail = true`) -interval = 1800 +interval = 7200 [settings] screenchange-reload = true |
