Dotfiles config update (2022-04-23)
This commit is contained in:
parent
9dc4edd23f
commit
99bdf85355
|
@ -4,15 +4,12 @@ scan_rel=0
|
||||||
|
|
||||||
sleep 2
|
sleep 2
|
||||||
while [ ${scan_rel} -eq 0 ] ; do
|
while [ ${scan_rel} -eq 0 ] ; do
|
||||||
# Primer monitor
|
# First monitor
|
||||||
xrandr --output DP-1 --mode 1920x1200 -r 59.95
|
|
||||||
xrandr --output DisplayPort-0 --mode 1920x1200 -r 59.95
|
xrandr --output DisplayPort-0 --mode 1920x1200 -r 59.95
|
||||||
# Segundo monitor
|
# Second monitor
|
||||||
xrandr --output DP-2 --mode 1280x1024 -r 75.02 --rotate left --right-of DP-1
|
|
||||||
xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
|
xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
|
||||||
#xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --scale 1.1x1.1 --rotate left --right-of DisplayPort-0
|
|
||||||
sleep 2
|
sleep 2
|
||||||
done
|
done
|
||||||
#sleep 2
|
#sleep 2
|
||||||
#xrandr --output DisplayPort-0 --mode 1280x1024 -r 75.02
|
#xrandr --output DisplayPort-0 --mode 1920x1200 -r 59.95
|
||||||
#xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
|
#xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
|
||||||
|
|
|
@ -21,7 +21,7 @@ dotfiles - My tiling spectrwm, i3 & sway configurations (for Arch/Devuan/Debian)
|
||||||
xfce4-screenshooter xscreensaver alsa-utils pulseaudio-alsa light xorg-xbacklight \
|
xfce4-screenshooter xscreensaver alsa-utils pulseaudio-alsa light xorg-xbacklight \
|
||||||
xorg-xrandr sway swaybg swayidle wofi meson waybar wayland-protocols xorg-xwayland \
|
xorg-xrandr sway swaybg swayidle wofi meson waybar wayland-protocols xorg-xwayland \
|
||||||
wf-recorder xdg-desktop-portal-wlr wl-clipboard grim slurp jq wlroots pulseaudio \
|
wf-recorder xdg-desktop-portal-wlr wl-clipboard grim slurp jq wlroots pulseaudio \
|
||||||
alacritty
|
alacritty qtile
|
||||||
````
|
````
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
@ -74,6 +74,15 @@ dotfiles - My tiling spectrwm, i3 & sway configurations (for Arch/Devuan/Debian)
|
||||||
$ sudo scripts/i3-gaps-install.sh
|
$ sudo scripts/i3-gaps-install.sh
|
||||||
````
|
````
|
||||||
|
|
||||||
|
* For install `qtile`, type this commands:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ sudo apt install xserver-xorg xinit
|
||||||
|
$ sudo apt install libpangocairo-1.0-0
|
||||||
|
$ sudo apt install python3-pip python3-xcffib python3-cairocffi
|
||||||
|
$ pip install qtile
|
||||||
|
````
|
||||||
|
|
||||||
* I use `Connman` instead of `NetWorkManager` (`don't install if you prefer or use NetWorkManager`):
|
* I use `Connman` instead of `NetWorkManager` (`don't install if you prefer or use NetWorkManager`):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
|
|
|
@ -3,6 +3,7 @@ dotfiles - My tiling i3 + i3blocks configuration (for Arch/Devuan/Debian)
|
||||||
|
|
||||||
### My configurations:
|
### My configurations:
|
||||||
|
|
||||||
|
* [Qtile](README-qtile.md)
|
||||||
* [i3 + polybar](README-i3-polybar.md)
|
* [i3 + polybar](README-i3-polybar.md)
|
||||||
* [i3 + i3status](README-i3.md)
|
* [i3 + i3status](README-i3.md)
|
||||||
* [i3 + i3blocks](README-i3-i3blocks.md)
|
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||||
|
|
|
@ -3,6 +3,7 @@ dotfiles - My tiling i3 + polybar configuration (for Arch/Devuan/Debian)
|
||||||
|
|
||||||
### My configurations:
|
### My configurations:
|
||||||
|
|
||||||
|
* [Qtile](README-qtile.md)
|
||||||
* [i3 + polybar](README-i3-polybar.md)
|
* [i3 + polybar](README-i3-polybar.md)
|
||||||
* [i3 + i3status](README-i3.md)
|
* [i3 + i3status](README-i3.md)
|
||||||
* [i3 + i3blocks](README-i3-i3blocks.md)
|
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||||
|
|
|
@ -3,6 +3,7 @@ dotfiles - My tiling i3 + i3status configuration (for Arch/Devuan/Debian)
|
||||||
|
|
||||||
### My configurations:
|
### My configurations:
|
||||||
|
|
||||||
|
* [Qtile](README-qtile.md)
|
||||||
* [i3 + polybar](README-i3-polybar.md)
|
* [i3 + polybar](README-i3-polybar.md)
|
||||||
* [i3 + i3status](README-i3.md)
|
* [i3 + i3status](README-i3.md)
|
||||||
* [i3 + i3blocks](README-i3-i3blocks.md)
|
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||||
|
|
108
README-qtile.md
Normal file
108
README-qtile.md
Normal file
|
@ -0,0 +1,108 @@
|
||||||
|
dotfiles - My tiling Qtile configuration (for Arch/Devuan/Debian)
|
||||||
|
=================================================================
|
||||||
|
|
||||||
|
### My configurations:
|
||||||
|
|
||||||
|
* [Qtile](README-qtile.md)
|
||||||
|
* [i3 + polybar](README-i3-polybar.md)
|
||||||
|
* [i3 + i3status](README-i3.md)
|
||||||
|
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||||
|
* [sway](README-sway.md)
|
||||||
|
* [spectrwm](README-spectrwm.md)
|
||||||
|
* [spectrwm + polybar](README-spectrwm-polybar.md)
|
||||||
|
|
||||||
|
![i3-polybar](examples/qtile.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/qtile/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/qtile/startxrandr.sh`:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
sleep 2
|
||||||
|
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:`**
|
||||||
|
|
||||||
|
* By default, the config load wallpaper on `~/wallpapers/archlinux2.jpg`:
|
||||||
|
* Edit `~/.config/qtile/autostart.sh` for set your favorite wallpaper:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
sleep 3 && nitrogen --head=0 --set-scaled ~/wallpapers/archlinux2.jpg
|
||||||
|
nitrogen --head=1 --set-zoom-fill ~/wallpapers/archlinux2.jpg
|
||||||
|
````
|
||||||
|
|
||||||
|
* **`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/qtile/startscreensaver.sh`:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
# Basic configuration variables
|
||||||
|
ScreensaverProgram="xautolock" # Options: xautolock or xscreensaver
|
||||||
|
ScreensaverTime="20" # 20 minutes (only for xautolock)
|
||||||
|
````
|
||||||
|
### Keys configuration:
|
||||||
|
|
||||||
|
My list of extra combinations:
|
||||||
|
|
||||||
|
- Super + Tab = Next Layout
|
||||||
|
- Super + Shift + Tab = Previous Layout
|
||||||
|
- Super + Shift + f = Floating Window
|
||||||
|
- 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 + s = Open Screenshooter
|
||||||
|
- Volume-Up = Volume +5
|
||||||
|
- Volume-Down = Volume -5
|
||||||
|
- VolumeMute = Mute Volume
|
||||||
|
- Super + Shift + q = Shutdown
|
||||||
|
|
||||||
|
### 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)
|
|
@ -3,6 +3,7 @@ dotfiles - My tiling spectrwm + polybar configuration (for Arch/Devuan/Debian)
|
||||||
|
|
||||||
### My configurations:
|
### My configurations:
|
||||||
|
|
||||||
|
* [Qtile](README-qtile.md)
|
||||||
* [i3 + polybar](README-i3-polybar.md)
|
* [i3 + polybar](README-i3-polybar.md)
|
||||||
* [i3 + i3status](README-i3.md)
|
* [i3 + i3status](README-i3.md)
|
||||||
* [i3 + i3blocks](README-i3-i3blocks.md)
|
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||||
|
|
|
@ -3,6 +3,7 @@ dotfiles - My tiling spectrwm configuration (for Arch/Devuan/Debian)
|
||||||
|
|
||||||
### My configurations:
|
### My configurations:
|
||||||
|
|
||||||
|
* [Qtile](README-qtile.md)
|
||||||
* [i3 + polybar](README-i3-polybar.md)
|
* [i3 + polybar](README-i3-polybar.md)
|
||||||
* [i3 + i3status](README-i3.md)
|
* [i3 + i3status](README-i3.md)
|
||||||
* [i3 + i3blocks](README-i3-i3blocks.md)
|
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||||
|
|
|
@ -3,6 +3,7 @@ dotfiles - My tiling sway configuration (for Arch/Devuan/Debian)
|
||||||
|
|
||||||
### My configurations:
|
### My configurations:
|
||||||
|
|
||||||
|
* [Qtile](README-qtile.md)
|
||||||
* [i3 + polybar](README-i3-polybar.md)
|
* [i3 + polybar](README-i3-polybar.md)
|
||||||
* [i3 + i3status](README-i3.md)
|
* [i3 + i3status](README-i3.md)
|
||||||
* [i3 + i3blocks](README-i3-i3blocks.md)
|
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||||
|
|
48
README.md
48
README.md
|
@ -1,8 +1,9 @@
|
||||||
dotfiles - My tiling spectrwm, i3 & sway configurations (for Arch/Devuan/Debian)
|
dotfiles - My tiling Qtile, spectrwm, i3 & sway configurations (for Arch/Devuan/Debian)
|
||||||
================================================================================
|
=======================================================================================
|
||||||
|
|
||||||
### My configurations:
|
### My configurations:
|
||||||
|
|
||||||
|
* [Qtile](README-qtile.md)
|
||||||
* [i3 + polybar](README-i3-polybar.md)
|
* [i3 + polybar](README-i3-polybar.md)
|
||||||
* [i3 + i3status](README-i3.md)
|
* [i3 + i3status](README-i3.md)
|
||||||
* [i3 + i3blocks](README-i3-i3blocks.md)
|
* [i3 + i3blocks](README-i3-i3blocks.md)
|
||||||
|
@ -10,7 +11,7 @@ dotfiles - My tiling spectrwm, i3 & sway configurations (for Arch/Devuan/Debian)
|
||||||
* [spectrwm](README-spectrwm.md)
|
* [spectrwm](README-spectrwm.md)
|
||||||
* [spectrwm + polybar](README-spectrwm-polybar.md)
|
* [spectrwm + polybar](README-spectrwm-polybar.md)
|
||||||
|
|
||||||
![i3-polybar](examples/i3wm-polybar.png)
|
![i3-polybar](examples/qtile.png)
|
||||||
|
|
||||||
### Installation:
|
### Installation:
|
||||||
|
|
||||||
|
@ -27,7 +28,6 @@ dotfiles - My tiling spectrwm, i3 & sway configurations (for Arch/Devuan/Debian)
|
||||||
$ cd dotfiles
|
$ cd dotfiles
|
||||||
$ chmod +x install-config.sh
|
$ chmod +x install-config.sh
|
||||||
$ ./install-config.sh
|
$ ./install-config.sh
|
||||||
$ cp -rfv ~/.config/i3/config.polybar ~/.config/i3/config
|
|
||||||
````
|
````
|
||||||
|
|
||||||
### Configuration:
|
### Configuration:
|
||||||
|
@ -35,59 +35,51 @@ dotfiles - My tiling spectrwm, i3 & sway configurations (for Arch/Devuan/Debian)
|
||||||
* **`Network Manager (Connman or NetWorkManager):`**
|
* **`Network Manager (Connman or NetWorkManager):`**
|
||||||
|
|
||||||
* By default is enabled `NetWorkManager` as network manager:
|
* By default is enabled `NetWorkManager` as network manager:
|
||||||
* If you prefer `Connman`, edit the file `~/.config/i3/config`:
|
* If you prefer `Connman`, edit the file `~/.config/qtile/autostart.sh`:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#exec --no-startup-id connman-gtk --tray &
|
#connman-gtk --tray &
|
||||||
exec --no-startup-id nm-applet &
|
nm-applet
|
||||||
````
|
````
|
||||||
|
|
||||||
* **`Monitor & resolution:`**
|
* **`Monitor & resolution:`**
|
||||||
|
|
||||||
* The configuration load my monitor configuration:
|
* The configuration load my monitor configuration:
|
||||||
* Use the command `xrandr` for show your config & edit the file `~/.config/i3/startxrandr.sh`:
|
* Use the command `xrandr` for show your config & edit the file `~/.config/qtile/startxrandr.sh`:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sleep 2
|
sleep 2
|
||||||
xrandr --output DisplayPort-0 --mode 1280x1024 -r 75.02
|
xrandr --output DisplayPort-0 --mode 1920x1200 -r 59.95
|
||||||
xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
|
xrandr --output DisplayPort-1 --mode 1280x1024 -r 75.02 --rotate left --right-of DisplayPort-0
|
||||||
````
|
````
|
||||||
|
|
||||||
* **`Wallpaper:`**
|
* **`Wallpaper:`**
|
||||||
|
|
||||||
* By default, the config load wallpaper on `~/wallpapers/abstract.png`:
|
* By default, the config load wallpaper on `~/wallpapers/archlinux2.jpg`:
|
||||||
* Edit `~/.config/i3/config` for set your favorite wallpaper:
|
* Edit `~/.config/qtile/autostart.sh` for set your favorite wallpaper:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
exec --no-startup-id "sleep 3 && nitrogen --set-scaled ~/wallpapers/abstract.png"
|
sleep 3 && nitrogen --head=0 --set-scaled ~/wallpapers/archlinux2.jpg
|
||||||
|
nitrogen --head=1 --set-zoom-fill ~/wallpapers/archlinux2.jpg
|
||||||
````
|
````
|
||||||
|
|
||||||
* **`Set Screensaver (Optional):`**
|
* **`Set Screensaver (Optional):`**
|
||||||
|
|
||||||
* The configuration file set `xautolock` with 20 minutes as screensaver:
|
* 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`:
|
* You can change the program between `xautolock` and `xscreensaver` editing the file `~/.config/qtile/startscreensaver.sh`:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
# Basic configuration variables
|
# Basic configuration variables
|
||||||
ScreensaverProgram="xautolock" # Options: xautolock or xscreensaver
|
ScreensaverProgram="xautolock" # Options: xautolock or xscreensaver
|
||||||
ScreensaverTime="20" # 20 minutes (only for xautolock)
|
ScreensaverTime="20" # 20 minutes (only for xautolock)
|
||||||
````
|
````
|
||||||
|
|
||||||
* **`Enable Gaps (Optional):`**
|
|
||||||
|
|
||||||
* 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
|
|
||||||
#gaps inner 6
|
|
||||||
#gaps outer 2
|
|
||||||
````
|
|
||||||
|
|
||||||
### Keys configuration:
|
### Keys configuration:
|
||||||
|
|
||||||
My list of extra combinations:
|
My list of extra combinations:
|
||||||
|
|
||||||
- Super + d = Open Dmenu
|
- Super + Tab = Next Layout
|
||||||
|
- Super + Shift + Tab = Previous Layout
|
||||||
|
- Super + Shift + f = Floating Window
|
||||||
- Super + p = Open Rofi (run mode)
|
- Super + p = Open Rofi (run mode)
|
||||||
- Super + q = Open Rofi (window mode)
|
- Super + q = Open Rofi (window mode)
|
||||||
- Super + o = Open Rofi (drun mode)
|
- Super + o = Open Rofi (drun mode)
|
||||||
|
@ -100,13 +92,11 @@ My list of extra combinations:
|
||||||
- Super + x = Open LXRandr
|
- Super + x = Open LXRandr
|
||||||
- Super + u = Open Xterm
|
- Super + u = Open Xterm
|
||||||
- Super + i = Open LXAppearance
|
- Super + i = Open LXAppearance
|
||||||
- Super + c = Open NetWorkManager
|
- Super + s = Open Screenshooter
|
||||||
- Volume-Up = Volume +5
|
- Volume-Up = Volume +5
|
||||||
- Volume-Down = Volume -5
|
- Volume-Down = Volume -5
|
||||||
- VolumeMute = Mute Volume
|
- VolumeMute = Mute Volume
|
||||||
- Super + Ctrl + Shift + e = Poweroff screen
|
- Super + Shift + q = Shutdown
|
||||||
- Super + Shift + e = Logout
|
|
||||||
- Super + Backspace = Open menu Logout/Lock/Reboot/Shutdown
|
|
||||||
|
|
||||||
### External links:
|
### External links:
|
||||||
|
|
||||||
|
|
BIN
examples/qtile.png
Normal file
BIN
examples/qtile.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 410 KiB |
Loading…
Reference in New Issue
Block a user