final. maybe

This commit is contained in:
паша душный 2023-05-13 23:33:27 +03:00
parent 734440f693
commit 8b8cbcf075
2 changed files with 28 additions and 65 deletions

View file

@ -18,7 +18,6 @@
[colors]
background = #ccfdf6e3
; background = #00fdf6e3
background-alt = #ccfdf6e3
foreground = #657b83
primary = #657b83
@ -30,9 +29,7 @@ disabled = #707880
screenchange-reload = true
pseudo-transparency = true
[bar/biggtop]
width = 100%
height = 15pt
radius = 0
@ -50,7 +47,7 @@ padding-right = 1
module-margin = 1
separator = |
separator =
separator-foreground = ${colors.disabled}
font-0 = Fira Mono:style=Medium:pixelsize=9;2
@ -70,7 +67,6 @@ enable-ipc = true
monitor = DVI-D-0
[bar/smoltop]
width = 100%
height = 15pt
radius = 0
@ -88,7 +84,7 @@ padding-right = 1
module-margin = 1
separator = |
separator =
separator-foreground = ${colors.disabled}
font-0 = Fira Mono:style=Medium:pixelsize=9;2
@ -108,7 +104,6 @@ enable-ipc = false
monitor = HDMI-A-0
[bar/biggbott]
bottom = true
width = 100%
@ -123,12 +118,12 @@ line-size = 3pt
border-size = 0pt
border-color = #00000000
; padding-left = 1
# padding-left = 1
padding-right = 1
module-margin = 1
separator = |
separator =
separator-foreground = ${colors.disabled}
font-0 = Fira Mono:style=Medium:pixelsize=9;2
@ -142,7 +137,6 @@ modules-right = mpd mpdvol weather updates uptime
cursor-click = pointer
cursor-scroll = ns-resize
; enable-ipc = false
enable-ipc = true
monitor = DVI-D-0
@ -164,12 +158,12 @@ line-size = 3pt
border-size = 0pt
border-color = #00000000
; padding-left = 1
# padding-left = 1
padding-right = 1
module-margin = 1
separator = |
separator =
separator-foreground = ${colors.disabled}
font-0 = Fira Mono:style=Medium:pixelsize=9;2
@ -178,7 +172,6 @@ font-2 = SymbolsNerdFont:size=10;2
modules-left = i3
; modules-right = filesystem
modules-right = root home storage
cursor-click = pointer
@ -188,22 +181,15 @@ enable-ipc = false
monitor = HDMI-A-0
; tray-position = right
###############
# CUSTOMS #
###############
[module/weather]
; format-background = ${colors.background-alt}
type = custom/script
; hook-0 = ~/.config/polybar/scripts/weather-plugin.sh
# exec = ~/.config/polybar/scripts/weather-plugin.sh
exec = ANSIWEATHERRC=~/.config/ansiweather/config_for_bar ansiweather | sed 's#.*Sa.*rg: ##' | tr ':' ' '
exec = ANSIWEATHERRC=~/.config/ansiweather/config_for_bar ansiweather | sed 's#.*Sa.*rg: ##' | tr -d ':,-'
tail = false
interval = 900
interval = 1800
[module/updates]
type = custom/script
@ -213,8 +199,6 @@ interval = 600
[module/uptime]
type = custom/script
format-prefix = "󰅔 "
# exec = echo 󰅔 $(uptime | sed 's/.*up //g;s/,.*user.*//g' )
# exec = uptime | sed 's/.*up //g;s/,.*user.*//g'
exec = uptime | sed 's/.*up //;s/,.*user.*//' | tr ' ' ' '
interval = 60
@ -223,7 +207,6 @@ type = custom/ipc
interval = 10
initial = 1
# hook-0 = echo  $(mpc --host=192.168.0.186 status %volume%)
hook-0 = echo 󰴸 $(mpc --host=192.168.0.186 status %volume%)
hook-1 = mpc --host=192.168.0.186 volume +1 > /dev/null
hook-2 = mpc --host=192.168.0.186 volume -1 > /dev/null
@ -231,11 +214,6 @@ hook-3 = mpc --host=192.168.0.186 toggleoutput 1 > /dev/null
hook-4 = mpc --host=192.168.0.186 volume +5 > /dev/null
hook-5 = mpc --host=192.168.0.186 volume -5 > /dev/null
# exec = echo  $(mpc --host=192.168.0.186 status %volume%)
# scroll-up = mpc --host=192.168.0.186 volume +5
# scroll-down = mpc --host=192.168.0.186 volume -5
# click-left = mpc --host=192.168.0.186 toggleoutput 1
[module/ddcci]
type = custom/script
exec = echo `ddcutil getvcp 10` | sed 's/VCP code 0x10 (Brightness ): current value = //'| sed 's/, max value = 100//'
@ -297,7 +275,6 @@ label-urgent-padding = 1
type = internal/xwindow
label =  %title%
label-ellipsis = true
; label-padding-right = 2
[module/xwin-bigg]
inherit = xwindow-main
@ -353,7 +330,7 @@ interval = 1
; <icon-next>
; <icon-seekb>
; <icon-seekf>
format-online = 󰝚 Now playing: <label-song> | <label-time> | <icon-prev> <icon-stop> <toggle> <icon-next>
format-online = 󰝚 Now playing: <label-song> <label-time> <icon-prev> <icon-stop> <toggle> <icon-next>
format-playing = ${self.format-online}
format-paused = ${self.format-online}
format-stopped = Press! -> <toggle> <-
@ -506,15 +483,6 @@ interval = 3.0
label-connected = 󰒄 %ifname% %local_ip%
label-disconnected = 󰒄 %local_ip%
# [module/tun0]
# type = internal/network
# interface = tun0
# interface-type = wired
# interval = 3.0
# ping-interval = 5
# label-connected = 󰖂 %local_ip%
# label-disconnected =
[module/ethernet]
type = internal/network
interface = enp37s0