Add polybar
This commit is contained in:
parent
da87aeb3ae
commit
7208560561
2 changed files with 140 additions and 0 deletions
139
polybar/config
Normal file
139
polybar/config
Normal file
|
|
@ -0,0 +1,139 @@
|
|||
[colors]
|
||||
background = #222
|
||||
background-alt = #444
|
||||
foreground = #dfdfdf
|
||||
foreground-alt = #555
|
||||
primary = #ffb52a
|
||||
secondary = #e60053
|
||||
alert = #bd2c40
|
||||
|
||||
[bar/eDP1]
|
||||
inherit = mixins/bar
|
||||
monitor = eDP1
|
||||
|
||||
[bar/DP2-1]
|
||||
inherit = mixins/bar
|
||||
monitor = DP2-1
|
||||
|
||||
[bar/DP2-2]
|
||||
inherit = mixins/bar
|
||||
monitor = DP2-2
|
||||
|
||||
[mixins/bar]
|
||||
bottom = true
|
||||
fixed-center = false
|
||||
|
||||
width = 100%
|
||||
height = 24
|
||||
offset-x = 0
|
||||
offset-y = 0
|
||||
|
||||
background = ${colors.background}
|
||||
foreground = ${colors.foreground}
|
||||
|
||||
radius = 0
|
||||
|
||||
line-size = 1
|
||||
line-color = #f00
|
||||
|
||||
border-size = 4
|
||||
border-color = #00000000
|
||||
|
||||
padding = 0
|
||||
|
||||
module-margin = 1
|
||||
|
||||
font-0 = NotoSans-Regular:pixelsize=10;1
|
||||
font-1 = unifont:fontformat=truetype:size=8:antialias=false;0
|
||||
font-2 = siji:pixelsize=10;1
|
||||
|
||||
modules-left = i3
|
||||
modules-center =
|
||||
modules-right = wlan volume battery date
|
||||
|
||||
[global/wm]
|
||||
margin-bottom = 0
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
|
||||
[module/i3]
|
||||
type = internal/i3
|
||||
|
||||
pin-workspaces = true
|
||||
enable-click = false
|
||||
enable-scroll = false
|
||||
|
||||
label-focused = %index%
|
||||
label-focused-background = ${colors.background-alt}
|
||||
label-focused-underline= ${colors.primary}
|
||||
label-focused-padding = 2
|
||||
|
||||
label-unfocused = %index%
|
||||
label-unfocused-padding = 2
|
||||
|
||||
label-occupied = %index%
|
||||
label-occupied-padding = 2
|
||||
|
||||
label-urgent = %index%
|
||||
label-urgent-background = ${colors.alert}
|
||||
label-urgent-padding = 2
|
||||
|
||||
label-empty = %index%
|
||||
label-empty-foreground = ${colors.foreground-alt}
|
||||
label-empty-padding = 2
|
||||
|
||||
[module/wlan]
|
||||
type = internal/network
|
||||
interface = wlp3s0
|
||||
|
||||
format-connected = <label-connected>
|
||||
format-connected-underline = #9f78e1
|
||||
label-connected = %essid% %local_ip%
|
||||
|
||||
format-disconnected = <label-disconnected>
|
||||
|
||||
[module/eth]
|
||||
type = internal/network
|
||||
interface = enp0s25
|
||||
|
||||
format-connected-underline = #55aa55
|
||||
label-connected = %local_ip%
|
||||
|
||||
format-disconnected = <label-disconnected>
|
||||
|
||||
[module/date]
|
||||
type = internal/date
|
||||
interval = 1
|
||||
|
||||
date = %a %b %d
|
||||
time = %H:%M:%S
|
||||
|
||||
format-underline = #0a6cf5
|
||||
|
||||
label = %date% %time%
|
||||
|
||||
[module/volume]
|
||||
type = internal/volume
|
||||
|
||||
format-volume = <label-volume>
|
||||
label-volume = Vol: %percentage%%
|
||||
label-volume-foreground = ${root.foreground}
|
||||
|
||||
label-muted = Vol: %percentage%-
|
||||
|
||||
[module/battery]
|
||||
type = internal/battery
|
||||
battery = BAT0
|
||||
adapter = AC
|
||||
|
||||
full-at = 99
|
||||
|
||||
format-charging = <label-charging>
|
||||
format-charging-underline = #ffb52a
|
||||
|
||||
format-discharging = <label-discharging>
|
||||
format-discharging-underline = ${self.format-charging-underline}
|
||||
|
||||
format-full-prefix-foreground = ${colors.foreground-alt}
|
||||
format-full-underline = ${self.format-charging-underline}
|
||||
Loading…
Add table
Add a link
Reference in a new issue