From 9379929de0f4c9992532d5a3ff198302a8b11b8f Mon Sep 17 00:00:00 2001 From: Mateja Date: Mon, 21 Sep 2020 15:26:37 +0200 Subject: add floating layout and don't allow moving groups --- .config/qtile/config.py | 45 +++------------------------------------------ 1 file changed, 3 insertions(+), 42 deletions(-) diff --git a/.config/qtile/config.py b/.config/qtile/config.py index c211117..f0ba0ea 100644 --- a/.config/qtile/config.py +++ b/.config/qtile/config.py @@ -1,29 +1,3 @@ -# Copyright (c) 2010 Aldo Cortesi -# Copyright (c) 2010, 2014 dequis -# Copyright (c) 2012 Randall Ma -# Copyright (c) 2012-2014 Tycho Andersen -# Copyright (c) 2012 Craig Barnes -# Copyright (c) 2013 horsik -# Copyright (c) 2013 Tao Sauvage -# -# Permission is hereby granted, free of charge, to any person obtaining a copy -# of this software and associated documentation files (the "Software"), to deal -# in the Software without restriction, including without limitation the rights -# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -# copies of the Software, and to permit persons to whom the Software is -# furnished to do so, subject to the following conditions: -# -# The above copyright notice and this permission notice shall be included in -# all copies or substantial portions of the Software. -# -# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -# SOFTWARE. - import os import subprocess @@ -115,16 +89,7 @@ layouts = [ layout.MonadTall(), layout.MonadWide(), layout.Max(), - #layout.Stack(num_stacks=2), - # Try more layouts by unleashing below layouts. - # layout.Bsp(), - # layout.Columns(), - # layout.Matrix(), - # layout.RatioTile(), - # layout.Tile(), - # layout.TreeTab(), - # layout.VerticalTile(), - # layout.Zoomy(), + layout.Floating(), ] widget_defaults = dict( @@ -139,7 +104,7 @@ screens = [ bottom=bar.Bar( [ widget.CurrentLayout(), - widget.GroupBox(), + widget.GroupBox(disable_drag=True), widget.Prompt(), widget.WindowName(), @@ -149,16 +114,12 @@ screens = [ }, name_transform=lambda name: name.upper(), ), + widget.Spacer(length=10), # widget.CapsNumLockIndicator(), # widget.KeyboardLayout(), - widget.Spacer(length=10), widget.Systray(), widget.Volume(), -# widget.TextBox("default config", name="default"), -# widget.TextBox("Press <M-r> to spawn", foreground="#d75f5f"), -# widget.Clock(format='%Y-%m-%d %a %I:%M %p'), widget.Clock(format='%A %d %b %I:%M %p'), -# widget.QuickExit(), ], 24, ), -- cgit v1.2.3