From 5ef32c83a97d38ac4ad236eab4f21a1ba2bfe2a7 Mon Sep 17 00:00:00 2001 From: robotanarchy Date: Thu, 29 Dec 2016 07:45:39 +0000 Subject: [PATCH] Pacman Hooks for sway without systemd: moved to own wiki page (2 hooks are required now) --- Home.md | 30 ++---------------------------- 1 file changed, 2 insertions(+), 28 deletions(-) diff --git a/Home.md b/Home.md index 83f9e79..e804f23 100644 --- a/Home.md +++ b/Home.md @@ -163,35 +163,9 @@ $ make Rotation is not currently supported. This needs to be implemented in WLC. See https://github.com/Cloudef/wlc/issues/86. -### I run an [Arch Linux based distribution without systemd.](https://wiki.parabola.nu/OpenRC) How can I automagically apply the setuid-bit on sway after each upgrade? +### I run an [Arch Linux based distribution without systemd.](https://wiki.parabola.nu/OpenRC) and sway does not start. -Put this [pacman hook](https://wiki.archlinux.org/index.php/Pacman#Hooks) in `/etc/pacman.d/hooks/sway-setuid.hook` (you may need to create the `hooks` folder first): -``` -[Trigger] -Operation = Install -Type = Package -Target = sway - -[Trigger] -Operation = Upgrade -Type = Package -Target = sway - -[Trigger] -Operation = Install -Type = Package -Target = sway-git - -[Trigger] -Operation = Upgrade -Type = Package -Target = sway-git - -[Action] -Description = Applying setuid-bit to /usr/bin/sway -When = PostTransaction -Exec = /usr/bin/chmod +s /usr/bin/sway -``` +Use the hook files provided [here](https://github.com/SirCmpwn/sway/wiki/Sway-without-systemd-on-Arch-Linux). ### How do I configure urxvt transparency?