The i3 FAQ has migrated to https://github.com/i3/i3/discussions. All content here is read-only.
Ask Your Question
0

i3lock hook

asked 2015-09-25 19:25:32 +0000

this post is marked as community wiki

This post is a wiki. Anyone with karma >100 is welcome to improve it.

I need to execute a script when I lock/unlock

is it possible to achieve this behavior using i3lock?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
2

answered 2015-09-25 20:23:32 +0000

Execute your script and let it call i3lock.

https://github.com/srvg/dotfiles/blob...

edit flag offensive delete link more

Comments

That should work, thanks!

i3user gravatar imagei3user ( 2015-09-28 18:06:42 +0000 )edit

Question Tools

Stats

Asked: 2015-09-25 19:25:32 +0000

Seen: 422 times

Last updated: Sep 25