Update i3 config (key remapping)
arnaucube root@arnaucube.com
Thu, 27 Aug 2020 15:11:42 +0200
2 files changed,
11 insertions(+),
5 deletions(-)
M
i3/config
→
i3/config
@@ -124,7 +124,8 @@ bindsym $mod+Shift+r restart
# exit i3 (logs you out of your X session) bindsym $mod+Shift+e exec "i3-nagbar -t warning -m 'You pressed the exit shortcut. Do you really want to exit i3? This will end your X session.' -b 'Yes, exit i3' 'i3-msg exit'" -bindsym $mod+Control+l exec i3lock -i ~/MEGA/wallpapers/geometry02_croped1920x1080_pixelized.png -c 000000 +bindsym $mod+Control+l exec i3lock -i ~/Sync/wallpapers/geometry02_croped1920x1080_pixelized.png -c 000000 +bindsym $mod+Control+d exec poweroff # resize window (you can also use the mouse for that) mode "resize" {@@ -176,9 +177,11 @@ bindsym XF86MonBrightnessDown exec xbacklight -dec 20 # decrease screen brightness
exec redshift-gtk # having installed feh (sudo apt install feh) -exec feh --bg-fill ~/MEGA/wallpapers/geometry02_croped1920x1080.png +exec feh --bg-fill ~/Sync/wallpapers/geometry02_croped1920x1080.png exec xmodmap .Xmodmap # move current workspace to another display -bindsym $mod+Control+1 move workspace to output HDMI-2 -bindsym $mod+Control+0 move workspace to output eDP-1 +bindsym $mod+Control+k move workspace to output HDMI-2 +bindsym $mod+Control+j move workspace to output eDP-1 +bindsym $mod+Control+1 exec xrandr && xrandr --auto +bindsym $mod+Control+2 exec xrandr --auto && xrandr --output HDMI-2 --above eDP-1
M
install-new-server.sh
→
install-new-server.sh
@@ -1,4 +1,4 @@
-# assumming that git & vim are already installed and this repo is downloaded +# assumming that curl & wget & git & vim are already installed and this repo is downloaded echo "updating" apt-get update@@ -33,6 +33,9 @@ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim
echo "installing PlugInstall neovim" curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim +## once Plug installed, execute inside nvim: +## :PlugInstall +## :GoInstallBinaries # bash echo "append .bashrc of this repo lines to the .bashrc system file"