aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.com>2025-05-27 00:27:00 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.com>2025-05-27 00:27:00 +0530
commitc0faee8f762f2bdf2d220befc76608daa7582883 (patch)
treea6c24a29c224a5f1eeb3d87551b395b95348834f
parentb70dd5e00538576bb1e67b864e43e50422f14cea (diff)
changed border colors and properly set floating_layout
-rw-r--r--.config/qtile/config.py2
-rw-r--r--.config/qtile/defaults.py24
2 files changed, 12 insertions, 14 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
index 4f47e11..b7adab7 100644
--- a/.config/qtile/config.py
+++ b/.config/qtile/config.py
@@ -23,6 +23,8 @@ screens = [
),
]
+floating_layout = defaults.floating_layout
+
dgroups_key_binder = None
dgroups_app_rules = []
follow_mouse_focus = True
diff --git a/.config/qtile/defaults.py b/.config/qtile/defaults.py
index a4cb388..eafba13 100644
--- a/.config/qtile/defaults.py
+++ b/.config/qtile/defaults.py
@@ -7,9 +7,9 @@ mod = "mod4"
_mod = "mod1"
colors = [
- ["#14161b", "#a272a4", # tiled border (in/active)
- "#14161b", "#cd69d1", # stack border (in/active)
- "#14161b", "#cd69d1"] # floating border (in/active)
+ ["#1e1e2e", "#cba6f7", # tiled border (in/active)
+ "#313244", "#a6e3a1", # stack border (in/active)
+ "#585b70", "#f38ba8"] # floating border (in/active)
# [bg, fg]
, ["#1e1e2e", "#cdd6f4"] # bar color
@@ -40,10 +40,12 @@ colors = [
groups = [Group(i) for i in "一二三四五六七八九十"]
# groups = [Group(i) for i in "󰮫󰈹󰣀"]
+default_border_width=3
+
layouts = [
layout.Columns(
insert_position=1,
- border_width=3,
+ border_width=default_border_width,
align=layout.Columns._left,
margin=[4, 4, 4, 4],
margin_on_single=[0, 0, 0, 0],
@@ -56,19 +58,13 @@ layouts = [
layout.Matrix(),
layout.MonadWide(),
layout.VerticalTile(),
+ floating_layout,
]
floating_layout = layout.Floating(
- float_rules=[
- # Run the utility of `xprop` to see the wm class and name of an X client.
- #*layout.Floating.default_float_rules,
- Match(wm_class="confirmreset"), # gitk
- Match(wm_class="makebranch"), # gitk
- Match(wm_class="maketag"), # gitk
- Match(wm_class="ssh-askpass"), # ssh-askpass
- Match(title="branchdialog"), # gitk
- Match(title="pinentry"), # GPG key password entry
- ]
+ border_width=default_border_width,
+ border_normal=colors[0][4],
+ border_focus=colors[0][5],
)
widget_defaults = dict(