2018-10-04 16:57:13 +02:00
|
|
|
;==========================================================
|
|
|
|
;
|
|
|
|
;
|
|
|
|
; ██████╗ ██████╗ ██╗ ██╗ ██╗██████╗ █████╗ ██████╗
|
|
|
|
; ██╔══██╗██╔═══██╗██║ ╚██╗ ██╔╝██╔══██╗██╔══██╗██╔══██╗
|
|
|
|
; ██████╔╝██║ ██║██║ ╚████╔╝ ██████╔╝███████║██████╔╝
|
|
|
|
; ██╔═══╝ ██║ ██║██║ ╚██╔╝ ██╔══██╗██╔══██║██╔══██╗
|
|
|
|
; ██║ ╚██████╔╝███████╗██║ ██████╔╝██║ ██║██║ ██║
|
|
|
|
; ╚═╝ ╚═════╝ ╚══════╝╚═╝ ╚═════╝ ╚═╝ ╚═╝╚═╝ ╚═╝
|
|
|
|
;
|
|
|
|
;
|
|
|
|
; To learn more about how to configure Polybar
|
|
|
|
; go to https://github.com/jaagr/polybar
|
|
|
|
;
|
|
|
|
; The README contains alot of information
|
|
|
|
;
|
|
|
|
;==========================================================
|
|
|
|
|
|
|
|
[colors]
|
2019-01-08 16:11:13 +01:00
|
|
|
nord0 = #2E3440
|
|
|
|
nord1 = #3B4252
|
|
|
|
nord2 = #434C5E
|
|
|
|
nord3 = #4C566A
|
|
|
|
nord4 = #D8DEE9
|
|
|
|
nord5 = #E5E9F0
|
|
|
|
nord6 = #ECEFF4
|
|
|
|
nord7 = #8FBCBB
|
|
|
|
nord8 = #88C0D0
|
|
|
|
nord9 = #81A1C1
|
|
|
|
nord10 = #5E81AC
|
|
|
|
nord11 = #BF616A
|
|
|
|
nord12 = #D08770
|
|
|
|
nord13 = #EBCB8B
|
|
|
|
nord14 = #A3BE8C
|
|
|
|
nord15 = #B48EAD
|
2018-10-04 16:57:13 +02:00
|
|
|
|
2019-01-08 16:11:13 +01:00
|
|
|
;background = #002b36
|
|
|
|
background = ${colors.nord0}
|
|
|
|
;foreground = #dfdfdf
|
|
|
|
foreground = ${colors.nord9}
|
2019-01-08 19:11:08 +01:00
|
|
|
foreground-icon = ${colors.nord14}
|
2019-01-08 16:11:13 +01:00
|
|
|
|
|
|
|
;primary = #ffb52a
|
|
|
|
primary = ${colors.nord6}
|
2018-10-04 16:57:13 +02:00
|
|
|
secondary = #e60053
|
|
|
|
alert = #bd2c40
|
|
|
|
|
2019-01-08 16:11:13 +01:00
|
|
|
;i3-focused-background = #93A1A1
|
|
|
|
i3-focused-background = ${colors.nord3}
|
|
|
|
;i3-unfocused-background = #002b36
|
|
|
|
i3-unfocused-background = ${colors.nord0}
|
|
|
|
;i3-visible-background = #002b36
|
|
|
|
i3-visible-background = ${colors.nord0}
|
|
|
|
;i3-urgent-background = #657b83
|
|
|
|
i3-urgent-background = ${colors.nord10}
|
2018-10-04 16:57:13 +02:00
|
|
|
|
|
|
|
[bar/primary]
|
|
|
|
monitor = ${env:PRIMARY:eDP1}
|
|
|
|
width = 100%
|
|
|
|
height = 27
|
|
|
|
fixed-center = false
|
|
|
|
bottom = true
|
|
|
|
|
|
|
|
background = ${colors.background}
|
|
|
|
foreground = ${colors.foreground}
|
|
|
|
|
|
|
|
padding-left = 0
|
|
|
|
padding-right = 2
|
|
|
|
|
|
|
|
module-margin-left = 1
|
|
|
|
module-margin-right = 2
|
|
|
|
|
|
|
|
font-0 = Source Code Pro for Powerline:pixelsize=12;1
|
|
|
|
font-1 = FontAwesome:pixelsize=12;1
|
|
|
|
|
|
|
|
modules-left = i3
|
|
|
|
modules-center =
|
|
|
|
modules-right = updates-arch-combined wlan eth battery cpu memory date
|
|
|
|
|
|
|
|
tray-position = center
|
|
|
|
tray-padding = 2
|
|
|
|
;tray-transparent = true
|
|
|
|
tray-background = ${colors.background}
|
|
|
|
|
|
|
|
[bar/secondary]
|
|
|
|
monitor = ${env:SECONDARY}
|
|
|
|
width = 100%
|
|
|
|
height = 27
|
|
|
|
fixed-center = false
|
|
|
|
bottom = true
|
|
|
|
|
|
|
|
background = ${colors.background}
|
|
|
|
foreground = ${colors.foreground}
|
|
|
|
|
|
|
|
padding-left = 0
|
|
|
|
padding-right = 2
|
|
|
|
|
|
|
|
module-margin-left = 1
|
|
|
|
module-margin-right = 2
|
|
|
|
|
|
|
|
font-0 = Source Code Pro for Powerline:pixelsize=12;1
|
|
|
|
font-1 = FontAwesome:pixelsize=12;1
|
|
|
|
|
2018-10-08 12:46:55 +02:00
|
|
|
modules-left = i3
|
|
|
|
modules-center =
|
2019-03-29 10:32:11 +01:00
|
|
|
modules-right = spotify
|
2018-10-04 16:57:13 +02:00
|
|
|
|
|
|
|
[bar/laptop]
|
|
|
|
monitor = ${env:LAPTOP}
|
|
|
|
width = 100%
|
|
|
|
height = 27
|
|
|
|
fixed-center = false
|
|
|
|
bottom = true
|
|
|
|
|
|
|
|
background = ${colors.background}
|
|
|
|
foreground = ${colors.foreground}
|
|
|
|
|
|
|
|
padding-left = 0
|
|
|
|
padding-right = 2
|
|
|
|
|
|
|
|
module-margin-left = 1
|
|
|
|
module-margin-right = 2
|
|
|
|
|
|
|
|
font-0 = Source Code Pro for Powerline:pixelsize=12;1
|
|
|
|
font-1 = FontAwesome:pixelsize=12;1
|
|
|
|
|
2018-10-08 12:46:55 +02:00
|
|
|
modules-left = i3
|
|
|
|
modules-center =
|
2018-10-04 16:57:13 +02:00
|
|
|
modules-right =
|
|
|
|
|
|
|
|
[module/i3]
|
|
|
|
type = internal/i3
|
|
|
|
format = <label-state> <label-mode>
|
|
|
|
index-sort = true
|
|
|
|
wrapping-scroll = false
|
|
|
|
|
|
|
|
; Only show workspaces on the same output as the bar
|
|
|
|
pin-workspaces = true
|
|
|
|
|
|
|
|
ws-icon-0 = 0:;
|
|
|
|
ws-icon-1 = 1:;
|
|
|
|
ws-icon-2 = 2:;
|
|
|
|
ws-icon-3 = 3:;
|
|
|
|
ws-icon-4 = 4:;
|
|
|
|
ws-icon-5 = 5:;
|
|
|
|
ws-icon-6 = 6:;
|
2019-03-29 10:32:11 +01:00
|
|
|
ws-icon-7 = 7:;
|
2018-10-04 16:57:13 +02:00
|
|
|
ws-icon-8 = 8:;
|
|
|
|
ws-icon-9 = 9:;
|
2019-01-10 09:12:22 +01:00
|
|
|
ws-icon-10 = 10:;
|
2018-10-04 16:57:13 +02:00
|
|
|
|
|
|
|
label-mode-padding = 2
|
|
|
|
label-mode-foreground = #000
|
|
|
|
label-mode-background = ${colors.primary}
|
|
|
|
|
|
|
|
; focused = Active workspace on focused monitor
|
|
|
|
label-focused = %icon%
|
2019-01-08 19:11:08 +01:00
|
|
|
label-focused-foreground = ${colors.foreground-icon}
|
2018-10-04 16:57:13 +02:00
|
|
|
label-focused-background = ${colors.i3-focused-background}
|
|
|
|
label-focused-padding = 2
|
|
|
|
|
|
|
|
; unfocused = Inactive workspace on any monitor
|
|
|
|
label-unfocused = %icon%
|
2019-01-08 19:11:08 +01:00
|
|
|
label-unfocused-foreground = ${colors.foreground-icon}
|
2018-10-04 16:57:13 +02:00
|
|
|
label-unfocused-background = ${colors.i3-unfocused-background}
|
|
|
|
label-unfocused-padding = 2
|
|
|
|
|
|
|
|
; visible = Active workspace on unfocused monitor
|
|
|
|
label-visible = %icon%
|
2019-01-08 19:11:08 +01:00
|
|
|
label-visible-foreground = ${colors.foreground-icon}
|
2018-10-04 16:57:13 +02:00
|
|
|
label-visible-background = ${colors.i3-visible-background}
|
|
|
|
label-visible-padding = 2
|
|
|
|
|
|
|
|
; urgent = Workspace with urgency hint set
|
|
|
|
label-urgent = %icon%
|
2019-01-08 19:11:08 +01:00
|
|
|
label-urgent-foreground = ${colors.foreground-icon}
|
2018-10-04 16:57:13 +02:00
|
|
|
label-urgent-background = ${colors.i3-urgent-background}
|
|
|
|
label-urgent-padding = 2
|
|
|
|
|
|
|
|
[module/cpu]
|
|
|
|
type = internal/cpu
|
|
|
|
interval = 2
|
2018-10-08 10:52:20 +02:00
|
|
|
format-prefix = " "
|
2019-01-08 19:11:08 +01:00
|
|
|
format-prefix-foreground = ${colors.foreground-icon}
|
2018-10-04 16:57:13 +02:00
|
|
|
label = %percentage:2%%
|
|
|
|
|
|
|
|
[module/memory]
|
|
|
|
type = internal/memory
|
|
|
|
interval = 2
|
2018-10-08 10:52:20 +02:00
|
|
|
format-prefix = " "
|
2019-01-08 19:11:08 +01:00
|
|
|
format-prefix-foreground = ${colors.foreground-icon}
|
2018-10-04 16:57:13 +02:00
|
|
|
label = %percentage_used%%
|
|
|
|
|
|
|
|
[module/wlan]
|
|
|
|
type = internal/network
|
|
|
|
interface = wlp2s0
|
|
|
|
interval = 3.0
|
2018-10-08 10:52:20 +02:00
|
|
|
format-connected-prefix = " "
|
2019-01-08 19:11:08 +01:00
|
|
|
format-connected-prefix-foreground = ${colors.foreground-icon}
|
2018-10-04 16:57:13 +02:00
|
|
|
format-connected = <label-connected>
|
|
|
|
label-connected = %essid%
|
|
|
|
|
|
|
|
format-disconnected =
|
|
|
|
;format-disconnected = <label-disconnected>
|
|
|
|
;label-disconnected = %ifname% disconnected
|
|
|
|
;label-disconnected-foreground = ${colors.foreground-alt}
|
|
|
|
|
|
|
|
;ramp-signal-0 =
|
|
|
|
;ramp-signal-1 =
|
|
|
|
;ramp-signal-2 =
|
|
|
|
;ramp-signal-3 =
|
|
|
|
;ramp-signal-4 =
|
|
|
|
;ramp-signal-foreground = ${colors.foreground}
|
|
|
|
|
|
|
|
[module/eth]
|
|
|
|
type = internal/network
|
|
|
|
interface = enp0s31f6
|
|
|
|
interval = 3.0
|
|
|
|
|
2018-10-08 10:52:20 +02:00
|
|
|
format-connected-prefix = " "
|
2019-01-08 19:11:08 +01:00
|
|
|
format-connected-prefix-foreground = ${colors.foreground-icon}
|
2018-10-04 16:57:13 +02:00
|
|
|
label-connected = %local_ip%
|
|
|
|
|
|
|
|
format-disconnected =
|
|
|
|
;format-disconnected = <label-disconnected>
|
|
|
|
;label-disconnected = %ifname% disconnected
|
|
|
|
;label-disconnected-foreground = ${colors.foreground-alt}
|
|
|
|
|
|
|
|
[module/date]
|
|
|
|
type = internal/date
|
|
|
|
interval = 5
|
|
|
|
|
|
|
|
date = "%Y-%m-%d"
|
|
|
|
date-alt = " %Y-%m-%d"
|
|
|
|
|
|
|
|
time = %H:%M
|
|
|
|
time-alt = %H:%M:%S
|
|
|
|
|
2018-10-08 10:52:20 +02:00
|
|
|
format-prefix = " "
|
2019-01-08 19:11:08 +01:00
|
|
|
format-prefix-foreground = ${colors.foreground-icon}
|
2018-10-04 16:57:13 +02:00
|
|
|
|
|
|
|
label = %date% %time%
|
|
|
|
|
|
|
|
;[module/pulseaudio]
|
|
|
|
;type = internal/pulseaudio
|
|
|
|
|
|
|
|
;format-volume = <label-volume> <bar-volume>
|
|
|
|
;label-volume = VOL %percentage%%
|
|
|
|
;label-volume-foreground = ${root.foreground}
|
|
|
|
|
|
|
|
;label-muted = 🔇 muted
|
|
|
|
;label-muted-foreground = #666
|
|
|
|
|
|
|
|
;bar-volume-width = 10
|
|
|
|
;bar-volume-foreground-0 = #55aa55
|
|
|
|
;bar-volume-foreground-1 = #55aa55
|
|
|
|
;bar-volume-foreground-2 = #55aa55
|
|
|
|
;bar-volume-foreground-3 = #55aa55
|
|
|
|
;bar-volume-foreground-4 = #55aa55
|
|
|
|
;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/battery]
|
|
|
|
type = internal/battery
|
|
|
|
battery = BAT0
|
|
|
|
adapter = AC
|
2018-12-19 10:01:09 +01:00
|
|
|
full-at = 94
|
2018-10-11 20:36:31 +02:00
|
|
|
interval = 120
|
2018-10-04 16:57:13 +02:00
|
|
|
|
|
|
|
format-charging = <animation-charging> <label-charging>
|
|
|
|
|
|
|
|
format-discharging = <animation-discharging> <label-discharging>
|
|
|
|
|
2018-10-08 12:46:55 +02:00
|
|
|
format-full-prefix = " "
|
2019-01-08 19:11:08 +01:00
|
|
|
format-full-prefix-foreground = ${colors.foreground-icon}
|
2018-10-04 16:57:13 +02:00
|
|
|
|
|
|
|
ramp-capacity-0 =
|
|
|
|
ramp-capacity-1 =
|
|
|
|
ramp-capacity-2 =
|
|
|
|
ramp-capacity-foreground = ${colors.foreground}
|
|
|
|
|
|
|
|
animation-charging-0 =
|
|
|
|
animation-charging-1 =
|
|
|
|
animation-charging-2 =
|
|
|
|
animation-charging-foreground = ${colors.foreground}
|
|
|
|
animation-charging-framerate = 750
|
|
|
|
|
|
|
|
animation-discharging-0 =
|
|
|
|
animation-discharging-1 =
|
|
|
|
animation-discharging-2 =
|
|
|
|
animation-discharging-foreground = ${colors.foreground}
|
|
|
|
animation-discharging-framerate = 750
|
|
|
|
|
|
|
|
[module/updates-arch-combined]
|
|
|
|
type = custom/script
|
|
|
|
exec = ~/.config/polybar/scripts/updates-arch-combined.sh
|
|
|
|
interval = 600
|
|
|
|
|
2018-10-08 10:52:20 +02:00
|
|
|
[module/gpmdp]
|
|
|
|
type = custom/script
|
|
|
|
exec = ~/.config/polybar/scripts/gpmdp.sh
|
|
|
|
interval = 5
|
|
|
|
|
2019-01-09 12:47:20 +01:00
|
|
|
icon-play = ⏵
|
|
|
|
icon-pause = ⏸
|
|
|
|
icon-stop = ⏹
|
|
|
|
icon-prev = ⏮
|
|
|
|
icon-next = ⏭
|
|
|
|
|
2019-02-15 14:23:02 +01:00
|
|
|
[module/spotify]
|
|
|
|
type = custom/script
|
|
|
|
interval = 1
|
|
|
|
format = <label>
|
|
|
|
exec = python ~/.config/polybar/scripts/spotify_status.py -p ',' -f '{play_pause} {artist} - {song}'
|
|
|
|
|
2018-10-04 16:57:13 +02:00
|
|
|
[global/wm]
|
|
|
|
margin-top = 5
|
|
|
|
margin-bottom = 5
|