Skip to main content
Topic: Suspend from i3 not waking as expected (Read 661 times) previous topic - next topic
0 Members and 1 Guest are viewing this topic.

Suspend from i3 not waking as expected

Hi all,

I've remapped mod+shift+e in my i3 config to suspend my computer by replacing the default:

Code: [Select]
bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -B 'Yes, exit i3' 'i3-msg exit'

with this:

Code: [Select]
bindsym $mod+Shift+e exec loginctl suspend

and it seems to suspend correctly, but on wake up it will briefly wake and then immediately suspend again. If I wake it a second time, everything wakes as expected - it doesn't get trapped in a suspend loop. Any thoughts on why this is happening?

Thanks!
Evan

EDIT: I put this in the runit category because I am using runit and I think this suspend behavior is coming from runit at some level.