Improve polybar configs
This commit is contained in:
parent
c9aab14f10
commit
0bbc36d291
4 changed files with 14 additions and 18 deletions
|
|
@ -22,13 +22,10 @@
|
|||
module-margin-left = 1
|
||||
module-margin-right = 2
|
||||
|
||||
font-0 = fixed:pixelsize=10;1
|
||||
font-0 = Open Sans:size=12
|
||||
font-1 = Font Awesome 6 Pro Regular:size=12
|
||||
font-2 = Font Awesome 6 Pro Light:size=12
|
||||
font-3 = Font Awesome 6 Pro Solid:size=12
|
||||
font-4 = Font Awesome 6 Brands:size=12
|
||||
font-5 = Font Awesome 6 Duotone Solid:size=12
|
||||
font-6 = PowerlineSymbols:size=12
|
||||
font-6 = JetBrains Mono Nerd Font:size=12
|
||||
|
||||
monitor =
|
||||
|
||||
|
|
@ -51,7 +48,7 @@
|
|||
inherit = bar/base
|
||||
|
||||
modules-left = bspwm title
|
||||
modules-center = mpd player-mpris-simple
|
||||
modules-center = player-mpris-simple
|
||||
modules-right = openweather memory cpu temperature eth check-arch-updates date
|
||||
|
||||
eth-interface = enp0s31f6
|
||||
|
|
|
|||
31
.config/polybar/config.ini
Normal file
31
.config/polybar/config.ini
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
;;
|
||||
;; ____ __ __
|
||||
;; / __ \____ / /_ __/ /_ ____ ______
|
||||
;; / /_/ / __ \/ / / / / __ \/ __ `/ ___/
|
||||
;; / ____/ /_/ / / /_/ / /_/ / /_/ / /
|
||||
;; /_/ \____/_/\__, /_.___/\__,_/_/
|
||||
;; /____/
|
||||
;;
|
||||
;; Created By Aditya Shakya @adi1090x
|
||||
;;
|
||||
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
|
||||
|
||||
include-file = ~/.config/polybar/colors.ini
|
||||
include-file = ~/.config/polybar/bars.ini
|
||||
include-file = ~/.config/polybar/modules.ini
|
||||
include-file = ~/.config/polybar/custom.ini
|
||||
|
||||
[settings]
|
||||
screenchange-reload = true
|
||||
; compositing-background = xor
|
||||
; compositing-background = screen
|
||||
; compositing-foreground = source
|
||||
; compositing-border = over
|
||||
; pseudo-transparency = false
|
||||
|
||||
[global/wm]
|
||||
margin-top = 0
|
||||
margin-bottom = 0
|
||||
|
||||
; vim: ft=dosini
|
||||
|
|
@ -1,7 +1,9 @@
|
|||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Terminate already running bar instances
|
||||
killall -q polybar
|
||||
pkill polybar
|
||||
|
||||
sleep 0.5
|
||||
|
||||
# Wait until the processes have been shut down
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
|
|
|||
|
|
@ -350,7 +350,7 @@
|
|||
|
||||
[module/title]
|
||||
type = internal/xwindow
|
||||
format = <label>
|
||||
format = <label>
|
||||
format-underline = ${colors.green}
|
||||
|
||||
label = %title%
|
||||
|
|
|
|||
Loading…
Reference in a new issue