added theme and widgets to screens
This commit is contained in:
40
qtile/popups/volume_notification.py
Normal file
40
qtile/popups/volume_notification.py
Normal file
@@ -0,0 +1,40 @@
|
||||
from res.themes.colors import gruvbox_dark
|
||||
|
||||
from qtile_extras.popup.toolkit import (
|
||||
PopupRelativeLayout,
|
||||
PopupText,
|
||||
PopupSlider
|
||||
)
|
||||
|
||||
|
||||
VOL_POPUP = PopupRelativeLayout(
|
||||
width=150,
|
||||
height=150,
|
||||
opacity=0.7,
|
||||
background=gruvbox_dark["bg0_soft"],
|
||||
controls=[
|
||||
PopupText(
|
||||
text="",
|
||||
fontsize=60,
|
||||
foreground=gruvbox_dark["fg1"],
|
||||
pos_x=0,
|
||||
pos_y=0,
|
||||
height=0.8,
|
||||
width=0.8,
|
||||
v_align="middle",
|
||||
h_align="center",
|
||||
),
|
||||
PopupSlider(
|
||||
name="volume",
|
||||
pos_x=0.1,
|
||||
pos_y=0.7,
|
||||
width=0.8,
|
||||
height=0.2,
|
||||
colour_below=gruvbox_dark["blue"],
|
||||
bar_border_margin=1,
|
||||
bar_size=8,
|
||||
marker_size=0,
|
||||
end_margin=0,
|
||||
),
|
||||
],
|
||||
)
|
||||
Reference in New Issue
Block a user