summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.config/qtile/config.py29
1 files changed, 19 insertions, 10 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
index 11ab876..cb27679 100644
--- a/.config/qtile/config.py
+++ b/.config/qtile/config.py
@@ -13,6 +13,10 @@ from colors import dracula
# "feh --bg-scale ~/wallpapers/wtf.jpeg",
# "setxkbmap us -option ctrl:swapcaps"]
+def autostart():
+ autostart_script = os.path.expanduser('~/.config/autostart/autostart.sh')
+ subprocess.Popen([autostart_script])
# autostart_path = os.path.expanduser('~/.config/autostart/autostart.sh')
# subprocess.run([autostart_path])
@@ -67,6 +71,11 @@ layouts = [
# layout.Zoomy(**layout_theme),
]
+def float_my_app(window):
+ if window.window.get_name() == "thanos/pass-launcher":
+ window.floating = True
+
# Widgets
def init_widgets_defaults():
"""Set widget default settings."""
@@ -139,13 +148,13 @@ def init_widgets_list():
# play_color=dracula["green"],
# paddig = 10,
# ),
- widget.Pomodoro(
- color_active=dracula["cyan"],
- color_break=dracula["orange"],
- color_inactive=dracula["curr"],
- lenghth_pomodori=30,
- fontsize=17,
- ),
+ # widget.Pomodoro(
+ # color_active=dracula["cyan"],
+ # color_break=dracula["orange"],
+ # color_inactive=dracula["curr"],
+ # lenghth_pomodori=30,
+ # fontsize=17,
+ # ),
widget.Spacer(
length=10,
),
@@ -296,9 +305,9 @@ keys = [
Key([mod, "shift"], "a",
lazy.spawn('anki'),
),
- Key([mod, "shift"], "m",
- lazy.spawn("emacsclient -e '(thanos/pass-launcher)'"),
- ),
+ # Key([mod], ",",
+ # lazy.spawn("emacsclient -e '(thanos/pass-launcher)'"),
+ # ),
Key([mod], "Tab",
lazy.spawn("rofi -show drun"),
),