diff options
author | Thanos Apollo <[email protected]> | 2023-10-27 00:13:29 +0300 |
---|---|---|
committer | Thanos Apollo <[email protected]> | 2023-10-27 00:13:29 +0300 |
commit | 798fa6485e97bc6bfa427ca9cacb1190d237d2ef (patch) | |
tree | 80b1b3d41a39e06ca93e31c905ec5e521ba0aeb3 | |
parent | b23dfe545999faacbc46c46de0222eb3636f8b51 (diff) |
qtile: fix autostart and remove pomodor
-rw-r--r-- | .config/qtile/config.py | 29 |
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"] [email protected]_once +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"), ), |