diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-10-04 21:33:03 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-10-04 21:33:03 +0100 |
commit | 915c54d6a0c7c79149d77a2b68da0792886887bd (patch) | |
tree | 4562d32da3ee0f52150d32c010810abb71b30a9f | |
parent | 3da0e800515db45639372d5615c267e584d0336d (diff) |
qtile : add volume && shutdown widgets, use glyphs for a more aesthetic look
-rw-r--r-- | skel/.config/qtile/config.py | 44 |
1 files changed, 39 insertions, 5 deletions
diff --git a/skel/.config/qtile/config.py b/skel/.config/qtile/config.py index e4084b2..3401f9a 100644 --- a/skel/.config/qtile/config.py +++ b/skel/.config/qtile/config.py @@ -259,9 +259,26 @@ def init_widgets_list(monitor_num): padding=10 ), widget.TextBox( - text="CPU ", - fontsize=10, + text=" ", + fontsize=14, + font="FontAwesome", + foreground=colors[0] + ), + widget.PulseVolume( font="Noto Sans", + limit_max_volume=True, + mute_format='Mute', + volume_app='pavucontrol-qt', + foreground=foregroundColor + ), + widget.Sep( + linewidth=0, + padding=10 + ), + widget.TextBox( + text=" ", + fontsize=14, + font="FontAwesome", foreground=colors[0] ), widget.CPU( @@ -276,9 +293,9 @@ def init_widgets_list(monitor_num): padding=10 ), widget.TextBox( - text="RAM", - fontsize=10, - font="Noto Sans", + text=" ", + fontsize=14, + font="FontAwesome", foreground=colors[0] ), widget.Memory( @@ -292,12 +309,29 @@ def init_widgets_list(monitor_num): linewidth=0, padding=10 ), + widget.TextBox( + text=" ", + fontsize=14, + font="FontAwesome", + foreground=colors[0] + ), widget.Clock( format='%I:%M %p', font="Noto Sans", padding=10, foreground=colors[0] ), + widget.Sep( + linewidth=0, + padding=10, + ), + widget.QuickExit( + countdown_start=15, + countdown_format='{}', + default_text=" ", + font="FontAwesome", + foreground=colors[0] + ), ] return widgets_list |