hibernates, i3lock starts... But it does not depend on the session whether it is i3 or gnome/kde etc. I just want to start it if it's i3 session
any way to achieve what i desire?
Use pgrep in your script to figure out if i3 is running and only then start i3lock
i did ps -C but that's the same thing
Обсуждают сегодня