From 8c2b8522ef77f8801885b44ca34c5c5ab8164be2 Mon Sep 17 00:00:00 2001 From: Mateja Date: Wed, 25 Nov 2020 22:56:55 +0100 Subject: More qtile keybindings and better autostart.sh --- .config/qtile/config.py | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to '.config/qtile/config.py') diff --git a/.config/qtile/config.py b/.config/qtile/config.py index 1a00186..330506c 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -34,6 +34,8 @@ keys = [ desc="Take a screenshot"), Key([mod], "x", lazy.spawn("mpc toggle"), desc="Pause/Resume MPD playback"), + Key([mod, "shift"], "x", lazy.spawn("bash -c ~/stuff/scripts/mpd_show"), + desc="Display song."), Key([mod], "z", lazy.spawn("mpc next"), desc="MPD next song"), Key([mod, "shift"], "z", lazy.spawn("mpc prev"), @@ -64,7 +66,7 @@ keys = [ desc="Toggle floating"), # Keyboard layout - Key([mod, "control"], "space", lazy.widget["keyboardlayout"].next_keyboard(), + Key([mod], "space", lazy.widget["keyboardlayout"].next_keyboard(), desc="Next keyboard layout."), # Switch window focus to other pane(s) of stack @@ -91,6 +93,9 @@ keys = [ Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown qtile"), Key([mod], "r", lazy.spawncmd(), desc="Spawn a command using a prompt widget"), + + Key([mod], "b", lazy.screen.toggle_group(), + desc="Switch to the previously active group."), ] groups = [Group(i) for i in "asdfuiop"] @@ -193,6 +198,7 @@ floating_layout = layout.Floating(float_rules=[ {'wname': 'branchdialog'}, # gitk {'wname': 'pinentry'}, # GPG key password entry {'wmclass': 'ssh-askpass'}, # ssh-askpass + {'wmclass': 'gcr-prompter'}, # ssh-askpass ]) auto_fullscreen = True focus_on_window_activation = "smart" -- cgit v1.2.3