mirror of
https://github.com/Foltik/dotfiles
synced 2024-11-25 20:48:34 -05:00
53 lines
1.2 KiB
INI
53 lines
1.2 KiB
INI
[bar/bar1]
|
|
monitor = DP-2
|
|
height = 28
|
|
padding-right = 1
|
|
font-0 = monospace:size=11;3
|
|
font-1 = monospace:size=16;3
|
|
background = #1e1e2e
|
|
foreground = #d9e0ee
|
|
modules-left = i3
|
|
modules-center = spotify
|
|
modules-right = date
|
|
|
|
[bar/bar2]
|
|
monitor = DP-0
|
|
height = 30
|
|
padding-right = 1
|
|
font-0 = monospace:size=12;2
|
|
font-1 = monospace:size=16;3
|
|
background = #1e1e2e
|
|
foreground = #d9e0ee
|
|
modules-left = i3
|
|
modules-center = spotify
|
|
modules-right = date
|
|
|
|
|
|
|
|
[module/spotify]
|
|
type = custom/script
|
|
exec = python ~/.config/polybar/spotify.py -f '{artist}: {song}'
|
|
exec-if = pgrep spotify
|
|
interval = 1
|
|
format = %{T2}ﱘ%{T-} <label>
|
|
click-left = playerctl --player=spotify play-pause
|
|
click-right = playerctl --player=spotify next
|
|
click-middle = playerctl --player=spotify previous
|
|
|
|
[module/i3]
|
|
type = internal/i3
|
|
pin-workspaces = true
|
|
strip-wsnumbers = true
|
|
label-unfocused = %{T2}%{F-}%name%%{T-}
|
|
label-unfocused-padding = 1
|
|
label-visible = %{T2}%{F-}%name%%{F-}%{T-}
|
|
label-visible-padding = 1
|
|
label-focused = %{T2}%{F#f5c2e7}%name%%{T-}
|
|
label-focused-padding = 1
|
|
label-urgent = %{T2}%{F#fae3b0}%name%%{F-}%{T-}
|
|
label-urgent-padding = 1
|
|
|
|
[module/date]
|
|
type = internal/date
|
|
date = %%{T2}%%{T-} %a %d %%{T2}%%{T-} %R
|