mirror of
https://github.com/GRFreire/dotfiles.git
synced 2026-01-11 12:59:38 +00:00
qtile: use variable to store calendar program
This commit is contained in:
parent
26d5d44c96
commit
6749e1c045
@ -20,6 +20,7 @@ SCREENSHOT = "gnome-screenshot"
|
|||||||
SCREENSHOT_UTILITY = "gnome-screenshot -i"
|
SCREENSHOT_UTILITY = "gnome-screenshot -i"
|
||||||
ZOOM_UTILITY = "boomer"
|
ZOOM_UTILITY = "boomer"
|
||||||
CALCULATOR = "gnome-calculator"
|
CALCULATOR = "gnome-calculator"
|
||||||
|
CALENDAR = "gsimplecal"
|
||||||
POWER_MENU = os.path.expanduser(
|
POWER_MENU = os.path.expanduser(
|
||||||
"~/.scripts/bin/simple-power-menu"
|
"~/.scripts/bin/simple-power-menu"
|
||||||
)
|
)
|
||||||
@ -318,7 +319,7 @@ def main_bar():
|
|||||||
[
|
[
|
||||||
widget.Clock(
|
widget.Clock(
|
||||||
format="%d / %m / %y",
|
format="%d / %m / %y",
|
||||||
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn("gsimplecal")},
|
mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(CALENDAR)},
|
||||||
),
|
),
|
||||||
widget.Clock(format="%I:%M %p", font=FONT + " Bold"),
|
widget.Clock(format="%I:%M %p", font=FONT + " Bold"),
|
||||||
],
|
],
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user