Updating my qtile config

This commit is contained in:
Derek Taylor
2025-12-05 15:52:44 -06:00
parent a91301075a
commit dfd6dae47b
2 changed files with 18 additions and 18 deletions

View File

@@ -264,7 +264,7 @@ groups = []
group_names = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] group_names = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"]
# Uncomment only one of the following lines # Uncomment only one of the following lines
group_labels = ["", "", "👁", "", "", "", "", "", "", ""] group_labels = ["", "", "", "", "", "", "", "", "", "", ]
#group_labels = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"] #group_labels = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]
#group_labels = ["DEV", "WWW", "SYS", "DOC", "VBOX", "CHAT", "MUS", "VID", "GFX", "MISC"] #group_labels = ["DEV", "WWW", "SYS", "DOC", "VBOX", "CHAT", "MUS", "VID", "GFX", "MISC"]
@@ -396,7 +396,7 @@ def init_widgets_list():
widgets_list = [ widgets_list = [
widget.Spacer(length = 8), widget.Spacer(length = 8),
widget.Image( widget.Image(
filename = "~/.config/qtile/icons/dt-icon.png", filename = "~/.config/qtile/icons/cachyos.svg",
scale = "False", scale = "False",
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn("qtilekeys-yad")}, mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn("qtilekeys-yad")},
), ),
@@ -406,7 +406,7 @@ def init_widgets_list():
foreground = colors[1] foreground = colors[1]
), ),
widget.GroupBox( widget.GroupBox(
fontsize = 11, fontsize = 9,
margin_y = 5, margin_y = 5,
margin_x = 14, margin_x = 14,
padding_y = 0, padding_y = 0,
@@ -467,20 +467,20 @@ def init_widgets_list():
func = lambda: subprocess.check_output("printf $(uname -r)", shell=True, text=True), func = lambda: subprocess.check_output("printf $(uname -r)", shell=True, text=True),
foreground = colors[3], foreground = colors[3],
padding = 8, padding = 8,
fmt = '{}', fmt = '{}',
), ),
widget.CPU( widget.CPU(
foreground = colors[4], foreground = colors[4],
padding = 8, padding = 8,
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')}, mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')},
format = 'Cpu: {load_percent}%', format = 'Cpu: {load_percent}%',
), ),
widget.Memory( widget.Memory(
foreground = colors[8], foreground = colors[8],
padding = 8, padding = 8,
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')}, mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')},
format = '{MemUsed: .0f}{mm}', format = '{MemUsed: .0f}{mm}',
fmt = '🖥 Mem: {}', fmt = 'Mem: {}',
), ),
widget.DF( widget.DF(
update_interval = 60, update_interval = 60,
@@ -490,13 +490,13 @@ def init_widgets_list():
partition = '/', partition = '/',
#format = '[{p}] {uf}{m} ({r:.0f}%)', #format = '[{p}] {uf}{m} ({r:.0f}%)',
format = '{uf}{m} free', format = '{uf}{m} free',
fmt = '🖴 Disk: {}', fmt = 'Disk: {}',
visible_on_warn = False, visible_on_warn = False,
), ),
widget.Volume( widget.Volume(
foreground = colors[7], foreground = colors[7],
padding = 8, padding = 8,
fmt = '🕫 Vol: {}', fmt = 'Vol: {}',
), ),
widget.Clock( widget.Clock(
foreground = colors[8], foreground = colors[8],
@@ -505,7 +505,7 @@ def init_widgets_list():
## Uncomment for date and time ## Uncomment for date and time
# format = "⧗ %a, %b %d - %H:%M", # format = "⧗ %a, %b %d - %H:%M",
## Uncomment for time only ## Uncomment for time only
format = "%I:%M %p", format = "%I:%M %p",
), ),
widget.Systray(padding = 6), widget.Systray(padding = 6),
widget.Spacer(length = 8), widget.Spacer(length = 8),

View File

@@ -182,7 +182,7 @@ groups = []
group_names = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"] group_names = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "0"]
# Uncomment only one of the following lines # Uncomment only one of the following lines
group_labels = ["", "", "👁", "", "", "", "", "", "", ""] group_labels = ["", "", "", "", "", "", "", "", "", "", ]
#group_labels = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"] #group_labels = ["1", "2", "3", "4", "5", "6", "7", "8", "9", "10"]
#group_labels = ["DEV", "WWW", "SYS", "DOC", "VBOX", "CHAT", "MUS", "VID", "GFX", "MISC"] #group_labels = ["DEV", "WWW", "SYS", "DOC", "VBOX", "CHAT", "MUS", "VID", "GFX", "MISC"]
@@ -274,7 +274,7 @@ def init_widgets_list():
widgets_list = [ widgets_list = [
widget.Spacer(length = 8), widget.Spacer(length = 8),
widget.Image( widget.Image(
filename = "~/.config/qtile/icons/dt-icon.png", filename = "~/.config/qtile/icons/cachyos.svg",
scale = "False", scale = "False",
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn("qtilekeys-yad")}, mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn("qtilekeys-yad")},
), ),
@@ -284,7 +284,7 @@ def init_widgets_list():
foreground = colors[1] foreground = colors[1]
), ),
widget.GroupBox( widget.GroupBox(
fontsize = 11, fontsize = 9,
margin_y = 5, margin_y = 5,
margin_x = 14, margin_x = 14,
padding_y = 0, padding_y = 0,
@@ -345,20 +345,20 @@ def init_widgets_list():
func = lambda: subprocess.check_output("printf $(uname -r)", shell=True, text=True), func = lambda: subprocess.check_output("printf $(uname -r)", shell=True, text=True),
foreground = colors[3], foreground = colors[3],
padding = 8, padding = 8,
fmt = '{}', fmt = '{}',
), ),
widget.CPU( widget.CPU(
foreground = colors[4], foreground = colors[4],
padding = 8, padding = 8,
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')}, mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')},
format = 'Cpu: {load_percent}%', format = 'Cpu: {load_percent}%',
), ),
widget.Memory( widget.Memory(
foreground = colors[8], foreground = colors[8],
padding = 8, padding = 8,
mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')}, mouse_callbacks = {'Button1': lambda: qtile.cmd_spawn(myTerm + ' -e htop')},
format = '{MemUsed: .0f}{mm}', format = '{MemUsed: .0f}{mm}',
fmt = '🖥 Mem: {}', fmt = 'Mem: {}',
), ),
widget.DF( widget.DF(
update_interval = 60, update_interval = 60,
@@ -368,13 +368,13 @@ def init_widgets_list():
partition = '/', partition = '/',
#format = '[{p}] {uf}{m} ({r:.0f}%)', #format = '[{p}] {uf}{m} ({r:.0f}%)',
format = '{uf}{m} free', format = '{uf}{m} free',
fmt = '🖴 Disk: {}', fmt = 'Disk: {}',
visible_on_warn = False, visible_on_warn = False,
), ),
widget.Volume( widget.Volume(
foreground = colors[7], foreground = colors[7],
padding = 8, padding = 8,
fmt = '🕫 Vol: {}', fmt = 'Vol: {}',
), ),
widget.Clock( widget.Clock(
foreground = colors[8], foreground = colors[8],
@@ -383,7 +383,7 @@ def init_widgets_list():
## Uncomment for date and time ## Uncomment for date and time
# format = "⧗ %a, %b %d - %H:%M", # format = "⧗ %a, %b %d - %H:%M",
## Uncomment for time only ## Uncomment for time only
format = "%I:%M %p", format = "%I:%M %p",
), ),
widget.Systray(padding = 6), widget.Systray(padding = 6),
widget.Spacer(length = 8), widget.Spacer(length = 8),