-
Notifications
You must be signed in to change notification settings - Fork 5
installation
Nabeen Tiwaree edited this page Nov 1, 2022
·
3 revisions
This wiki page will guide you through getting ewm working on your system.
ewm is
-
xlib(usuallylibX11) dependent , make it available then you can install it as follows ...
$ git clone --depth=1 https://github.com/pwnwriter/ewm.git
$ cd ewm
$ make
$ sudo/doas make clean installwith yay:
$ yay -Syy ewm
with paru:
$ paru -Syy ewm
$ sudo/doas pacman -Syyy ewm
Ewm's swpb script uses doas for POWEROFF menu so you need to either configure it manually or install doas
$ sudo pacman -S doas
$ sudo apt install doas
$ sudo dnf install doas
After installing doas add the followings to your doas configuration file.
permit persist :wheel permit nopass :audio as root cmd reboot permit nopass :audio as root cmd poweroff permit nopass :audio as root cmd zzz
NOTE
zzzis specific toRUNIT, see manuals according to your distro and change inswpbscript
POWEROFF() { selected=$(printf "%s\n" "cancel" "shutdown" "reboot" "sleep" "tty"| dmenu) if [ "$selected" = "shutdown" ]; then doas poweroff elif [ "$selected" = "reboot" ]; then doas reboot elif [ "$selected" = "sleep" ]; then doas zzz elif [ "$selected" = "cancel" ]; then return elif [ "$selected" = "tty" ]; then pkill x fi }
For eg, In arch linux its
# systemctl halt # systemctl poweroff # systemctl reboot # systemctl suspend # systemctl hibernate # systemctl hybrid-sleep
ig you got me ;)