Dotfiles config update (2021-11-20)
This commit is contained in:
parent
b9f7965bb0
commit
f78a4ee79d
|
@ -86,7 +86,7 @@ autorun = ws[1]:~/.config/spectrwm/startcompositor.sh
|
||||||
autorun = ws[1]:xscreensaver
|
autorun = ws[1]:xscreensaver
|
||||||
|
|
||||||
# Clipboard (Diodon)
|
# Clipboard (Diodon)
|
||||||
autorun = ws[1]:diodon
|
#autorun = ws[1]:diodon
|
||||||
|
|
||||||
# Customize workspace layout at start
|
# Customize workspace layout at start
|
||||||
# layout = ws[1]:4:0:0:0:vertical
|
# layout = ws[1]:4:0:0:0:vertical
|
||||||
|
|
|
@ -1,15 +1,15 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
scan_rel=0
|
scan_rel=0
|
||||||
sleep 3
|
sleep 2
|
||||||
|
|
||||||
while [ ${scan_rel} -eq 0 ] ; do
|
while [ ${scan_rel} -eq 0 ] ; do
|
||||||
# Primer monitor
|
# Primer monitor
|
||||||
xrandr --output Virtual1 --mode 1280x1024 -r 60.00
|
xrandr --output DisplayPort-0 --mode 1280x1024 -r 75.02
|
||||||
# Segundo monitor
|
# Segundo monitor
|
||||||
# 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
|
||||||
sleep 1
|
sleep 1
|
||||||
done
|
done
|
||||||
#sleep 2
|
|
||||||
#xrandr --output Virtual1 --mode 1280x1024 -r 60.00
|
#xrandr --output Virtual1 --mode 1280x1024 -r 60.00
|
||||||
#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
|
||||||
|
|
130
README-i3.md
Normal file
130
README-i3.md
Normal file
|
@ -0,0 +1,130 @@
|
||||||
|
dotfiles - My tiling i3 WM Configuration (for Devuan/Debian)
|
||||||
|
============================================================
|
||||||
|
|
||||||
|
![i3WM](examples/screenshot.png)
|
||||||
|
|
||||||
|
### Installation:
|
||||||
|
|
||||||
|
* **`Install dependencies:`**
|
||||||
|
|
||||||
|
* Open the terminal and type the following commands:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ sudo apt-get install i3 i3status i3blocks i3-wm i3pystatus i3lock i3lock-fancy \
|
||||||
|
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 \
|
||||||
|
xfce4-screenshooter xscreensaver
|
||||||
|
````
|
||||||
|
* 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
|
||||||
|
````
|
||||||
|
|
||||||
|
* **`Install i3-gaps and alacritty:`**
|
||||||
|
|
||||||
|
* Clone repository and run the scripts for installation:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
$ git clone https://github.com/q3aql/dotfiles
|
||||||
|
$ cd dotfiles
|
||||||
|
$ chmod +x alacritty-install.sh
|
||||||
|
$ chmod +x i3-gaps-install.sh
|
||||||
|
$ sudo ./alacritty-install.sh
|
||||||
|
$ sudo ./i3-gaps-install.sh
|
||||||
|
````
|
||||||
|
|
||||||
|
* **`Install configuration (dotfiles):`**
|
||||||
|
|
||||||
|
* 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):`**
|
||||||
|
|
||||||
|
* By default is enabled `Connman` as network manager:
|
||||||
|
* If you prefer NetWorkManager, edit the file `~/.config/i3/config`:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
exec --no-startup-id connman-gtk --tray &
|
||||||
|
#exec --no-startup-id nm-applet
|
||||||
|
````
|
||||||
|
|
||||||
|
* **`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:`**
|
||||||
|
|
||||||
|
* By default, the config load wallpaper on `~/wallpapers/abstract.png`:
|
||||||
|
* Edit `~/.config/i3/config` for set your favorite wallpaper:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
exec --no-startup-id "sleep 3 && nitrogen --set-centered ~/wallpapers/abstract.png"
|
||||||
|
````
|
||||||
|
|
||||||
|
* **`Enable Gaps:`**
|
||||||
|
|
||||||
|
* 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
|
||||||
|
````
|
||||||
|
|
||||||
|
* **`Battery Indicator:`**
|
||||||
|
|
||||||
|
* By default, the battery indicator is disabled on i3blocks top bar.
|
||||||
|
* You can enable it editing the lines on `~/.config/i3blocks/config` file:
|
||||||
|
|
||||||
|
```shell
|
||||||
|
#[BATTERY]
|
||||||
|
#command=~/.config/i3blocks/battery/battery_info.sh
|
||||||
|
#interval=3
|
||||||
|
````
|
||||||
|
|
||||||
|
### Keys configuration:
|
||||||
|
|
||||||
|
My list of extra combinations:
|
||||||
|
|
||||||
|
- Win + d = Open Dmenu
|
||||||
|
- Win + x = Open Rofi (run mode)
|
||||||
|
- Win + c = Open Rofi (window mode)
|
||||||
|
- Win + o = Open Rofi (drun mode)
|
||||||
|
- Win + b = Open Firefox
|
||||||
|
- Win + n = Open PCManFM
|
||||||
|
- Win + p = Open Screenshot
|
||||||
|
- Win + g = Open Geany
|
||||||
|
- Win + m = Open Telegram
|
||||||
|
- Win + z = Open Signal
|
||||||
|
- Win + u = Open LXRandr
|
||||||
|
- Win + t = Open Xterm
|
||||||
|
- Win + i = Open LXAppearance
|
||||||
|
- Win + Ctrl + Shift + e = Poweroff screen
|
||||||
|
- Win + Shit + e = Logout
|
||||||
|
- Win + Backspace = Open menu Logout/Lock/Reboot/Shutdown
|
||||||
|
|
||||||
|
### External links:
|
||||||
|
|
||||||
|
* [Antonio Sarosi](https://github.com/antoniosarosi/dotfiles/)
|
||||||
|
* [Derek Taylor](https://gitlab.com/dwt1/dotfiles/)
|
||||||
|
* [i3-style](https://github.com/altdesktop/i3-style)
|
||||||
|
* [addy-dclxvi](https://github.com/addy-dclxvi/i3-starterpack)
|
||||||
|
* [i3-gaps](https://github.com/Airblader/i3)
|
97
README.md
97
README.md
|
@ -1,7 +1,7 @@
|
||||||
dotfiles - My tiling i3 WM Configuration (for Devuan/Debian)
|
dotfiles - My tiling Spectrwm & i3 WM Configuration (for Devuan/Debian)
|
||||||
============================================================
|
=======================================================================
|
||||||
|
|
||||||
![i3WM](examples/screenshot.png)
|
* [Instructions for i3WM configuration](README-i3.md)
|
||||||
|
|
||||||
### Installation:
|
### Installation:
|
||||||
|
|
||||||
|
@ -10,30 +10,26 @@ dotfiles - My tiling i3 WM Configuration (for Devuan/Debian)
|
||||||
* Open the terminal and type the following commands:
|
* Open the terminal and type the following commands:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ sudo apt-get install i3 i3status i3blocks i3-wm i3pystatus i3lock i3lock-fancy \
|
$ sudo apt-get install spectrwm compton arc-theme breeze-cursor-theme \
|
||||||
compton arc-theme breeze-cursor-theme fonts-noto papirus-icon-theme lxappearance \
|
fonts-noto papirus-icon-theme lxappearance nitrogen lxrandr pnmixer \
|
||||||
nitrogen lxrandr pnmixer conky xterm exa fish bat zsh dmenu fzf apcalc rofi picom \
|
conky xterm exa fish bat zsh dmenu fzf apcalc rofi picom engrampa \
|
||||||
engrampa xarchiver mpv ffmpeg pcmanfm ranger vlc vim geany git nodejs node-base \
|
xarchiver mpv ffmpeg pcmanfm ranger vlc vim geany git nodejs node-base \
|
||||||
python3 npm make cmake gcc cargo neofetch screenfetch lm-sensors \
|
python3 npm make cmake gcc cargo neofetch screenfetch lm-sensors pavucontrol \
|
||||||
xfce4-screenshooter xscreensaver
|
xfce4-screenshooter xscreensaver
|
||||||
````
|
````
|
||||||
* I use `Connman` instead of `NetWorkManager` (don't install if you prefer NetWorkManager):
|
* I use `Connman` instead of `NetWorkManager` (`don't install if you prefer or use NetWorkManager`):
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ sudo apt-get install connman connman-gtk connman-ui connman-vpn
|
$ sudo apt-get install connman connman-gtk connman-ui connman-vpn
|
||||||
````
|
````
|
||||||
|
|
||||||
* **`Install i3-gaps and alacritty:`**
|
* For install `alacritty`, type this commands:
|
||||||
|
|
||||||
* Clone repository and run the scripts for installation:
|
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
$ git clone https://github.com/q3aql/dotfiles
|
$ git clone https://github.com/q3aql/dotfiles
|
||||||
$ cd dotfiles
|
$ cd dotfiles
|
||||||
$ chmod +x alacritty-install.sh
|
$ chmod +x alacritty-install.sh
|
||||||
$ chmod +x i3-gaps-install.sh
|
|
||||||
$ sudo ./alacritty-install.sh
|
$ sudo ./alacritty-install.sh
|
||||||
$ sudo ./i3-gaps-install.sh
|
|
||||||
````
|
````
|
||||||
|
|
||||||
* **`Install configuration (dotfiles):`**
|
* **`Install configuration (dotfiles):`**
|
||||||
|
@ -51,21 +47,22 @@ dotfiles - My tiling i3 WM Configuration (for Devuan/Debian)
|
||||||
|
|
||||||
* **`Network Manager (Connman or NetWorkManager):`**
|
* **`Network Manager (Connman or NetWorkManager):`**
|
||||||
|
|
||||||
* By default is enabled Connman as network manager:
|
* By default is enabled `NetWorkManager` as network manager:
|
||||||
* If you prefer NetWorkManager, edit the file `~/.config/i3/config`:
|
* If you prefer Connman, edit the file `~/.config/spectrwm/spectrwm.conf`:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
exec --no-startup-id connman-gtk --tray &
|
# Choose between NetworkManager or Connman
|
||||||
#exec --no-startup-id nm-applet
|
program[connection] = nm-connection-editor
|
||||||
|
#program[connection] = connman-gtk --no-icon
|
||||||
|
bind[connection] = MOD+c
|
||||||
````
|
````
|
||||||
|
|
||||||
* **`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/spectrwm/startxrandr.sh`:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
sleep 2
|
|
||||||
xrandr --output DisplayPort-0 --mode 1280x1024 -r 75.02
|
xrandr --output DisplayPort-0 --mode 1280x1024 -r 75.02
|
||||||
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
|
||||||
````
|
````
|
||||||
|
@ -73,57 +70,51 @@ dotfiles - My tiling i3 WM Configuration (for Devuan/Debian)
|
||||||
* **`Wallpaper:`**
|
* **`Wallpaper:`**
|
||||||
|
|
||||||
* By default, the config load wallpaper on `~/wallpapers/abstract.png`:
|
* By default, the config load wallpaper on `~/wallpapers/abstract.png`:
|
||||||
* Edit `~/.config/i3/config` for set your favorite wallpaper:
|
* Edit `~/.config/spectrwm/startwallpaper.sh` for set your favorite wallpaper:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
exec --no-startup-id "sleep 3 && nitrogen --set-centered ~/wallpapers/abstract.png"
|
sleep 3
|
||||||
|
nitrogen --set-centered ~/wallpapers/abstract.png
|
||||||
````
|
````
|
||||||
|
|
||||||
* **`Enable Gaps:`**
|
* **`Compositor (Compton or Picom):`**
|
||||||
|
|
||||||
* My config work on vanilla i3wm and gaps are disabled.
|
* By default, the config load `Picom` compositor.
|
||||||
* You can enable it editing 2 lines on file `~/.config/i3/config` and pressing `Win+Shift+r`:
|
* You can change it editing the lines on `~/.config/spectrwm/startcompositor.sh` file:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
#gaps inner 6
|
# Load compton or picom (Compositor)
|
||||||
#gaps outer 2
|
sleep 15
|
||||||
````
|
#compton &
|
||||||
|
picom &
|
||||||
* **`Battery Indicator:`**
|
|
||||||
|
|
||||||
* By default, the battery indicator is disabled on i3blocks top bar.
|
|
||||||
* You can enable it editing the lines on `~/.config/i3blocks/config` file:
|
|
||||||
|
|
||||||
```shell
|
|
||||||
#[BATTERY]
|
|
||||||
#command=~/.config/i3blocks/battery/battery_info.sh
|
|
||||||
#interval=3
|
|
||||||
````
|
````
|
||||||
|
|
||||||
### Keys configuration:
|
### Keys configuration:
|
||||||
|
|
||||||
My list of extra combinations:
|
My list of extra combinations:
|
||||||
|
|
||||||
- Win + d = Open Dmenu
|
- Win + d = Open Rofi Theme selector
|
||||||
- Win + x = Open Rofi (run mode)
|
- Win + x = Close Window
|
||||||
- Win + c = Open Rofi (window mode)
|
- Win + w = Minimize Window
|
||||||
- Win + o = Open Rofi (drun mode)
|
- Win + Shift + w = Maximize/Search Window
|
||||||
- Win + b = Open Firefox
|
- Win + c = Open network configuration
|
||||||
|
- Win + v = Open volume configuration (Pavucontrol)
|
||||||
|
- Win + Return = Open terminal (Alacritty)
|
||||||
- Win + n = Open PCManFM
|
- Win + n = Open PCManFM
|
||||||
- Win + p = Open Screenshot
|
- Win + p = Open Rofi (exec program)
|
||||||
- Win + g = Open Geany
|
- Win + o = Open Rofi (exec menu program)
|
||||||
- Win + m = Open Telegram
|
- Win + z = Open Wallpaper selector (Nitrogen)
|
||||||
- Win + z = Open Signal
|
- Win + x = Open LXRandr
|
||||||
- Win + u = Open LXRandr
|
- Win + u = Open Xterm
|
||||||
- Win + t = Open Xterm
|
|
||||||
- Win + i = Open LXAppearance
|
- Win + i = Open LXAppearance
|
||||||
- Win + Ctrl + Shift + e = Poweroff screen
|
- Win + s = Open Xfce4-Screenshot
|
||||||
- Win + Shit + e = Logout
|
- Win + Delete = Poweroff screen
|
||||||
- Win + Backspace = Open menu Logout/Lock/Reboot/Shutdown
|
- Win + Shift + Delete = Close session
|
||||||
|
|
||||||
### External links:
|
### External links:
|
||||||
|
|
||||||
* [Antonio Sarosi](https://github.com/antoniosarosi/dotfiles/)
|
* [Antonio Sarosi](https://github.com/antoniosarosi/dotfiles/)
|
||||||
|
* [Derek Taylor](https://gitlab.com/dwt1/dotfiles/)
|
||||||
* [i3-style](https://github.com/altdesktop/i3-style)
|
* [i3-style](https://github.com/altdesktop/i3-style)
|
||||||
* [addy-dclxvi](https://github.com/addy-dclxvi/i3-starterpack)
|
* [addy-dclxvi](https://github.com/addy-dclxvi/i3-starterpack)
|
||||||
* [i3-gaps](https://github.com/Airblader/i3)
|
* [i3-gaps](https://github.com/Airblader/i3)
|
||||||
|
|
|
@ -1,33 +0,0 @@
|
||||||
SYSTEM:
|
|
||||||
|
|
||||||
sudo apt-get install i3 i3status i3blocks i3-wm i3pystatus i3lock i3lock-fancy compton
|
|
||||||
|
|
||||||
THEMES:
|
|
||||||
|
|
||||||
sudo apt-get install arc-theme breeze-cursor-theme fonts-noto
|
|
||||||
|
|
||||||
APPAREANCE:
|
|
||||||
|
|
||||||
sudo apt-get install lxappearance nitrogen lxrandr
|
|
||||||
|
|
||||||
TOOLS:
|
|
||||||
|
|
||||||
sudo apt-get install pnmixer conky xterm exa fish cat zsh dmenu fzf apcalc rofi picom
|
|
||||||
|
|
||||||
Note: Also install alacritty
|
|
||||||
|
|
||||||
NETWORK:
|
|
||||||
|
|
||||||
sudo apt-get install connman connman-gtk connman-ui connman-vpn
|
|
||||||
|
|
||||||
APPS:
|
|
||||||
|
|
||||||
sudo apt-get install firefox engrampa xarchiver mpv ffmpeg pcmanfm ranger vlc vim geany
|
|
||||||
|
|
||||||
CODE:
|
|
||||||
|
|
||||||
sudo apt-get install git nodejs node-base python3 npm
|
|
||||||
|
|
||||||
OTHER:
|
|
||||||
|
|
||||||
sudo apt-get install make cmake gcc cargo neofetch screenfetch lm-sensors xfce4-screenshooter xscreensaver
|
|
Loading…
Reference in New Issue
Block a user