aboutsummaryrefslogtreecommitdiff
path: root/config.py
diff options
context:
space:
mode:
authorMichael Kantor <michael@mikekantor.xyz>2025-09-01 15:33:24 -0400
committerMichael Kantor <michael@mikekantor.xyz>2025-09-01 15:33:24 -0400
commitac3aa3740a831f7bdeda342c6c4704568f01070c (patch)
treed8c2b3e0464c2561b274067df89d9c44d1a212a5 /config.py
parentd0ac4b9667108cd1eeb57b88072cf428cb953854 (diff)
Updated README. Added autostart.sh example. Removed function to defloat mpv window. Adjusted font and formatting of GroupBox widget because a qtile update raised the numbers too high. Added OpenRazer support to colors.py and wallpaper.py; the lights of a Razer keyboard will change to the sixth color from pywal. Fixed logging in ticker_gecko.py. Migrated to new qtile entry point in relevant files.HEADmaster
Diffstat (limited to 'config.py')
-rw-r--r--config.py29
1 files changed, 6 insertions, 23 deletions
diff --git a/config.py b/config.py
index 5f3b53c..3aad3ec 100644
--- a/config.py
+++ b/config.py
@@ -212,17 +212,6 @@ def cycle_float(qtile, direc):
#
# with open('/tmp/qtile_debug.py', 'w') as f:
# f.write(str(dic))
-#@hook.subscribe.changegroup
-#def defloat_mpv_onchange():
-# global qtile
-
-# with open('/tmp/wins.dict', 'w') as f:
-# f.write(str(dir(qtile.current_group)))
-
- #name = c.info()['name']
-
- #if 'mpv' in name:
- # c.disable_floating()
@hook.subscribe.setgroup
def move_pin():
@@ -240,13 +229,6 @@ def move_pin():
#with open('/tmp/wins.dict', 'w') as f:
# f.write(str(qtile.groups().get('swallow').get('windows')))
-@hook.subscribe.client_name_updated
-def defloat_mpv(c):
- name = c.info()['name']
-
- if 'mpv' in name:
- c.disable_floating()
-
@hook.subscribe.client_killed
def un_swallow(c):
global terms
@@ -291,9 +273,6 @@ def swallow(c):
#with open('/tmp/test.fifo', 'r') as f:
# f.write(name)
- if 'mpv' in name:
- c.disable_floating()
-
pid = c.window.get_net_wm_pid()
if pid == None:
@@ -511,6 +490,7 @@ keys.append(Key([mod, "control"], '0', lazy.window.togroup('X'), lazy.group['X']
widget_defaults = {
'font': 'Nimbus Sans',
+ #'font': 'Liberation Sans',
'fontsize': 13,
'padding': 2,
}
@@ -542,10 +522,11 @@ screens = [
widget.GroupBox(
margin_y = 6,
- margin_x = 0,
+ margin_x = 5,
padding_y = 5,
- padding_x = 3,
+ padding_x = 1,
borderwidth = 3,
+ spacing = 1,
active = '#ffffff',
inactive = inactive('color0'),
rounded = False,
@@ -553,6 +534,8 @@ screens = [
highlight_color = [color.get('color0').strip('#'), highlight('color0')],
background = color.get('color0'),
this_current_screen_border = color.get('color6'),
+ fontsize = 15,
+ font = 'Liberation Sans'
),
widget.TextBox(