diff options
author | ThanosApollo <[email protected]> | 2022-10-11 19:08:37 +0300 |
---|---|---|
committer | ThanosApollo <[email protected]> | 2022-10-11 19:08:37 +0300 |
commit | f355f04c6884ee11d8201843f1d98a9726d65e7c (patch) | |
tree | 51e9125bc51d30c96c823a7b94dbffa43cc1c588 /.config/qtile | |
parent | e5da8d3acbc8cabd5aa988649d723a9d8b9b2f12 (diff) |
Update qtile
Diffstat (limited to '.config/qtile')
-rw-r--r-- | .config/qtile/config.py | 26 |
1 files changed, 14 insertions, 12 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 7dd621b..4332148 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -3,11 +3,10 @@ import subprocess from libqtile import layout, bar, widget, hook from libqtile.config import Click, Drag, Group, Match, Screen, Rule from libqtile.command import lazy -from libqtile.widget import Spacer from keys import MyKeys from libqtile.dgroups import simple_key_binder from colors import gruvbox, nord_fox, my_colors -#from widgets import * +from spotify_widget import Spotify @hook.subscribe.startup_once def start_once(): @@ -152,18 +151,21 @@ def init_widgets_list(): foreground = my_colors["black2"], background = my_colors["black"] ), - widget.Volume( - fontsize = 15, - fmt = '| {} |', - foreground = my_colors['blue'], - + Spotify( + fontsize = 16, + color = my_colors["green"], + fmt = '{}', ), - widget.Moc( - fontsize = 15, - noplay_color = my_colors["red"], - play_color = my_colors["blue"], - fmt = '{} |', + widget.Volume( + fontsize = 16, + fmt = '|{}| ' , + foreground = my_colors['green'], ), + # widget.Mpris2( + # fontsize= 16, + # background = my_colors["red"], + # objname="org.mpris.MediaPlayer2.spotify" + # ), widget.Sep( linewidth = 1, padding = 10, |