From 6272f1d0f76d75817cac77862cbfeb3ebc3dd128 Mon Sep 17 00:00:00 2001 From: "stephan.raabe" Date: Thu, 9 Feb 2023 16:11:38 +0100 Subject: [PATCH] Remove Scratchpads --- qtile/__pycache__/config.cpython-310.pyc | Bin 6029 -> 5786 bytes qtile/config.py | 34 ++++++----------------- 2 files changed, 8 insertions(+), 26 deletions(-) diff --git a/qtile/__pycache__/config.cpython-310.pyc b/qtile/__pycache__/config.cpython-310.pyc index 8fd2586f1773cdf7810bed7344678ba0104a32dd..a60c590ad7a4a9e479e3a2d594343d0744ca61da 100644 GIT binary patch delta 1348 zcmaKq&u<$=6vt?t6>u&ZYtvt7aOK0zIger+#u$q<~UqzQFVfanwQxmo7kcFHN~dj z(qRJQhlx5J@C5Qqz?YF{1D-@q20VqF3V0eh9qv8cHWS#*mh zZAfqxpBziVHMbwN>!3momRt$>2GX+Ipe)+Vw}>xZhZ~TGo1pEI0!4YnRrZ)}`X=<4 z8t9k{ylNL2@}izu`{r+_Z(DQ*%*LZ zzzqWS0}76-K-CpDw8{q9F@r*$4VkYt4Qx)#Yb^pB*icui`D=w%qbr($82630eQ~`- zc4R|Viw03kP*=;Ks}{Z${7G&ZL`0K6pzI)Q!j?<#3A)px?H;|^qXxVc{A zs*RgFu%lLS-oUp8RJ{$mYMu3&o8}h01MlvV9je{|njwkz+mFISN_+4?meMh=92q_` zhX3jW}vK(f6k0a;2Z=*+FdMI-lrOrOR1bMrn)ykcIhw)OOtQ8*; zo<@zQy;ITCjc*Wtl`zBzpT{Yo@JXEb^B6kul2x@?Ue}7n6-{5a{h|{(O8*+-6c_R3 zGZ+$5YO{ajBpX?CtO}nM%iVH4niC{yJtpKV;R{F!xf9Z~a9^AHAO)gM2-j`wh0Sf~g+!V~ma6-_TVb$+IOAwEjS|7lM2)!C<29m{q!?i@#} zEv_aa4Nz{2eMD|zo0mkQ#91e7TlzY4c*Xm2;5V9TfA-80jqtKawM2NOeePgQI^Od> zb(4Ov{;`q;)grqfPHErwz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|Y7`OKYkcAC z?oP0S^grJ^-?d$* ze{Gm0UA9Nbg~ h`lhMb>S}JZjx|R@pNS(P@et`Ts`lDuExGxPzX43R&Z__b diff --git a/qtile/config.py b/qtile/config.py index d3f6135..1a9bda7 100644 --- a/qtile/config.py +++ b/qtile/config.py @@ -117,19 +117,6 @@ groups = [Group("1", layout='monadtall'), dgroups_key_binder = simple_key_binder(mod) -# SCRATCHPADS - -# Append scratchpad with dropdowns to groups -groups.append(ScratchPad('scratchpad', [ - DropDown('terminal', terminal, width=0.8, height=0.8, x=0.1, y=0.1, opacity=1.0), - # DropDown('notes', terminal, width=0.8, height=0.8, x=0.1,y=0.1, opacity=1.0) -])) -# extend keys list with keybinding for scratchpad -keys.extend([ - Key(["control"], "1", lazy.group['scratchpad'].dropdown_toggle('terminal')), - # Key(["control"], "2", lazy.gtoup['scratchpad'].dropdown_toggle('notes')) -]) - ######################## # Define colors ######## ######################## @@ -199,27 +186,22 @@ screens = [ fontsize=14 ), widget.Systray(), - widget.CPU( - fontsize=14 - ), - widget.DF( - visible_on_warn=False, + widget.TextBox( + text=' ', + desc='Notes', + mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e vim /home/raabe/notes.txt')}, fontsize=14 ), widget.TextBox( text='', fontsize=14 ), - widget.TextBox( - text=' ', - desc='Start Win10 and RDP', - mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e htop')}, + widget.CPU( fontsize=14 ), - widget.TextBox( - text=' ', - desc='Notes', - mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e vim /home/raabe/notes.txt')}, + widget.DF( + visible_on_warn=False, + mouse_callbacks={"Button1": lambda: qtile.cmd_spawn(terminal + ' -e htop')}, fontsize=14 ), widget.TextBox(