Power management under i3 on Arch Linux
📅 Mar 10, 2014
⌛ 1 minute
How to suspend when closing the lid using i3 on (Arch) Linux:
sudo pacman -S xfce4-power-manager
xfce4-power-manager-settings
Make the necessary configuration settings, such as suspending upon closing the lid
vi .config/i3/config
Add this at the bottom:
exec --no-startup-id sleep 3 && xfce4-power-manager