From 7dc86dd96bae51fb9514473ee11b4dc457335ecc Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Fri, 21 Oct 2022 04:08:27 +0300 Subject: redo widgets --- .config/qtile/config.py | 34 +++++++++++++++++++++++++--------- 1 file changed, 25 insertions(+), 9 deletions(-) (limited to '.config') diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 5d62a1d..60520fd 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -131,8 +131,9 @@ def init_widgets_list(): # padding = 0, # fontsize=14 # ), - widget.Spacer( - length=5 + widget.Image( + filename = "~/.config/qtile/spotify2.png", + scale = True, ), Spotify( fontsize = 12, @@ -140,13 +141,25 @@ def init_widgets_list(): color = dracula["green"], fmt = '{}', font = "JetBrains Mono Bold" + ), + widget.Spacer( + length=7 + ), + widget.Image( + filename = "~/.config/qtile/volume1.png", + scale = True, + ), + widget.Spacer( + length=7, + padding = 10 ), widget.Volume( - fontsize = 13, - fmt = '|{}| ' , + fontsize = 15, + fmt = '{} ' , background = dracula["bg"], - foreground = dracula['purple'], - font = "JetBrains Mono" + foreground = dracula['orange'], + font = "JetBrains Mono", + margin = 10 ), # widget.Mpris2( # fontsize= 16, @@ -200,14 +213,17 @@ def init_widgets_list(): format="%d-%m-%Y | %H:%M" ), widget.Spacer( - length=5 + length=6 ), widget.Systray( background= dracula["bg"], icon_size=21, - padding = 10 + padding = 10, + margin = 10, + ), + widget.Spacer( + length=5 ), - ] return widgets_list -- cgit v1.2.3