up polybar
This commit is contained in:
parent
c6095560ae
commit
acf8461f28
@ -35,6 +35,7 @@ background-alt = #aa000000
|
|||||||
;foreground = ${xrdb:color7:#222}
|
;foreground = ${xrdb:color7:#222}
|
||||||
foreground = #dfdfdf
|
foreground = #dfdfdf
|
||||||
foreground-alt = #555
|
foreground-alt = #555
|
||||||
|
foreground-1 = #fbcdeb
|
||||||
primary = #ffb52a
|
primary = #ffb52a
|
||||||
secondary = #e60053
|
secondary = #e60053
|
||||||
alert = #bd2c40
|
alert = #bd2c40
|
||||||
@ -70,7 +71,7 @@ font-1 = "FontAwesome:size=12"
|
|||||||
|
|
||||||
modules-left = filesystem
|
modules-left = filesystem
|
||||||
modules-center = mpd
|
modules-center = mpd
|
||||||
modules-right = pulseaudio publicip
|
modules-right = pulseaudio publicip
|
||||||
|
|
||||||
tray-position = right
|
tray-position = right
|
||||||
tray-padding = 2
|
tray-padding = 2
|
||||||
@ -79,6 +80,8 @@ tray-padding = 2
|
|||||||
cursor-click = pointer
|
cursor-click = pointer
|
||||||
cursor-scroll = ns-resize
|
cursor-scroll = ns-resize
|
||||||
|
|
||||||
|
enable-ipc = true
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
[module/filesystem]
|
[module/filesystem]
|
||||||
@ -98,7 +101,7 @@ type = internal/mpd
|
|||||||
host = 127.0.0.1
|
host = 127.0.0.1
|
||||||
port = 6600
|
port = 6600
|
||||||
interval = 2
|
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-prev = %{T2}%{T-}
|
||||||
icon-stop = %{T2}%{T-}
|
icon-stop = %{T2}%{T-}
|
||||||
@ -106,8 +109,10 @@ icon-play = %{T2}%{T-}
|
|||||||
icon-pause = %{T2}%{T-}
|
icon-pause = %{T2}%{T-}
|
||||||
icon-next = %{T2}%{T-}
|
icon-next = %{T2}%{T-}
|
||||||
|
|
||||||
|
label-song = %artist%
|
||||||
label-song-maxlen = 25
|
label-song-maxlen = 25
|
||||||
label-song-ellipsis = true
|
label-song-ellipsis = true
|
||||||
|
label-time = %elapsed% / %total%
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
@ -221,7 +226,7 @@ screenchange-reload = true
|
|||||||
;compositing-background = screen
|
;compositing-background = screen
|
||||||
;compositing-foreground = source
|
;compositing-foreground = source
|
||||||
;compositing-border = over
|
;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