up polybar
This commit is contained in:
parent
c6095560ae
commit
acf8461f28
@ -35,6 +35,7 @@ background-alt = #aa000000
|
||||
;foreground = ${xrdb:color7:#222}
|
||||
foreground = #dfdfdf
|
||||
foreground-alt = #555
|
||||
foreground-1 = #fbcdeb
|
||||
primary = #ffb52a
|
||||
secondary = #e60053
|
||||
alert = #bd2c40
|
||||
@ -79,6 +80,8 @@ tray-padding = 2
|
||||
cursor-click = pointer
|
||||
cursor-scroll = ns-resize
|
||||
|
||||
enable-ipc = true
|
||||
|
||||
|
||||
|
||||
[module/filesystem]
|
||||
@ -98,7 +101,7 @@ type = internal/mpd
|
||||
host = 127.0.0.1
|
||||
port = 6600
|
||||
interval = 2
|
||||
format-online = <label-song> <icon-prev> <icon-stop> <toggle> <icon-next>
|
||||
format-online = "<icon-prev> <icon-stop> <toggle> <icon-next> %{F#fbcdeb}<label-song>%{F-}: %{F#1592a6}<label-time>%{F-}"
|
||||
|
||||
icon-prev = %{T2}%{T-}
|
||||
icon-stop = %{T2}%{T-}
|
||||
@ -106,8 +109,10 @@ icon-play = %{T2}%{T-}
|
||||
icon-pause = %{T2}%{T-}
|
||||
icon-next = %{T2}%{T-}
|
||||
|
||||
label-song = %artist%
|
||||
label-song-maxlen = 25
|
||||
label-song-ellipsis = true
|
||||
label-time = %elapsed% / %total%
|
||||
|
||||
|
||||
|
||||
@ -221,7 +226,7 @@ screenchange-reload = true
|
||||
;compositing-background = screen
|
||||
;compositing-foreground = source
|
||||
;compositing-border = over
|
||||
;pseudo-transparency = false
|
||||
pseudo-transparency = true
|
||||
|
||||
|
||||
|
||||
|
12
conf.d/polybar/launch.sh
Normal file
12
conf.d/polybar/launch.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Terminate already running bar instances
|
||||
killall -q polybar
|
||||
|
||||
# Wait until the processes have been shut down
|
||||
while pgrep -u $UID -x polybar >/dev/null; do sleep 1; done
|
||||
|
||||
# Launch Polybar, using default config location ~/.config/polybar/config
|
||||
polybar saitama &
|
||||
|
||||
echo "Polybar launched..."
|
Loading…
x
Reference in New Issue
Block a user