dotfiles/README-i3.md

119 lines
3.9 KiB
Markdown
Raw Permalink Normal View History

2022-05-01 10:43:18 +02:00
dotfiles - My tiling i3 configuration (for Arch/Devuan/Debian)
==============================================================
2021-11-20 12:52:59 +01:00
2021-12-06 14:58:56 +01:00
### My configurations:
2021-11-20 13:20:00 +01:00
2024-05-01 11:07:53 +02:00
* [Qtile](https://git.q3aql.dev/q3aql/dotfiles/src/branch/master/README-qtile.md)
* [i3](https://git.q3aql.dev/q3aql/dotfiles/src/branch/master/README-i3.md)
* [Sway](https://git.q3aql.dev/q3aql/dotfiles/src/branch/master/README-sway.md)
* [Dwm](https://git.q3aql.dev/q3aql/dotfiles/src/branch/master/README-dwm.md)
* [Spectrwm](https://git.q3aql.dev/q3aql/dotfiles/src/branch/master/README-spectrwm.md)
2021-12-06 14:58:56 +01:00
2024-05-01 11:07:53 +02:00
![i3](https://git.q3aql.dev/q3aql/dotfiles/raw/branch/master/examples/i3.png)
2021-11-20 12:52:59 +01:00
### Installation:
* **`Install dependencies:`**
2024-05-01 11:07:53 +02:00
* Read [`How install dependencies on Arch and Devuan/Debian`](https://git.q3aql.dev/q3aql/dotfiles/src/branch/master/Dependencies.md)
2021-11-20 12:52:59 +01:00
* **`Install configuration (dotfiles):`**
* Clone repository and copy files to your home:
```shell
2024-05-01 11:07:53 +02:00
$ git clone https://git.q3aql.dev/q3aql/dotfiles
2021-11-20 12:52:59 +01:00
$ cd dotfiles
2022-03-26 14:41:16 +01:00
$ chmod +x install-config.sh
$ ./install-config.sh
2021-11-20 12:52:59 +01:00
````
### Configuration:
* **`Network Manager (Connman or NetWorkManager):`**
2021-11-20 18:27:26 +01:00
* By default is enabled `NetWorkManager` as network manager:
2021-12-18 11:41:26 +01:00
* If you prefer `Connman`, edit the file `~/.config/i3/config`:
2021-11-20 12:52:59 +01:00
```shell
2021-11-20 18:27:26 +01:00
#exec --no-startup-id connman-gtk --tray &
exec --no-startup-id nm-applet &
2021-11-20 12:52:59 +01:00
````
* **`Monitor & resolution:`**
* The configuration load my monitor configuration:
* Use the command `xrandr` for show your config & edit the file `~/.config/i3/startxrandr.sh`:
```shell
sleep 2
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:`**
2022-05-01 10:39:57 +02:00
* By default, the config load wallpaper on `~/wallpapers/abstract.png`:
2021-11-20 12:52:59 +01:00
* Edit `~/.config/i3/config` for set your favorite wallpaper:
```shell
2022-05-01 10:39:57 +02:00
exec --no-startup-id "sleep 3 && nitrogen --set-scaled ~/wallpapers/abstract.png"
2021-11-20 12:52:59 +01:00
````
2021-12-13 21:55:51 +01:00
* **`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/i3/startscreensaver.sh`:
```shell
# Basic configuration variables
ScreensaverProgram="xautolock" # Options: xautolock or xscreensaver
ScreensaverTime="20" # 20 minutes (only for xautolock)
````
2022-05-01 10:39:57 +02:00
* **`Enable Gaps (Optional):`**
2021-11-20 12:52:59 +01:00
* My config work on vanilla i3wm and gaps are disabled.
* You can enable it editing 2 lines on file `~/.config/i3/config` and pressing `Win+Shift+r`:
```shell
2023-01-03 14:14:41 +01:00
#gaps inner 2
#gaps outer 1
2021-11-20 12:52:59 +01:00
````
### Keys configuration:
My list of extra combinations:
2021-12-04 21:33:24 +01:00
- Super + d = Open Dmenu
- 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 + g = Open Geany
- Super + m = Open Telegram
- Super + z = Open Nitrogen
- Super + x = Open LXRandr
- Super + u = Open Xterm
- Super + i = Open LXAppearance
- Super + c = Open NetWorkManager
2023-05-14 19:12:23 +02:00
- Super + Shift + c = Caffeine Mode
- Super + Shift + x = Display Tools
2021-12-04 21:33:24 +01:00
- Volume-Up = Volume +5
- Volume-Down = Volume -5
- VolumeMute = Mute Volume
- Super + Ctrl + Shift + e = Poweroff screen
2021-12-12 17:54:28 +01:00
- Super + Shift + e = Logout
2021-12-04 21:33:24 +01:00
- Super + Backspace = Open menu Logout/Lock/Reboot/Shutdown
2021-11-20 12:52:59 +01:00
### External links:
* [Antonio Sarosi](https://github.com/antoniosarosi/dotfiles/)
* [Derek Taylor](https://gitlab.com/dwt1/dotfiles/)
2021-11-20 14:23:01 +01:00
* [TWB0109](https://github.com/TWB0109/PDots)
2021-11-20 12:52:59 +01:00
* [i3-style](https://github.com/altdesktop/i3-style)
* [addy-dclxvi](https://github.com/addy-dclxvi/i3-starterpack)
* [i3-gaps](https://github.com/Airblader/i3)