444 lines
8.8 KiB
INI
Executable file
444 lines
8.8 KiB
INI
Executable file
[fonts]
|
|
opensansreg = DroidSans:Regular:size=7.5
|
|
opensanssemibold = DroidSans:SemiBold:size=7.5
|
|
opensansbold = DroidSans:Bold:size=7.5
|
|
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
|
|
|
|
mainbg = #c9000000
|
|
oldmainbg = #212121
|
|
|
|
[scripts]
|
|
|
|
weatherz = ~/.config/polybar/Scripts/weatherz.sh
|
|
weatherj = ~/.config/polybar/Scripts/weatherj.sh
|
|
nvidiatemps = ~/.config/polybar/Scripts/nvidiatemps.sh
|
|
mediaplyer = ~/.config/polybar/Scripts/player.sh
|
|
popupcalendar = ~/.config/polybar/Scripts/popup-calendar.sh
|
|
gamemoderun = ~/.config/polybar/Scripts/gmr.sh
|
|
|
|
[bar/main]
|
|
|
|
enable-ipc = true
|
|
override-redirect = false
|
|
monitor = ${env:MONITOR:DP-1}
|
|
|
|
|
|
fixed-center = true
|
|
bottom = false
|
|
width = 6% ;4
|
|
height = 20px
|
|
offset-y = 0 ;+5
|
|
offset-x = 0 ;+8
|
|
padding = 0
|
|
|
|
background = ${colors.mainbg}
|
|
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
|
|
|
|
modules-left = bspwm
|
|
;modules-center = mediaplayer media
|
|
;modules-right = layout memory memoryswap cpu popup-calendar pulse
|
|
|
|
[bar/main2]
|
|
enable-ipc = true
|
|
override-redirect = false
|
|
monitor = ${env:MONITOR:DP-1}
|
|
|
|
|
|
background = ${colors.mainbg}
|
|
foreground = ${colors.light}
|
|
line-color = ${colors.light-purple}
|
|
line-size = 3
|
|
|
|
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
|
|
bottom = false
|
|
width = 70% ;65.5%
|
|
height = 20px
|
|
offset-y = 0 ;+5
|
|
offset-x = 6%
|
|
padding = 0
|
|
fixed-center = true
|
|
|
|
modules-left = weatherj weatherz
|
|
modules-center = mediaplayer media
|
|
modules-right = nvidiatemps
|
|
|
|
|
|
[bar/main3]
|
|
enable-ipc = true
|
|
override-redirect = false
|
|
monitor = ${env:MONITOR:DP-1}
|
|
|
|
background = ${colors.mainbg}
|
|
foreground = ${colors.light}
|
|
line-color = ${colors.light-purple}
|
|
line-size = 3
|
|
|
|
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
|
|
bottom = false
|
|
width = 24%
|
|
height = 20px
|
|
offset-y = 0 ;+5
|
|
offset-x = 76%
|
|
padding = 0
|
|
fixed-center = false
|
|
|
|
tray-position = right
|
|
tray-padding = 0
|
|
tray-offset-x = 0 ;145
|
|
tray-offset-y = 0
|
|
tray-detached = false
|
|
|
|
modules-left =
|
|
modules-center =
|
|
modules-right = gmr updates layout memory memoryswap cpu popup-calendar
|
|
|
|
|
|
[bar/secondary]
|
|
monitor = ${env:MONITOR:HDMI-0}
|
|
enable-ipc = true
|
|
override-redirect = false
|
|
|
|
bottom = false
|
|
width = 4.5%
|
|
height = 20px
|
|
offset-y = 0 ;+5
|
|
offset-x = 0 ;+8
|
|
|
|
background = ${colors.mainbg}
|
|
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 =
|
|
modules-right =
|
|
|
|
|
|
[bar/third]
|
|
monitor = ${env:MONITOR:DP-2}
|
|
enable-ipc = true
|
|
override-redirect = false
|
|
|
|
bottom = false
|
|
width = 100%
|
|
height = 20px
|
|
|
|
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 =
|
|
|
|
;weather
|
|
[module/weatherz]
|
|
type = custom/script
|
|
format = <label>
|
|
format-padding = 2
|
|
exec = ${scripts.weatherz}
|
|
interval = 600
|
|
label-font = 3
|
|
|
|
;format-underline = ${colors.menucol-blue}
|
|
format-foreground = ${colors.menucol-white}
|
|
|
|
[module/weatherj]
|
|
type = custom/script
|
|
format = <label>
|
|
format-padding = 2
|
|
exec = ${scripts.weatherj}
|
|
interval = 600
|
|
label-font = 3
|
|
|
|
;format-underline = ${colors.menucol-blue}
|
|
format-foreground = ${colors.menucol-white}
|
|
|
|
;nvidiatemps
|
|
[module/nvidiatemps]
|
|
type = custom/script
|
|
format = <label>
|
|
format-padding = 2
|
|
exec = ${scripts.nvidiatemps}
|
|
interval = 4
|
|
label-font = 3
|
|
|
|
|
|
;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-suffix = " "
|
|
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 = checkupdates | wc -l
|
|
;tail = true
|
|
interval = 600
|
|
label-font = 3
|
|
label-foreground = ${colors.light}
|
|
label-layout-foreground = ${colors.light}
|
|
click-left = st -e yay
|
|
|
|
format-padding = 2
|
|
format-prefix = " "
|
|
format-suffix = " "
|
|
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 = 2
|
|
label-mode-font = 3
|
|
|
|
; the %name% were %index%
|
|
label-focused = %name%
|
|
label-focused-background = ${colors.dark-purple}
|
|
label-focused-underline = ${colors.light-purple}
|
|
label-focused-padding = 3
|
|
label-focused-font = 3
|
|
|
|
label-unfocused = %name%
|
|
label-unfocused-foreground = ${colors.gray}
|
|
label-unfocused-padding = 4
|
|
label-unfocused-font = 3
|
|
|
|
label-visible = %name%
|
|
label-visible-background = ${colors.dark-purple}
|
|
label-visible-underline = ${colors.light-purple}
|
|
label-visible-padding = 4
|
|
label-visible-font = 3
|
|
|
|
label-urgent = %name%
|
|
label-urgent-background = ${colors.dark-red}
|
|
label-urgent-underline = ${colors.light-red}
|
|
label-urgent-padding = 4
|
|
label-urgent-font = 3
|
|
|
|
|
|
[module/mediaplayer]
|
|
type = custom/script
|
|
format = <label>
|
|
format-padding = 2
|
|
exec = ${scripts.mediaplayer}
|
|
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 = ${scripts.popupcalendar}
|
|
label-font = 3
|
|
label-foreground = ${colors.light}
|
|
format-prefix = " "
|
|
format-suffix = " "
|
|
format-padding = 2
|
|
format-underline = ${colors.menucol-orange}
|
|
format-foreground = ${colors.menucol-orange}
|
|
interval = 5
|
|
click-left = ${scripts.popupcalendar} --popup &
|
|
|
|
[module/gmr]
|
|
type = custom/script
|
|
exec = ${scripts.gamemoderun}
|
|
interval = 15
|
|
format = <label>
|
|
format-prefix = " "
|
|
format-suffix = " "
|
|
format-underline = ${colors.uwutp-purple}
|
|
label-font = 3
|
|
format-padding = 2
|
|
|
|
|
|
[module/layout]
|
|
type = internal/xkeyboard
|
|
blacklist-0 = num lock
|
|
blacklist-1 = caps lock
|
|
blacklist-2 = scroll lock
|
|
|
|
format-prefix = " "
|
|
format-suffix = " "
|
|
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}
|
|
|
|
|
|
[module/cpu]
|
|
type = internal/cpu
|
|
interval = 3
|
|
format = <label>%
|
|
format-padding = 2
|
|
format-underline = ${colors.menucol-red}
|
|
|
|
format-prefix = " "
|
|
format-suffix = " "
|
|
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-suffix = " "
|
|
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-suffix = " "
|
|
format-prefix-foreground = ${colors.menucol-pink}
|
|
|
|
label = " %gb_swap_used%"
|
|
label-font = 3
|