diff options
Diffstat (limited to '.config/qtile/config.py')
-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, |