aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMateja <mail@matejamaric.com>2020-09-21 15:26:37 +0200
committerMateja <mail@matejamaric.com>2020-09-21 15:26:37 +0200
commit9379929de0f4c9992532d5a3ff198302a8b11b8f (patch)
tree2ce3c4a9692d95e1dda02e2885956e9e4f5dc361
parent12c54ea33bbb88d52c23ba9e609da7e369fc4938 (diff)
downloaddotfiles-9379929de0f4c9992532d5a3ff198302a8b11b8f.tar.gz
dotfiles-9379929de0f4c9992532d5a3ff198302a8b11b8f.zip
add floating layout and don't allow moving groups
-rw-r--r--.config/qtile/config.py45
1 files 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 &lt;M-r&gt; 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,
),