i noticed that after reload, sway doesn't kill previous swayidle, so i made this script to kill it myself. Fine, i'll do it myself. As one once said
8 lines
75 B
Bash
Executable File
8 lines
75 B
Bash
Executable File
#! /bin/bash
|
|
|
|
killall swayidle
|
|
|
|
cmd="swaylock"
|
|
|
|
swayidle before-sleep $cmd
|