updated qtile config

This commit is contained in:
Dan MacLeod
2023-09-08 22:04:38 +09:30
parent 11ba4ecfd2
commit 15052c6716

View File

@@ -93,7 +93,7 @@ keys = [
Key([mod], "f", lazy.spawn("firefox"), desc="Launch Firefox"),
# Toggle between different layouts as defined below
Key([mod], "Tab", lazy.next_layout(), desc="Toggle between layouts"),
Key([mod], "w", lazy.window.kill(), desc="Kill focused window"),
Key([mod], "q", lazy.window.kill(), desc="Kill focused window"),
Key([mod, "control"], "r", lazy.reload_config(), desc="Reload the config"),
Key([mod, "control"], "q", lazy.shutdown(), desc="Shutdown Qtile"),
Key([mod], "r", lazy.spawncmd(), desc="Spawn a command using a prompt widget"),
@@ -103,6 +103,8 @@ keys = [
Key([], "XF86AudioMute", lazy.spawn("amixer set Master 1+ toggle"), desc="Mute sound"),
Key([], "XF86AudioLowerVolume", lazy.spawn("amixer set Master 5%-"), desc="Reduce volume"),
Key([], "XF86AudioRaiseVolume", lazy.spawn("amixer set Master 5%+"), desc="Increase volume"),
Key([mod], "s", lazy.screen.next_group(skip_managed=True), desc="Switch to Next Group"),
Key([mod], "w", lazy.screen.prev_group(skip_managed=True), desc="Switch to Previous Group"),
]
groups = [Group(i) for i in "123456789"]
@@ -175,8 +177,7 @@ screens = [
Screen(
top=bar.Bar(
[
widget.CurrentLayoutIcon(),
widget.CurrentLayout(background="000000", **powerline),
widget.CurrentLayoutIcon(padding=14, background="000000", **powerline),
widget.GroupBox(background="333333", **powerline),
# widget.Prompt(background="333333", **powerline),
widget.WindowName(background="666666", **powerline),
@@ -205,8 +206,7 @@ screens = [
Screen(
top=bar.Bar(
[
widget.CurrentLayoutIcon(),
widget.CurrentLayout(background="000000", **powerline),
widget.CurrentLayoutIcon(padding=14, background="000000", **powerline),
widget.GroupBox(background="333333", **powerline),
widget.Prompt(background="333333", **powerline),
widget.WindowName(background="666666", **powerline),