2022-05-01 11:58:42 +02:00
|
|
|
dotfiles - My tiling Dwm configuration (for Arch/Devuan/Debian)
|
|
|
|
===============================================================
|
|
|
|
|
|
|
|
### My configurations:
|
|
|
|
|
|
|
|
* [Qtile](README-qtile.md)
|
|
|
|
* [i3](README-i3.md)
|
|
|
|
* [Sway](README-sway.md)
|
|
|
|
* [Dwm](README-dwm.md)
|
|
|
|
* [Spectrwm](README-spectrwm.md)
|
|
|
|
|
|
|
|
![dwm](examples/dwm.png)
|
|
|
|
|
|
|
|
### Installation:
|
|
|
|
|
|
|
|
* **`Install dependencies:`**
|
|
|
|
|
|
|
|
* Read [`How install dependencies on Arch and Devuan/Debian`](Dependencies.md)
|
|
|
|
|
|
|
|
* **`Install configuration (dotfiles):`**
|
|
|
|
|
|
|
|
* Clone repository and copy files to your home:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
$ git clone https://github.com/q3aql/dotfiles
|
|
|
|
$ cd dotfiles
|
|
|
|
$ chmod +x install-config.sh
|
|
|
|
$ ./install-config.sh
|
|
|
|
````
|
|
|
|
|
|
|
|
### Configuration:
|
|
|
|
|
|
|
|
* **`Network Manager (Connman or NetWorkManager):`**
|
|
|
|
|
|
|
|
* By default is enabled `NetWorkManager` as network manager:
|
|
|
|
* If you prefer `Connman`, edit the file `~/.config/dwm/autostart.sh`:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
#connman-gtk --tray &
|
|
|
|
nm-applet &
|
|
|
|
````
|
|
|
|
|
|
|
|
* **`Monitor & resolution:`**
|
|
|
|
|
|
|
|
* The configuration load my monitor configuration:
|
|
|
|
* Use the command `xrandr` for show your config & edit the file `~/.config/dwm/startxrandr.sh`:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
xrandr --output DP-1 --mode 1920x1200 -r 59.95
|
|
|
|
xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
|
|
|
|
````
|
|
|
|
|
|
|
|
* **`Wallpaper:`**
|
|
|
|
|
2022-05-21 22:13:23 +02:00
|
|
|
* By default, the config load wallpaper on `~/wallpapers/awesome.jpg`:
|
2022-05-01 11:58:42 +02:00
|
|
|
* Edit `~/.config/dwm/autostart.sh` for set your favorite wallpaper:
|
|
|
|
|
|
|
|
```shell
|
2022-05-21 22:13:23 +02:00
|
|
|
wallpaper_path="${HOME}/wallpapers/awesome.jpg"
|
2022-05-01 11:58:42 +02:00
|
|
|
sleep 5 && nitrogen --head=0 --set-scaled ${wallpaper_path} &
|
|
|
|
````
|
|
|
|
|
|
|
|
* **`Set Screensaver (Optional):`**
|
|
|
|
|
|
|
|
* The configuration file set `xautolock` with 20 minutes as screensaver:
|
|
|
|
* You can change the program between `xautolock` and `xscreensaver` editing the file `~/.config/dwm/startscreensaver.sh`:
|
|
|
|
|
|
|
|
```shell
|
|
|
|
# Basic configuration variables
|
|
|
|
ScreensaverProgram="xautolock" # Options: xautolock or xscreensaver
|
|
|
|
ScreensaverTime="20" # 20 minutes (only for xautolock)
|
|
|
|
````
|
|
|
|
|
|
|
|
* **`Build and install:`**
|
|
|
|
|
|
|
|
* For build and install dwm, uses the following commands:
|
|
|
|
|
|
|
|
```shell
|
2022-05-01 12:05:32 +02:00
|
|
|
$ cd ~/.config/dwm
|
|
|
|
$ make
|
|
|
|
$ sudo make install
|
|
|
|
$ make clean
|
2022-05-01 11:58:42 +02:00
|
|
|
````
|
|
|
|
|
|
|
|
### Keys configuration:
|
|
|
|
|
|
|
|
My list of extra combinations:
|
|
|
|
|
|
|
|
- Super + Tab = Next Layout
|
|
|
|
- Super + Shift + Tab = Previous Layout
|
|
|
|
- Super + Shift + f = Floating Window
|
2022-05-21 23:18:17 +02:00
|
|
|
- Super + i = Next Window Layout
|
|
|
|
- Super + Shift + i = Previous Window Layout
|
2022-05-01 11:58:42 +02:00
|
|
|
- Super + p = Open Rofi (run mode)
|
|
|
|
- Super + q = Open Rofi (window mode)
|
|
|
|
- Super + o = Open Rofi (drun mode)
|
|
|
|
- Super + b = Open Firefox
|
|
|
|
- Super + n = Open PCManFM
|
|
|
|
- Super + t = Open Rofi Theme Selector
|
|
|
|
- Super + e = Open Geany
|
|
|
|
- Super + m = Open Telegram
|
|
|
|
- Super + z = Open Nitrogen
|
|
|
|
- Super + x = Open LXRandr
|
|
|
|
- Super + u = Open Xterm
|
2022-05-21 23:18:17 +02:00
|
|
|
- Super + a = Open LXAppearance
|
2022-05-01 11:58:42 +02:00
|
|
|
- Super + s = Open Screenshooter
|
|
|
|
- Volume-Up = Volume +5
|
|
|
|
- Volume-Down = Volume -5
|
|
|
|
- VolumeMute = Mute Volume
|
|
|
|
- Super + Shift + q = Kill
|
2022-05-21 21:23:14 +02:00
|
|
|
- Super + Ctrl + r = Restart Dwm
|
|
|
|
- Super + Ctrl + q = Close session
|
2022-05-01 11:58:42 +02:00
|
|
|
|
|
|
|
### External links:
|
|
|
|
|
|
|
|
* [Antonio Sarosi](https://github.com/antoniosarosi/dotfiles/)
|
|
|
|
* [Derek Taylor](https://gitlab.com/dwt1/dotfiles/)
|
|
|
|
* [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)
|