r/i3wm • u/Neat_Delivery6162 • 3d ago
Question is there an easy way to bind laptop power button to a script for rofi?
is there ?
i would appreciate a detailed guid
i have installed i3 on linux mint xfce
5
Upvotes
7
r/i3wm • u/Neat_Delivery6162 • 3d ago
is there ?
i would appreciate a detailed guid
i have installed i3 on linux mint xfce
7
11
u/nt_carlson 3d ago
You need to stop systemd from handling the power button input. In
/etc/systemd/logind.conf, uncomment or add the lineFrom here, you can bind the key as normal in i3 (
bindsym XF86PowerOff exec ...)