dotfiles/README.md

108 lines
3.3 KiB
Markdown
Raw Normal View History

2022-05-01 11:58:42 +02:00
dotfiles - My tiling Qtile, Spectrwm, i3, Dwm & Sway configurations (for Arch/Devuan/Debian)
============================================================================================
2021-12-06 14:58:56 +01:00
### My configurations:
2022-04-23 22:11:52 +02:00
* [Qtile](README-qtile.md)
2022-05-01 10:44:35 +02:00
* [i3](README-i3.md)
2022-05-01 10:43:18 +02:00
* [Sway](README-sway.md)
2022-05-01 11:58:42 +02:00
* [Dwm](README-dwm.md)
2022-05-01 10:43:18 +02:00
* [Spectrwm](README-spectrwm.md)
2022-04-25 18:21:54 +02:00
![qtile](examples/qtile.png)
2021-11-20 13:20:00 +01:00
### Installation:
* **`Install dependencies:`**
2022-03-26 14:41:16 +01:00
* Read [`How install dependencies on Arch and Devuan/Debian`](Dependencies.md)
* **`Install configuration (dotfiles):`**
2021-11-14 20:32:10 +01:00
* Clone repository and copy files to your home:
```shell
$ git clone https://github.com/q3aql/dotfiles
$ cd dotfiles
2022-03-26 14:41:16 +01:00
$ chmod +x install-config.sh
$ ./install-config.sh
2022-05-01 10:43:18 +02:00
$ sudo pip psutils
````
### Configuration:
* **`Network Manager (Connman or NetWorkManager):`**
2021-11-20 12:52:59 +01:00
* By default is enabled `NetWorkManager` as network manager:
2022-04-23 22:11:52 +02:00
* If you prefer `Connman`, edit the file `~/.config/qtile/autostart.sh`:
```shell
2022-04-23 22:11:52 +02:00
#connman-gtk --tray &
nm-applet
2021-11-26 20:26:07 +01:00
````
* **`Monitor & resolution:`**
* The configuration load my monitor configuration:
2022-04-23 22:11:52 +02:00
* Use the command `xrandr` for show your config & edit the file `~/.config/qtile/startxrandr.sh`:
```shell
2022-04-04 23:35:13 +02:00
sleep 2
2022-04-23 22:11:52 +02:00
xrandr --output DisplayPort-0 --mode 1920x1200 -r 59.95
xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
````
* **`Wallpaper:`**
2022-04-23 22:11:52 +02:00
* By default, the config load wallpaper on `~/wallpapers/archlinux2.jpg`:
* Edit `~/.config/qtile/autostart.sh` for set your favorite wallpaper:
2021-11-14 20:40:01 +01:00
```shell
2022-04-23 22:11:52 +02:00
sleep 3 && nitrogen --head=0 --set-scaled ~/wallpapers/archlinux2.jpg
nitrogen --head=1 --set-zoom-fill ~/wallpapers/archlinux2.jpg
2021-11-14 20:40:01 +01:00
````
2021-12-13 21:55:51 +01:00
* **`Set Screensaver (Optional):`**
2021-12-13 22:00:50 +01:00
* The configuration file set `xautolock` with 20 minutes as screensaver:
2022-04-23 22:11:52 +02:00
* You can change the program between `xautolock` and `xscreensaver` editing the file `~/.config/qtile/startscreensaver.sh`:
2021-12-13 21:55:51 +01:00
```shell
# Basic configuration variables
ScreensaverProgram="xautolock" # Options: xautolock or xscreensaver
ScreensaverTime="20" # 20 minutes (only for xautolock)
````
### Keys configuration:
My list of extra combinations:
2022-04-23 22:11:52 +02:00
- Super + Tab = Next Layout
- Super + Shift + Tab = Previous Layout
- Super + Shift + f = Floating Window
2022-04-04 23:35:13 +02:00
- Super + p = Open Rofi (run mode)
- Super + q = Open Rofi (window mode)
- Super + o = Open Rofi (drun mode)
- Super + b = Open Firefox
2021-12-04 21:33:24 +01:00
- Super + n = Open PCManFM
2022-04-04 23:35:13 +02:00
- Super + t = Open Rofi Theme Selector
- Super + g = Open Geany
- Super + m = Open Telegram
- Super + z = Open Nitrogen
2021-12-04 21:33:24 +01:00
- Super + x = Open LXRandr
- Super + u = Open Xterm
- Super + i = Open LXAppearance
2022-04-23 22:11:52 +02:00
- Super + s = Open Screenshooter
2021-11-20 16:20:19 +01:00
- Volume-Up = Volume +5
- Volume-Down = Volume -5
- VolumeMute = Mute Volume
2022-04-23 22:11:52 +02:00
- Super + Shift + q = Shutdown
### External links:
* [Antonio Sarosi](https://github.com/antoniosarosi/dotfiles/)
2021-11-20 12:52:59 +01:00
* [Derek Taylor](https://gitlab.com/dwt1/dotfiles/)
2021-11-20 14:23:01 +01:00
* [TWB0109](https://github.com/TWB0109/PDots)
* [i3-style](https://github.com/altdesktop/i3-style)
* [addy-dclxvi](https://github.com/addy-dclxvi/i3-starterpack)
* [i3-gaps](https://github.com/Airblader/i3)