aboutsummaryrefslogtreecommitdiffstats
path: root/.config/qtile
diff options
context:
space:
mode:
Diffstat (limited to '.config/qtile')
-rw-r--r--.config/qtile/config.py73
1 files changed, 65 insertions, 8 deletions
diff --git a/.config/qtile/config.py b/.config/qtile/config.py
index 34d0921..78c9176 100644
--- a/.config/qtile/config.py
+++ b/.config/qtile/config.py
@@ -123,6 +123,7 @@ keys = [
Key([mod, "control"], "l", lazy.layout.grow_right()),
# toggle current window to be splitting current group in half
Key([mod], "s", lazy.layout.toggle_split()),
+ # normalize the layout
Key([mod], "n", lazy.layout.normalize()),
]
@@ -171,6 +172,12 @@ matchers = {
"Ardour",
])
],
+ 'photo': [
+ Match(wm_class=[
+ re.compile('Shotwell'),
+ re.compile('Gimp'),
+ ])
+ ],
}
workspaces = [
@@ -179,7 +186,7 @@ workspaces = [
{"key": "3", "name": "dev", "matches": matchers["dev"]},
{"key": "4", "name": "games", "matches": matchers["games"]},
{"key": "5", "name": "audio", "matches": matchers["audio"]},
- {"key": "6", "name": "6"},
+ {"key": "6", "name": "photo", "matches": matchers["photo"]},
{"key": "7", "name": "7"},
{"key": "8", "name": "8"},
{"key": "9", "name": "9"},
@@ -199,11 +206,43 @@ for workspace in workspaces:
))
layouts = [
- layout.Columns(),
- layout.VerticalTile(),
- layout.Matrix(),
+ layout.Columns(
+ border_focus=colors["red"][1:],
+ border_normal=colors["green"][1:],
+ margin=1,
+ ),
+ layout.TreeTab(
+ active_bg=colors["red"][1:],
+ #active_fg=colors["grey"][1:],
+ active_fg='ffffff',
+ inactive_bg=colors["green"][1:],
+ #inactive_fg=colors["lgrey"][1:],
+ inactive_fg='ffffff',
+ border_focus=colors["red"][1:],
+ border_normal=colors["green"][1:],
+ font='Monospace',
+ fontsize=14,
+ margin_left=0,
+ padding_left=0,
+ panel_width=100,
+ previous_on_rm=True,
+ ),
+ layout.Stack(
+ border_focus=colors["red"][1:],
+ border_normal=colors["green"][1:],
+ margin=1,
+ ),
layout.Max(),
- layout.TreeTab(),
+ layout.VerticalTile(
+ border_focus=colors["red"][1:],
+ border_normal=colors["green"][1:],
+ margin=1,
+ ),
+ layout.Matrix(
+ border_focus=colors["red"][1:],
+ border_normal=colors["green"][1:],
+ margin=1,
+ ),
layout.Zoomy(),
]
@@ -237,9 +276,27 @@ screens = [
fmt_playing="%a [%A] %t [%v%%]",
),
widget.Sep(),
- widget.HDDGraph(),
- widget.MemoryGraph(),
- widget.CPUGraph(),
+ widget.HDDGraph(
+ graph_color=colors["blue"],
+ border_width=0,
+ samples=60,
+ frequency=5,
+ type="box",
+ ),
+ widget.MemoryGraph(
+ graph_color=colors["green"],
+ border_width=0,
+ samples=60,
+ frequency=2,
+ type="box",
+ ),
+ widget.CPUGraph(
+ graph_color=colors["red"],
+ border_width=0,
+ samples=60,
+ frequency=2,
+ type="box",
+ ),
widget.Battery(),
widget.Sep(),
widget.Systray(),