mirror of
https://github.com/swaywm/sway.git
synced 2024-11-14 22:43:58 +01:00
Pacman Hooks for sway without systemd: moved to own wiki page (2 hooks are required now)
parent
6a699ba710
commit
5ef32c83a9
30
Home.md
30
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.
|
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):
|
Use the hook files provided [here](https://github.com/SirCmpwn/sway/wiki/Sway-without-systemd-on-Arch-Linux).
|
||||||
```
|
|
||||||
[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
|
|
||||||
```
|
|
||||||
|
|
||||||
### How do I configure urxvt transparency?
|
### How do I configure urxvt transparency?
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user