This commit is contained in:
LinlyBoi
2023-03-22 08:00:16 +02:00
parent c0902b570e
commit 0d185449c5
8 changed files with 52 additions and 25 deletions

View File

@@ -65,7 +65,7 @@ height = 30
; Offset defined as pixel value (e.g. 35) or percentage (e.g. 50%)
; the percentage can optionally be extended with a pixel offset like so:
; 50%:-10, this will result in an offset in the x or y direction
; 50%:-10, this will result in an offset in the x or y direction
; of 50% minus 10 pixels
offset-x = 0.5%
offset-y = 0%
@@ -78,10 +78,10 @@ foreground = ${color.foreground}
; Background gradient (vertical steps)
; background-[0-9]+ = #aarrggbb
;;background-0 =
;;background-0 =
; Value used for drawing rounded corners
; Note: This shouldn't be used together with border-size because the border
; Note: This shouldn't be used together with border-size because the border
; doesn't get rounded
; Individual top/bottom values can be defined using:
; radius-{top,bottom}
@@ -141,9 +141,9 @@ font-1 = "feather:size=10;3"
; modules-center = xwindow xbacklight
; modules-right = ipc clock
modules-left = sep
modules-center = i3
modules-right = sep cpu memory date pulseaudio sep
modules-left = sep title
modules-center = i3
modules-right = sep cpu memory date sep
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
@@ -157,11 +157,11 @@ dim-value = 1.0
; If the value is empty or undefined, the atom value
; will be created from the following template: polybar-[BAR]_[MONITOR]
; NOTE: The placeholders are not available for custom values
wm-name =
wm-name =
; Locale used to localize various module data (e.g. date)
; Expects a valid libc locale, for example: sv_SE.UTF-8
locale =
locale =
; Position of the system tray window
; If empty or undefined, tray support will be disabled
@@ -181,7 +181,7 @@ tray-detached = false
; Tray icon max size
tray-maxsize = 16
; Background color for the tray container
; Background color for the tray container
; ARGB color (e.g. #f00, #ff992a, #ddff1023)
; By default the tray container will use the bar
; background color.
@@ -210,7 +210,7 @@ tray-scale = 1.0
; Set a DPI values used when rendering text
; This only affects scalable fonts
; dpi =
; dpi =
; Enable support for inter-process messaging
; See the Messaging wiki page for more details.
@@ -218,8 +218,8 @@ enable-ipc = true
; Fallback click handlers that will be called if
; there's no matching module handler found.
click-left =
click-middle =
click-left =
click-middle =
click-right =
scroll-up =
scroll-down =
@@ -232,8 +232,8 @@ double-click-right =
; - default : The default pointer as before, can also be an empty string (default)
; - pointer : Typically in the form of a hand
; - ns-resize : Up and down arrows, can be used to indicate scrolling
cursor-click =
cursor-scroll =
cursor-click =
cursor-scroll =
;; WM Workspace Specific
@@ -280,8 +280,8 @@ compositing-underline = over
compositing-border = over
; Define fallback values used by all module formats
;format-foreground =
;format-background =
;format-foreground =
;format-background =
;format-underline =
;format-overline =
;format-spacing =

View File

@@ -718,7 +718,7 @@ type = internal/mpd
; Host where mpd is running (either ip or domain name)
; Can also be the full path to a unix socket where mpd is running.
host = 127.0.0.1
port = 6600
port = 6969
;;password = mysecretpassword
; Seconds to sleep between progressbar/song timer sync

View File

@@ -175,6 +175,7 @@ click-right = lxappearance &
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_
[module/powermenu]
type = custom/menu
@@ -294,9 +295,20 @@ label-close-padding = 1
[module/spotify]
type = custom/script
; Default
exec = spotifyctl -q status --format '%artist%: %title%'
exec = spt playback --format '%t'
; Playing/paused show song name and artist
label = %output%
format = <label>
format-prefix =
format-prefix-background = ${color.green}
format-prefix-padding = 1
format-overline = ${color.background}
format-underline = ${color.background}
; Available tokens:
; %output%
; Default: %output%
label = %output%
label-background = ${color.background-alt}
label-padding = 1
;; _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_