add Spotify in main bar

This commit is contained in:
2025-11-13 16:34:37 -05:00
parent 32bc654fc5
commit 67acd2cce4
5 changed files with 421 additions and 2 deletions

View File

@@ -29,10 +29,11 @@ from libqtile.config import Click, Drag, Group, Key, Match, hook, Screen, KeyCho
from libqtile.lazy import lazy
from libqtile.utils import guess_terminal
from libqtile.dgroups import simple_key_binder
from spotify import Spotify
mod = "mod4" #aka Windows key
terminal = "alacritty" #This is an example on how flexible Qtile is, you create variables then use them in a keybind for example (see below)
terminal = "kitty" #This is an example on how flexible Qtile is, you create variables then use them in a keybind for example (see below)
mod1 = "mod1" #alt key
filemanager = "thunar"
@@ -230,7 +231,6 @@ def open_btop():
def open_pavucontrol():
qtile.cmd_spawn("pavucontrol")
# █▄▄ ▄▀█ █▀█
# █▄█ █▀█ █▀▄
@@ -308,6 +308,17 @@ screens = [
filename = '~/.config/qtile/Assets/5.png',
),
widget.Image(
filename = '~/.config/qtile/Assets/1.png',
background = '#52548D',
),
Spotify(),
widget.Image(
filename = '~/.config/qtile/Assets/5.png',
),
widget.Image(
filename = '~/.config/qtile/Assets/1.png',
background = '#52548D',