Partially revert a14e732
- elogind is required for pipewire-pulse :(
This commit is contained in:
parent
a14e732e40
commit
fba0142458
2 changed files with 6 additions and 15 deletions
|
@ -26,6 +26,10 @@ def autostop():
|
|||
autostop = os.path.expanduser('~/.config/qtile/stop.sh')
|
||||
subprocess.run([autostop])
|
||||
|
||||
@hook.subscribe.suspend
|
||||
def suspend():
|
||||
qtile.spawn("swaylock --image ~/.config/qtile/wallpaper.img")
|
||||
|
||||
mod = "mod4"
|
||||
groups = [
|
||||
Group("1", label="\uf292"),
|
||||
|
@ -75,12 +79,12 @@ keys = [
|
|||
# WM control
|
||||
Key([mod], "f", lazy.window.toggle_floating()),
|
||||
Key([mod], "q", lazy.window.kill()),
|
||||
Key([mod, "control", "shift"], "l", lazy.spawn("physlock")),
|
||||
Key([mod, "control", "shift"], "l", lazy.spawn("swaylock --image ~/.config/qtile/wallpaper.img")),
|
||||
Key([mod, "control", "shift"], "q", lazy.shutdown()),
|
||||
Key([mod, "control", "shift"], "r", lazy.reload_config()),
|
||||
Key([mod], "r", lazy.reload_config()),
|
||||
# media keys
|
||||
Key([], "XF86AudioMute", lazy.spawn("sb-volume mute")),
|
||||
Key([], "XF86AudioMute", lazy.spawn("pactl set-sink-mute @DEFAULT_SINK@ toggle")),
|
||||
Key([], "XF86AudioMicMute", lazy.spawn("sb-volume micmute")),
|
||||
Key([], "XF86AudioRaiseVolume", lazy.spawn("sb-volume inc")),
|
||||
Key([], "XF86AudioLowerVolume", lazy.spawn("sb-volume dec")),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue