update smol

This commit is contained in:
cheesus_crust 2023-02-14 21:49:46 +03:00
parent af9f4acb51
commit bc01152a44
5 changed files with 3853 additions and 27 deletions

View file

@ -72,6 +72,45 @@ enable-ipc = true
# override-redirect = true
[bar/bottom]
bottom = true
width = 100%
height = 15pt
radius = 0
# dpi = 135
background = ${colors.background}
foreground = ${colors.foreground}
line-size = 3pt
border-size = 0pt
border-color = #00000000
padding-left = 0
padding-right = 1
module-margin = 1
separator = |
separator-foreground = ${colors.disabled}
font-0 = Fira Mono:style=Medium:pixelsize=8;1
font-1 = PowerlineSymbols:size=10;1
font-2 = SymbolsNerdFont:size=10;1
modules-left = i3
modules-right = mpd mpdvol weather updates
cursor-click = pointer
cursor-scroll = ns-resize
enable-ipc = true
tray-position = right
[module/xworkspaces]
type = internal/xworkspaces
@ -91,6 +130,106 @@ label-empty = %name%
label-empty-foreground = ${colors.disabled}
label-empty-padding = 1
[module/i3]
type = internal/i3
pin-workspaces = true
enable-scroll = true
show-urgent = true
strip-wsnumbers = true
label-focused = %name%
label-focused-background = ${colors.background-alt}
label-focused-underline= ${colors.primary}
label-focused-padding = 1
label-unfocused = %name%
label-unfocused-padding = 1
label-visible = %name%
label-visible-padding = 1
label-urgent = %name%
label-urgent-foreground = #fdf6e3
label-urgent-background = #9a847c
label-urgent-underline = #9a847c
label-urgent-padding = 1
[module/mpd]
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 = 192.168.0.186
port = 6600
; password = mysecretpassword
; Seconds to sleep between progressbar/song timer sync
; Default: 1
interval = 1
; Available tags:
; <label-song> (default)
; <label-time>
; <bar-progress>
; <toggle> - gets replaced with <icon-(pause|play)>
; <toggle-stop> - gets replaced with <icon-(stop|play)>
; <icon-random>
; <icon-repeat>
; <icon-repeatone> (deprecated)
; <icon-single> - Toggle playing only a single song. Replaces <icon-repeatone>
; <icon-consume>
; <icon-prev>
; <icon-stop>
; <icon-play>
; <icon-pause>
; <icon-next>
; <icon-seekb>
; <icon-seekf>
format-online = <icon-prev> <icon-stop> <toggle> <icon-next> | <label-time> | Now playing: <label-song>
format-playing = ${self.format-online}
format-paused = ${self.format-online}
format-stopped = Press! -> <toggle> <-
; Available tags:
; <label-offline>
; Default: ""
format-offline = <label-offline>
; Available tokens:
; %artist%
; %album-artist%
; %album%
; %date%
; %title%
; Default: %artist% - %title%
label-song = %artist% - %title%
label-time = %elapsed% / %total%
label-offline = mpd is offline
icon-play =
icon-pause =
icon-stop =
icon-prev =
icon-next =
[module/weather]
type = custom/script
exec = ~/.config/polybar/scripts/weather-plugin.sh
tail = false
interval = 960
[module/updates]
type = custom/script
exec = ~/.config/polybar/scripts/updates.sh
interval = 3600
[module/mpdvol]
type = custom/script
exec = echo  $(mpc --host=192.168.0.186 status %volume%)
interval = 5
[module/xwindow]
type = internal/xwindow
label =  %title%