From 79eff7ef553463a84783c1f569384d55ecb463e4 Mon Sep 17 00:00:00 2001 From: Stephan Raabe Date: Thu, 23 Feb 2023 14:47:33 +0100 Subject: [PATCH] Add first scratchpad --- qtile/__pycache__/config.cpython-310.pyc | Bin 5683 -> 5821 bytes qtile/config.py | 14 +++++++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/qtile/__pycache__/config.cpython-310.pyc b/qtile/__pycache__/config.cpython-310.pyc index 42265075d94afdf9e12280ef9d503bb5f43e2e90..484917b3b83e2fc72134e0cb5dfb24ed2bc9a250 100644 GIT binary patch delta 1994 zcmZvc-%}G;6vy{&k`2Tp2=YUeT7-gxAEM$f6bL^Q5k)}chbw}}xoma`ENl`1e?^7X z);7*K+m||hNUYOoUpk%PxsRRcL;DZpt>g5q)2FtK(>l|0Z+2sFdhhJr@BN%}&$;K$ z-Q8^bp{YUl`8)!)uEnj{trkIe#U{C}5+|MbMEagJypGc%TBQ&uq`Nh5@<2*}BG{F1 zTC|wcI;15zw3O2T(y|=7o6~xv-2F82W}9OW zq{%i~lOk{^haN`Sj-E$ySPPHaf%Iq&J;rG;o)Xp_>{xhx$8mWlI-al{ImH0UE~F=I zis_kW8?<8jQ#tfBqqG)jn@xEMth8=uFBg(M(2*kR4rQ-=h898);+@cy5K(r6t$MQR zOjez>R0*`xQs|&H&w3MDC-m80F3<}wP%glwazVbxbQ~vxI2o`EL#QuVdKmSfr7xo%vh)b*VM|{@ec95Zs7EY4 zhWd)7$5D^M1YD(qbOhuto$?s z1d$^cJPM!4F?`>`X9bA73Qy!U>eg;+ci>a_Y(u~+co)cs5P14kuS7Pd+@iyu7p2C6 zx;PU~J5iZao~j|``4_Bx8&vKTe|PTJ+n)!OUw&ro_n^|k+pA!2z?CMeX|k4ft*8(U zrKJ#6l~6QYq%Tg->9euObXbo>r$Z{x%?BPr%tt%ECIe=`8N11G7LuOr8jWfj-{cAq=O_CmS%U4s`#UNorRt3bg zTVI-)RikT0+h&`;nVfwai3LgL&%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`~@^zpoC9&4si@JL2mo?~BD@GfD^829j^G9W_lyMHi98a#11@@w@!QY_(!G zQZqCxy>s`tiP@yT%ga0tAMyN86Gf4*=KARKN*}~3dsObk-|3H<*A;WeNi~r^O0MiH Lf0xtk!aV;1w21t8 diff --git a/qtile/config.py b/qtile/config.py index 9bf2178..f49ef91 100644 --- a/qtile/config.py +++ b/qtile/config.py @@ -124,7 +124,12 @@ keys = [ Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"), Key([mod], "r", lazy.spawn("rofi -show drun -icon-theme 'Papirus' -show-icons"), desc="Launch Rofi"), Key([mod], "b", lazy.spawn(browser), desc="Launch Chromium"), - # Key([mod], "r", lazy.spawncmd(), desc="Spawn a command using a prompt widget"), + +# -------------------------------------------------------- +# Scratchpads +# -------------------------------------------------------- + + Key([mod, "shift"], "t", lazy.group["terminal"].dropdown_toggle("term")) ] # -------------------------------------------------------- @@ -136,6 +141,13 @@ groups = [Group("1", layout='monadtall'), Group("3", layout='monadtall'), Group("4", layout='monadtall'), Group("5", layout='monadtall'), + +# -------------------------------------------------------- +# Scratchpads +# -------------------------------------------------------- + + ScratchPad("terminal",[DropDown("term", terminal, x=0.05, y=0.02, width=0.90, height=0.6, on_focus_lost_hide=False)]) + ] dgroups_key_binder = simple_key_binder(mod)