511 lines
11 KiB
Plaintext
511 lines
11 KiB
Plaintext
|
[fonts]
|
||
|
opensansreg = DroidSans:Regular:size=8
|
||
|
opensanssemibold = DroidSans:SemiBold:size=8
|
||
|
opensansbold = DroidSans:Bold:size=8
|
||
|
opensansboldhigh = DroidSans:Bold:size=11
|
||
|
opensansital = DroidSans:Italic:size=9
|
||
|
xos = xos4\ Terminus:size=14;0
|
||
|
nerd = TerminessTTF Nerd Font:size=12;0
|
||
|
nerdsym = Symbols Nerd Font:size=12
|
||
|
|
||
|
[colors]
|
||
|
light-red = #D95B5B
|
||
|
light-green = #249824
|
||
|
light-purple = #A44BA0
|
||
|
|
||
|
menucol-yellow = #F7F272
|
||
|
menucol-blue = #1771F1
|
||
|
menucol-orange = #FFAF60
|
||
|
menucol-red = #F85C50
|
||
|
menucol-green = #77BD8B
|
||
|
menucol-sealine = #00CF91
|
||
|
menucol-purple = #9A76B3
|
||
|
menucol-pink = #FF77BF
|
||
|
menucol-deepblue = #6560FF
|
||
|
menucol-lightblue = #60FFF7
|
||
|
menucol-peagreen = #30C154
|
||
|
menucol-eth = #ADD8E6
|
||
|
|
||
|
orangebby = #ddcc4738
|
||
|
fav-purple = #6633FF
|
||
|
uwu-purple = #000B1E
|
||
|
uwutp-purple = #dd000B1E
|
||
|
blackbaby = #dd0f0f0f
|
||
|
|
||
|
|
||
|
dark = #111
|
||
|
dark-red = #311
|
||
|
dark-green = #131
|
||
|
dark-purple = #201134
|
||
|
light = #eee
|
||
|
gray = #999
|
||
|
dark-gray = #333
|
||
|
|
||
|
|
||
|
[bar/main]
|
||
|
enable-ipc = true
|
||
|
override-redirect = false
|
||
|
|
||
|
bottom = false
|
||
|
width = 100%
|
||
|
height = 20 ;px
|
||
|
|
||
|
background = ${colors.blackbaby}
|
||
|
foreground = ${colors.light}
|
||
|
|
||
|
line-color = ${colors.light-purple}
|
||
|
line-size = 3
|
||
|
|
||
|
;separator = " | "
|
||
|
|
||
|
;List of fonts
|
||
|
font-0 = ${fonts.opensansreg}
|
||
|
font-1 = ${fonts.opensanssemibold}
|
||
|
font-2 = ${fonts.opensansbold}
|
||
|
font-3 = ${fonts.opensansital}
|
||
|
font-4 = ${fonts.xos}
|
||
|
font-5 = ${fonts.nerd}
|
||
|
font-6 = ${fonts.opensansboldhigh}
|
||
|
|
||
|
wm-restack = bspwm
|
||
|
;tray-position = right
|
||
|
|
||
|
|
||
|
modules-left = bspwm
|
||
|
modules-center = mediaplayer media
|
||
|
modules-right = crypto updates layout temperature memory memoryswap cpu popup-calendar sound
|
||
|
|
||
|
[bar/secondary]
|
||
|
monitor = ${env:MONITOR:DP-1}
|
||
|
enable-ipc = true
|
||
|
override-redirect = false
|
||
|
|
||
|
bottom = false
|
||
|
width = 100%
|
||
|
height = 20 ;px
|
||
|
|
||
|
background = ${colors.blackbaby}
|
||
|
foreground = ${colors.light}
|
||
|
|
||
|
line-color = ${colors.light-purple}
|
||
|
line-size = 3
|
||
|
|
||
|
;separator = " | "
|
||
|
|
||
|
;List of fonts
|
||
|
font-0 = ${fonts.opensansreg}
|
||
|
font-1 = ${fonts.opensanssemibold}
|
||
|
font-2 = ${fonts.opensansbold}
|
||
|
font-3 = ${fonts.opensansital}
|
||
|
font-4 = ${fonts.xos}
|
||
|
font-5 = ${fonts.nerd}
|
||
|
font-6 = ${fonts.opensansboldhigh}
|
||
|
|
||
|
wm-restack = bspwm
|
||
|
;tray-position = right
|
||
|
|
||
|
|
||
|
modules-left = bspwm
|
||
|
modules-center = mediaplayer media
|
||
|
modules-right =
|
||
|
|
||
|
[bar/third]
|
||
|
monitor = ${env:MONITOR:DP-2}
|
||
|
enable-ipc = true
|
||
|
override-redirect = false
|
||
|
|
||
|
bottom = false
|
||
|
width = 100%
|
||
|
height = 20 ;px
|
||
|
|
||
|
background = ${colors.blackbaby}
|
||
|
foreground = ${colors.light}
|
||
|
|
||
|
line-color = ${colors.light-purple}
|
||
|
line-size = 3
|
||
|
|
||
|
;separator = " | "
|
||
|
|
||
|
;List of fonts
|
||
|
font-0 = ${fonts.opensansreg}
|
||
|
font-1 = ${fonts.opensanssemibold}
|
||
|
font-2 = ${fonts.opensansbold}
|
||
|
font-3 = ${fonts.opensansital}
|
||
|
font-4 = ${fonts.xos}
|
||
|
font-5 = ${fonts.nerd}
|
||
|
font-6 = ${fonts.opensansboldhigh}
|
||
|
|
||
|
wm-restack = bspwm
|
||
|
tray-position = left
|
||
|
|
||
|
|
||
|
modules-left = bspwm
|
||
|
modules-center =
|
||
|
modules-right =
|
||
|
|
||
|
|
||
|
;Date correction
|
||
|
[module/date]
|
||
|
type = internal/date
|
||
|
|
||
|
time = %H:%M
|
||
|
date = %A, %B %d
|
||
|
date-alt = %A, %B %d, %Y
|
||
|
time-alt = %H:%M:%S
|
||
|
|
||
|
format-prefix = " "
|
||
|
format-padding = 2
|
||
|
format-underline = ${colors.menucol-orange}
|
||
|
format-foreground = ${colors.menucol-orange}
|
||
|
interval = 20
|
||
|
|
||
|
label = %date%, %time%
|
||
|
label-font = 2
|
||
|
label-foreground = ${colors.light}
|
||
|
|
||
|
;Checkupdates
|
||
|
[module/updates]
|
||
|
type = custom/script
|
||
|
format = <label>
|
||
|
exec = ~/.config/polybar/checkupdates.sh
|
||
|
interval = 600
|
||
|
label-font = 3
|
||
|
label-foreground = ${colors.light}
|
||
|
label-layout-foreground = ${colors.light}
|
||
|
|
||
|
format-padding = 2
|
||
|
format-prefix = " "
|
||
|
format-foreground = ${colors.menucol-peagreen}
|
||
|
format-underline = ${colors.menucol-peagreen}
|
||
|
|
||
|
|
||
|
;Workspaces
|
||
|
[module/bspwm]
|
||
|
type = internal/bspwm
|
||
|
|
||
|
pin-workspaces = true
|
||
|
;strip-wsnumbers = true
|
||
|
index-sort = true
|
||
|
|
||
|
format = <label-state> <label-mode>
|
||
|
|
||
|
label-dimmed-underline = ${colors.background}
|
||
|
|
||
|
;On editing mode (resize for ex)
|
||
|
label-mode = %mode%
|
||
|
label-mode-background = ${colors.dark-purple}
|
||
|
label-mode-underline = ${colors.fav-purple}
|
||
|
label-mode-padding = 5
|
||
|
label-mode-font = 3
|
||
|
|
||
|
; the %name% were %index%
|
||
|
label-focused = %name%
|
||
|
label-focused-background = ${colors.dark-green}
|
||
|
label-focused-underline = ${colors.light-green}
|
||
|
label-focused-padding = 2
|
||
|
label-focused-font = 3
|
||
|
|
||
|
label-unfocused = %name%
|
||
|
label-unfocused-foreground = ${colors.gray}
|
||
|
label-unfocused-padding = 2
|
||
|
label-unfocused-font = 3
|
||
|
|
||
|
label-visible = %name%
|
||
|
label-visible-background = ${colors.dark-purple}
|
||
|
label-visible-underline = ${colors.light-purple}
|
||
|
label-visible-padding = 2
|
||
|
label-visible-font = 3
|
||
|
|
||
|
label-urgent = %name%
|
||
|
label-urgent-background = ${colors.dark-red}
|
||
|
label-urgent-underline = ${colors.light-red}
|
||
|
label-urgent-padding = 2
|
||
|
label-urgent-font = 3
|
||
|
|
||
|
|
||
|
|
||
|
;Media Player
|
||
|
[module/mediaplayer]
|
||
|
type = custom/script
|
||
|
format = <label>
|
||
|
format-padding = 2
|
||
|
exec = ~/.config/polybar/player.sh
|
||
|
exec-if = playerctl status
|
||
|
interval = 0.5
|
||
|
label-font = 3
|
||
|
click-middle = playerctl play-pause
|
||
|
|
||
|
format-underline = ${colors.menucol-blue}
|
||
|
format-foreground = ${colors.menucol-blue}
|
||
|
|
||
|
[module/popup-calendar]
|
||
|
type = custom/script
|
||
|
exec = ~/.config/polybar/popup-calendar.sh
|
||
|
label-font = 3
|
||
|
label-foreground = ${colors.light}
|
||
|
format-prefix = " "
|
||
|
format-padding = 2
|
||
|
format-underline = ${colors.menucol-orange}
|
||
|
format-foreground = ${colors.menucol-orange}
|
||
|
interval = 5
|
||
|
click-left = ~/.config/polybar/popup-calendar.sh --popup &
|
||
|
|
||
|
[module/crypto]
|
||
|
type = custom/script
|
||
|
exec = sh ~/.config/polybar/eth.sh
|
||
|
label-font = 3
|
||
|
label-foreground = ${colors.light}
|
||
|
format-prefix = " "
|
||
|
format-padding = 3
|
||
|
format-underline = ${colors.menucol-eth}
|
||
|
;format-foreground = ${colors.menucol-eth}
|
||
|
interval = 600
|
||
|
|
||
|
|
||
|
[module/settings]
|
||
|
type = custom/text
|
||
|
content =
|
||
|
content-font = 7
|
||
|
content-padding = 2
|
||
|
click-left = sh ~/.config/i3/settings.sh
|
||
|
|
||
|
[module/appfilemanager]
|
||
|
type = custom/text
|
||
|
content =
|
||
|
content-font = 7
|
||
|
content-padding = 2
|
||
|
click-left = "thunar > /dev/null 2>&1 &"
|
||
|
|
||
|
[module/xkillapp]
|
||
|
type = custom/text
|
||
|
content =
|
||
|
content-font = 7
|
||
|
content-padding = 2
|
||
|
click-left = sleep 0.5 && xkill > /dev/null 2>&1 &
|
||
|
|
||
|
|
||
|
;Network
|
||
|
[module/wifi]
|
||
|
type = internal/network
|
||
|
interface = wlp3s0
|
||
|
format-connected = <ramp-signal>
|
||
|
format-connected-padding = 2
|
||
|
format-connected-foreground = ${colors.menucol-green}
|
||
|
format-connected-underline = ${colors.menucol-green}
|
||
|
|
||
|
format-disconnected = " "
|
||
|
format-disconnected-font = 7
|
||
|
format-disconnected-padding = 2
|
||
|
format-disconnected-foreground = ${colors.menucol-yellow}
|
||
|
format-disconnected-underline = ${colors.menucol-yellow}
|
||
|
|
||
|
ramp-signal-0 = " "
|
||
|
ramp-signal-1 = "▂"
|
||
|
ramp-signal-2 = "▄"
|
||
|
ramp-signal-3 = "▅"
|
||
|
ramp-signal-4 = "▇"
|
||
|
ramp-signal-font = 7
|
||
|
ramp-signal-foreground = ${colors.light}
|
||
|
|
||
|
|
||
|
;Sound
|
||
|
[module/sound]
|
||
|
type = internal/alsa
|
||
|
|
||
|
format-volume = <ramp-volume> <label-volume>
|
||
|
format-volume-padding = 2
|
||
|
format-volume-underline = ${colors.menucol-sealine}
|
||
|
|
||
|
label-volume = %percentage%
|
||
|
label-volume-font = 3
|
||
|
|
||
|
label-muted = %percentage%
|
||
|
label-muted-font = 3
|
||
|
label-muted-padding = 2
|
||
|
label-muted-foreground = ${colors.gray}
|
||
|
label-muted-underline = ${colors.gray}
|
||
|
|
||
|
ramp-volume-0 = " "
|
||
|
ramp-volume-1 = " "
|
||
|
ramp-volume-2 = " "
|
||
|
ramp-volume-font = 7
|
||
|
ramp-volume-foreground = ${colors.menucol-sealine}
|
||
|
|
||
|
|
||
|
;Brightness
|
||
|
[module/brightness]
|
||
|
type = internal/xbacklight
|
||
|
format = <label>
|
||
|
format-padding = 2
|
||
|
format-prefix = " "
|
||
|
format-underline = ${colors.menucol-yellow}
|
||
|
format-prefix-foreground = ${colors.menucol-yellow}
|
||
|
|
||
|
label = " %percentage%"
|
||
|
label-font = 3
|
||
|
|
||
|
|
||
|
;Keyboard Layout
|
||
|
[module/layout]
|
||
|
type = internal/xkeyboard
|
||
|
blacklist-0 = num lock
|
||
|
blacklist-1 = caps lock
|
||
|
blacklist-2 = scroll lock
|
||
|
|
||
|
format-prefix = ""
|
||
|
format-underline = ${colors.menucol-blue}
|
||
|
format-foreground = ${colors.menucol-blue}
|
||
|
format-padding = 3
|
||
|
|
||
|
label-layout = %layout%
|
||
|
label-layout-font = 2
|
||
|
label-layout-foreground = ${colors.light}
|
||
|
|
||
|
;Keyboard lock states by xkeyboard
|
||
|
[module/xkbstates]
|
||
|
type = internal/xkeyboard
|
||
|
format = <label-indicator>
|
||
|
|
||
|
;format-underline = ${colors.menucol-green}
|
||
|
format-padding = 4
|
||
|
|
||
|
label-indicator-on-capslock = "%{F#743791} "
|
||
|
label-indicator-off-capslock = "%{F#333} "
|
||
|
label-indicator-on-numlock = "%{F#743791} "
|
||
|
label-indicator-off-numlock = "%{F#333} "
|
||
|
label-indicator-on-scrolllock = "%{F#743791}"
|
||
|
label-indicator-off-scrolllock = "%{F#333}"
|
||
|
|
||
|
|
||
|
;Keyboard lock states
|
||
|
[module/kbstates]
|
||
|
type = custom/script
|
||
|
format = <label>
|
||
|
format-underline = ${colors.menucol-green}
|
||
|
format-padding = 2
|
||
|
|
||
|
exec = $HOME/.config/polybar/kblocks.py
|
||
|
interval = 0.5
|
||
|
label-font = 7
|
||
|
label-foreground = ${colors.menucol-green}
|
||
|
|
||
|
|
||
|
;Custom Exit Button
|
||
|
[module/powermenu]
|
||
|
type = custom/text
|
||
|
|
||
|
content = ⏻
|
||
|
content-font = 7
|
||
|
content-padding = 2
|
||
|
content-foreground = ${colors.menucol-lightblue}
|
||
|
content-underline = ${colors.menucol-lightblue}
|
||
|
|
||
|
click-left = sh ~/.config/i3/powermenu.sh
|
||
|
|
||
|
|
||
|
;Battery Indicator
|
||
|
[module/battery]
|
||
|
type = internal/battery
|
||
|
battery = BAT1
|
||
|
full-at = 100
|
||
|
|
||
|
format-charging = <animation-charging> <label-charging>
|
||
|
format-charging-padding = 2
|
||
|
format-charging-underline = ${colors.menucol-orange}
|
||
|
|
||
|
format-discharging = <animation-discharging> <label-discharging>
|
||
|
format-discharging-padding = 2
|
||
|
format-discharging-underline = ${colors.menucol-orange}
|
||
|
|
||
|
label-charging = %percentage%
|
||
|
label-charging-font = 3
|
||
|
|
||
|
label-discharging = %percentage%
|
||
|
label-discharging-font = 3
|
||
|
|
||
|
animation-charging-0 =
|
||
|
animation-charging-1 =
|
||
|
animation-charging-2 =
|
||
|
animation-charging-3 =
|
||
|
animation-charging-4 =
|
||
|
animation-charging-framerate = 750
|
||
|
animation-charging-foreground = ${colors.menucol-orange}
|
||
|
|
||
|
animation-discharging-0 =
|
||
|
animation-discharging-1 =
|
||
|
animation-discharging-2 =
|
||
|
animation-discharging-3 =
|
||
|
animation-discharging-4 =
|
||
|
animation-discharging-5 =
|
||
|
animation-discharging-6 =
|
||
|
animation-discharging-7 =
|
||
|
animation-discharging-8 =
|
||
|
animation-discharging-9 =
|
||
|
animation-discharging-framerate = 750
|
||
|
animation-discharging-foreground = ${colors.menucol-orange}
|
||
|
|
||
|
|
||
|
[module/cpu]
|
||
|
type = internal/cpu
|
||
|
interval = 3
|
||
|
format = <label>%
|
||
|
format-padding = 2
|
||
|
format-underline = ${colors.menucol-red}
|
||
|
|
||
|
format-prefix = " "
|
||
|
format-prefix-foreground = ${colors.menucol-red}
|
||
|
|
||
|
label = " %percentage%"
|
||
|
label-font = 3
|
||
|
|
||
|
|
||
|
[module/memory]
|
||
|
type = internal/memory
|
||
|
interval = 3
|
||
|
format = <label>
|
||
|
format-padding = 2
|
||
|
format-underline = ${colors.menucol-purple}
|
||
|
|
||
|
format-prefix = " "
|
||
|
format-prefix-foreground = ${colors.menucol-purple}
|
||
|
|
||
|
label = " %gb_used%"
|
||
|
label-font = 3
|
||
|
|
||
|
|
||
|
[module/memoryswap]
|
||
|
type = internal/memory
|
||
|
interval = 3
|
||
|
format = <label>
|
||
|
format-padding = 2
|
||
|
format-underline = ${colors.menucol-pink}
|
||
|
|
||
|
format-prefix = " "
|
||
|
format-prefix-foreground = ${colors.menucol-pink}
|
||
|
|
||
|
label = " %gb_swap_used%"
|
||
|
label-font = 3
|
||
|
|
||
|
|
||
|
[module/temperature]
|
||
|
type = internal/temperature
|
||
|
interval = 0.5
|
||
|
format = <ramp> <label>
|
||
|
format-padding = 2
|
||
|
format-underline = ${colors.menucol-deepblue}
|
||
|
|
||
|
format-warn = <ramp> <label-warn>
|
||
|
label = %temperature-c%
|
||
|
label-font = 3
|
||
|
|
||
|
label-warn = "%temperature-c% "
|
||
|
label-warn-font = 3
|
||
|
|
||
|
ramp-0 =
|
||
|
ramp-1 =
|
||
|
ramp-2 =
|
||
|
ramp-3 =
|
||
|
ramp-4 =
|
||
|
ramp-font = 7
|
||
|
ramp-foreground = ${colors.menucol-deepblue}
|