Revert of 570daf6a1c
This commit is contained in:
parent
570daf6a1c
commit
3ec75a893b
1 changed files with 5 additions and 4 deletions
|
@ -1,6 +1,6 @@
|
||||||
import os
|
import os
|
||||||
import subprocess
|
import subprocess
|
||||||
from libqtile import bar, extension, hook, layout, qtile
|
from libqtile import bar, extension, hook, layout
|
||||||
from libqtile.lazy import lazy
|
from libqtile.lazy import lazy
|
||||||
from libqtile.config import Click, Drag, DropDown, Group, Key, Match, ScratchPad, Screen
|
from libqtile.config import Click, Drag, DropDown, Group, Key, Match, ScratchPad, Screen
|
||||||
from libqtile.backend.wayland import InputConfig
|
from libqtile.backend.wayland import InputConfig
|
||||||
|
@ -25,9 +25,10 @@ def autostop():
|
||||||
autostop = os.path.expanduser('~/.config/qtile/stop.sh')
|
autostop = os.path.expanduser('~/.config/qtile/stop.sh')
|
||||||
subprocess.Popen([autostop])
|
subprocess.Popen([autostop])
|
||||||
|
|
||||||
@hook.subscribe.suspend
|
@hook.subscribe.resume
|
||||||
def suspend():
|
def resume():
|
||||||
qtile.spawn("swaylock --image ~/.config/qtile/wallpaper.img")
|
wallpaper = os.path.expanduser('~/.config/qtile/wallpaper.img')
|
||||||
|
subprocess.Popen(['swaylock', '--image', wallpaper])
|
||||||
|
|
||||||
mod = "mod4"
|
mod = "mod4"
|
||||||
groups = [
|
groups = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue