summaryrefslogtreecommitdiff
path: root/.config
diff options
context:
space:
mode:
authorThanos Apollo <[email protected]>2023-10-27 00:13:29 +0300
committerThanos Apollo <[email protected]>2023-10-27 00:13:29 +0300
commit798fa6485e97bc6bfa427ca9cacb1190d237d2ef (patch)
tree80b1b3d41a39e06ca93e31c905ec5e521ba0aeb3 /.config
parentb23dfe545999faacbc46c46de0222eb3636f8b51 (diff)
qtile: fix autostart and remove pomodor
Diffstat (limited to '.config')
-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"),
),