dotfiles/README.md

129 lines
4.1 KiB
Markdown
Raw Normal View History

2021-11-20 12:52:59 +01:00
dotfiles - My tiling Spectrwm & i3 WM Configuration (for Devuan/Debian)
=======================================================================
2021-11-20 12:52:59 +01:00
* [Instructions for i3WM configuration](README-i3.md)
2021-11-20 13:20:00 +01:00
![spectrwm](examples/spectrwm.png)
### Installation:
* **`Install dependencies:`**
* Open the terminal and type the following commands:
```shell
2021-11-20 12:52:59 +01:00
$ sudo apt-get install spectrwm compton arc-theme breeze-cursor-theme \
fonts-noto papirus-icon-theme lxappearance nitrogen lxrandr pnmixer \
conky xterm exa fish bat zsh dmenu fzf apcalc rofi picom engrampa \
xarchiver mpv ffmpeg pcmanfm ranger vlc vim geany git nodejs node-base \
python3 npm make cmake gcc cargo neofetch screenfetch lm-sensors pavucontrol \
2021-11-20 16:20:19 +01:00
xfce4-screenshooter xscreensaver alsa-utils pulseaudio-utils light xbacklight
````
2021-11-20 12:52:59 +01:00
* I use `Connman` instead of `NetWorkManager` (`don't install if you prefer or use NetWorkManager`):
```shell
$ sudo apt-get install connman connman-gtk connman-ui connman-vpn
````
2021-11-20 12:52:59 +01:00
* For install `alacritty`, type this commands:
```shell
$ git clone https://github.com/q3aql/dotfiles
$ cd dotfiles
$ chmod +x alacritty-install.sh
$ sudo ./alacritty-install.sh
````
* **`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
$ cp -rfv .* ~/
$ cp -rfv * ~/
````
### Configuration:
* **`Network Manager (Connman or NetWorkManager):`**
2021-11-20 12:52:59 +01:00
* By default is enabled `NetWorkManager` as network manager:
* If you prefer Connman, edit the file `~/.config/spectrwm/spectrwm.conf`:
```shell
2021-11-20 12:52:59 +01:00
# Choose between NetworkManager or Connman
program[connection] = nm-connection-editor
#program[connection] = connman-gtk --no-icon
bind[connection] = MOD+c
````
* **`Monitor & resolution:`**
* The configuration load my monitor configuration:
2021-11-20 12:52:59 +01:00
* Use the command `xrandr` for show your config & edit the file `~/.config/spectrwm/startxrandr.sh`:
```shell
xrandr --output DisplayPort-0 --mode 1280x1024 -r 75.02
xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
````
* **`Wallpaper:`**
* By default, the config load wallpaper on `~/wallpapers/abstract.png`:
2021-11-20 12:52:59 +01:00
* Edit `~/.config/spectrwm/startwallpaper.sh` for set your favorite wallpaper:
2021-11-14 20:40:01 +01:00
```shell
2021-11-20 12:52:59 +01:00
sleep 3
nitrogen --set-centered ~/wallpapers/abstract.png
2021-11-14 20:40:01 +01:00
````
2021-11-20 12:52:59 +01:00
* **`Compositor (Compton or Picom):`**
2021-11-20 12:52:59 +01:00
* By default, the config load `Picom` compositor.
* You can change it editing the lines on `~/.config/spectrwm/startcompositor.sh` file:
```shell
2021-11-20 12:52:59 +01:00
# Load compton or picom (Compositor)
sleep 15
#compton &
picom &
````
### Keys configuration:
My list of extra combinations:
2021-11-20 12:52:59 +01:00
- Win + d = Open Rofi Theme selector
- Win + x = Close Window
- Win + w = Minimize Window
- Win + Shift + w = Maximize/Search Window
- Win + c = Open network configuration
- Win + v = Open volume configuration (Pavucontrol)
- Win + Return = Open terminal (Alacritty)
2021-11-14 20:29:12 +01:00
- Win + n = Open PCManFM
2021-11-20 12:52:59 +01:00
- Win + p = Open Rofi (exec program)
- Win + o = Open Rofi (exec menu program)
- Win + z = Open Wallpaper selector (Nitrogen)
- Win + x = Open LXRandr
- Win + u = Open Xterm
2021-11-14 20:29:12 +01:00
- Win + i = Open LXAppearance
2021-11-20 12:52:59 +01:00
- Win + s = Open Xfce4-Screenshot
- Win + Delete = Poweroff screen
- Win + Shift + Delete = Close session
2021-11-20 16:20:19 +01:00
- Volume-Up = Volume +5
- Volume-Down = Volume -5
- VolumeMute = Mute Volume
- BrightnessUp = Brightness +10
- BrightnessDown = Brightness -10
### 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)