Add wallpaper icon

This commit is contained in:
Stephan Raabe 2023-12-21 13:32:55 +01:00
parent 91c289bb2e
commit 86b63eeacb

View File

@ -273,6 +273,14 @@ widget_list = [
padding=10, padding=10,
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn("rofi -show drun")}, mouse_callbacks={"Button1": lambda: qtile.cmd_spawn("rofi -show drun")},
), ),
widget.TextBox(
**decor_left,
background="#ffffff.4",
text="",
foreground="000000.6",
fontsize=18,
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(home + "/dotfiles/qtile/scripts/wallpaper.sh select")},
),
widget.GroupBox( widget.GroupBox(
**decor_left, **decor_left,
background="#ffffff.7", background="#ffffff.7",
@ -292,7 +300,7 @@ widget_list = [
text="", text="",
foreground="000000.6", foreground="000000.6",
fontsize=18, fontsize=18,
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn("sh " + home + "/dotfiles/.settings/browser.sh")}, mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(home + "/dotfiles/.settings/browser.sh")},
), ),
widget.TextBox( widget.TextBox(
**decor_left, **decor_left,
@ -300,7 +308,7 @@ widget_list = [
text="", text="",
foreground="000000.6", foreground="000000.6",
fontsize=18, fontsize=18,
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn("sh " + home + "/dotfiles/.settings/filemanager.sh")} mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(home + "/dotfiles/.settings/filemanager.sh")}
), ),
widget.WindowName( widget.WindowName(
@ -377,13 +385,13 @@ widget_list = [
# Hide Modules if not on laptop # Hide Modules if not on laptop
if (show_wlan == False): if (show_wlan == False):
del widget_list[12:13] del widget_list[13:14]
if (show_bluetooth == False): if (show_bluetooth == False):
del widget_list[11:12] del widget_list[12:13]
if (core_name == "x11"): if (core_name == "x11"):
del widget_list[12:13] del widget_list[13:14]
# -------------------------------------------------------- # --------------------------------------------------------
# Screens # Screens