Add awesome wm and some corrections

This commit is contained in:
Cavernosa 2022-07-16 14:53:34 +00:00 committed by GitHub
parent b5d3ef0a70
commit 4e24154cac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,6 +20,8 @@ On Debian-based distros running `apt install build-essential libpam0g-dev libxcb
## Support
The following desktop environments were tested with success
- awesome
- bspwm
- budgie
- cinnamon
@ -32,14 +34,14 @@ The following desktop environments were tested with success
- lxde
- lxqt
- mate
- maxx
- pantheon
- qtile
- spectrwm
- sway
- windowmaker
- xfce
- xmonad
- pantheon
- maxx
- windowmaker
- spectrwm
Ly should work with any X desktop environment, and provides
basic wayland support (sway works very well, for example).
@ -53,45 +55,45 @@ changing the source code won't be necessary :)
## Cloning and Compiling
Clone the repository
```
git clone --recurse-submodules https://github.com/nullgemm/ly
$ git clone --recurse-submodules https://github.com/nullgemm/ly
```
Change the directory to ly
```
cd ly
$ cd ly
```
Compile
```
make
$ make
```
Test in the configured tty (tty2 by default)
or a terminal emulator (but desktop environments won't start)
```
sudo make run
# make run
```
Install Ly and the provided systemd service file
```
sudo make install
# make install
```
Enable the service
```
sudo systemctl enable ly.service
# systemctl enable ly.service
```
If you need to switch between ttys after Ly's start you also have to
disable getty on Ly's tty to prevent "login" from spawning on top of it
```
sudo systemctl disable getty@tty2.service
# systemctl disable getty@tty2.service
```
## Arch Linux Installation
From [AUR](https://aur.archlinux.org/packages/ly):
```
yay -S ly
# yay -S ly
```
## Configuration
@ -106,12 +108,10 @@ while on the desktop field (above the login field).
## .xinitrc
If your .xinitrc doesn't work make sure it is executable and includes a shebang.
This file is supposed to be a shell script! Quoting from xinit's man page:
```
If no specific client program is given on the command line, xinit will look for
a file in the user's home directory called .xinitrc to run as a shell script to
start up client programs.
```
On ArchLinux, the example .xinitrc (/etc/X11/xinit/xinitrc) starts like this:
> If no specific client program is given on the command line, xinit will look for a file in the user's home directory called .xinitrc to run as a shell script to start up client programs.
On Arch Linux, the example .xinitrc (/etc/X11/xinit/xinitrc) starts like this:
```
#!/bin/sh
```