Move things to top bar

This commit is contained in:
Yash Karandikar 2022-12-31 22:35:43 -06:00
parent cb60688e58
commit da07ce14f5
4 changed files with 14 additions and 15 deletions

View file

@ -23,6 +23,7 @@ foreground = ${colors.foreground}
line-size = ${config.line-size}
padding = 0
padding-right = 1
override-redirect = ${config.override-redirect}
wm-restack = ${config.wm-restack}
@ -40,16 +41,16 @@ inherit = bar/base
module-margin = 1
font-0 = WenQuanYiMicroHei:size=12
font-0 = Cascadia Code PL:size=12
font-1 = FontAwesome6FreeSolid:pixelsize=12;1
font-2 = FontAwesome6FreeRegular:pixelsize=12;1
font-3 = FontAwesome6Brands:pixelsize=8;1
font-4 = FiraCodeMono:pixelsize=12
font-2 = FontAwesome6Brands:pixelsize=8;1
modules-left = ${config.top-left}
modules-center = ${config.top-center}
modules-right = ${config.top-right}
padding-left = 1
tray-position = ${config.systray-top}
[bar/nord-down]

View file

@ -43,9 +43,13 @@ wm-restack = bspwm
# clipmenu-widget: showing clipmenu service
# Top modules
bottom-left = powermenu title bluetooth wireguard cpu memory backlight cava
bottom-left = powermenu title bluetooth wireguard
bottom-center = i3
bottom-right = spotify-prev spotify-play-pause spotify-next spotify alsa network-detail battery date
bottom-right = alsa battery date
top-left = cpu memory backlight
top-center = cava
top-right = spotify-prev spotify-play-pause spotify-next spotify network-detail
systray-top = none

View file

@ -124,7 +124,6 @@ date-alt = %I:%M
format = <label>
label =  %date%
label-margin = 1
label-underline = ${colors.nord8}
[module/battery]

View file

@ -22,7 +22,7 @@ mkfifo $pipe
config_file="/tmp/polybar_cava_config"
echo "
[general]
bars = 10
bars = 50
lower_cutoff_freq = 12
sleep_timer = 10
@ -33,13 +33,8 @@ data_format = ascii
ascii_max_range = 7
[smoothing]
monstercat = 1
waves = 1
[eq]
2 = 0
3 = 0
4 = 0
; monstercat = 1
; waves = 1
" > $config_file
# run cava in the background