From 77f4ff43b8c98f1480cdcb0103980ff030cec156 Mon Sep 17 00:00:00 2001 From: Mateja Date: Tue, 1 Sep 2020 16:20:40 +0200 Subject: Nord theme for Termite. Qtile autostart. bash_profile don't force startx. --- .config/qtile/config.py | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to '.config/qtile/config.py') diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 8315d83..34b104d 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -24,18 +24,30 @@ # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE # SOFTWARE. +import os +import subprocess + from typing import List # noqa: F401 -from libqtile import bar, layout, widget +from libqtile import bar, layout, widget, hook from libqtile.config import Click, Drag, Group, Key, Screen from libqtile.lazy import lazy from libqtile.utils import guess_terminal mod = "mod4" -#terminal = guess_terminal() terminal = "termite" +@hook.subscribe.startup_once +def autostart(): + home = os.path.expanduser('~/.config/qtile/autostart.sh') + subprocess.call([home]) + keys = [ + #MY KEYS + Key([mod], "t", lazy.window.toggle_floating(), + desc="Toggle floating"), + ######## + # Switch between windows in current stack pane Key([mod], "k", lazy.layout.down(), desc="Move focus down in stack pane"), -- cgit v1.2.3