From 4e37da400c12d7a73a00d8dd7979c7fe6109b894 Mon Sep 17 00:00:00 2001 From: ThanosApollo Date: Mon, 3 Oct 2022 08:38:00 +0300 Subject: Update widgets --- .config/qtile/config.py | 45 +++++++++++++++++++++++++++------------------ 1 file changed, 27 insertions(+), 18 deletions(-) diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 199d043..3ed23bd 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -122,19 +122,42 @@ def init_widgets_list(): background = my_colors["black"], ), widget.Notify( + font = "sansmono", + fontsize = "14", ), + # widget.Pomodoro( + # font = 'sansmono', + # fontsize = 17, + # color_inactive = my_colors['blue'], + # length_pomodori = 35, + # ), + # widget.Sep( + # linewidth = 1, + # padding = 10, + # foreground = my_colors["black2"], + # background = my_colors["black"] + # ), + widget.TextBox( + font="FontAwesome", + text= '|' + str(subprocess.check_output("uname -r", shell=True).strip()).replace('b','') + '|', + foreground=my_colors["grey2"], + background=my_colors["black"], + padding = 0, + fontsize=14 + ), widget.Sep( linewidth = 1, padding = 10, foreground = my_colors["black2"], background = my_colors["black"] ), - widget.Pomodoro( + widget.Volume( font = 'sansmono', - fontsize = 17, - color_inactive = my_colors['blue'], - length_pomodori = 35, + fontsize = 15, + fmt = 'Vol: {}', + foreground = my_colors['cyan'], + ), widget.Sep( linewidth = 1, @@ -142,20 +165,6 @@ def init_widgets_list(): foreground = my_colors["black2"], background = my_colors["black"] ), - # widget.TextBox( - # font="FontAwesome", - # text= '|' + str(subprocess.check_output("uname -r", shell=True).strip()).replace('b','') + '|', - # foreground=my_colors["blue"], - # background=my_colors["black"], - # padding = 0, - # fontsize=14 - # ), - # widget.Sep( - # linewidth = 1, - # padding = 10, - # foreground = my_colors["black2"], - # background = my_colors["black"] - # ), widget.Memory( measure_mem="G", fontsize=15, -- cgit v1.2.3