In some systems (looking at you Wayland) I replace the “emacs” package with “emacs-wayland”.
sudo pacman -S emacs \\
rofi \\
grim \\
slurp \\
wl-clipboard \\
pcmanfm \\
gnome-keyring \\
kdeconnect \\
remmina \\
waybar \\
playerctl \\
brightnessctl \\
network-manager-applet \\
swaybg \\
acpi \\
jqhttps://aur.archlinux.org/swayfx.git
https://aur.archlinux.org/scenefx0.4.git
https://aur.archlinux.org/vesktop.git
https://aur.archlinux.org/wdisplays-git.gitStart Emacs as a daemon on login with
systemctl --user enable emacs Ensure the entire content of the [Login] section of /etc/systemd//logind.conf is commeted out.
The file .config/powerctrl/lid.sh controls the behavior of the laptop lid.
- Lid Closed and unplugged : Powers off
- Lid Closed and plugged in : Lock screen
- Lid Closed and Docked : Ignore
- All Else : Ignore
The LAPTOP_PANEL variable may have to change depending on the type of system.