add Spotify in main bar
This commit is contained in:
15
config.py
15
config.py
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user