Added shortcut for data import to usb stick

This commit is contained in:
Kevin Veen-Birkenbach 2019-10-07 12:13:35 +02:00
parent 586422fc57
commit 557eff782a
2 changed files with 15 additions and 11 deletions

View File

@ -19,12 +19,13 @@ This script is optimized for a [Manjaro Linux](https://manjaro.org) with a [GNOM
The following *Core System* specific key bindings exist: The following *Core System* specific key bindings exist:
|Combination |Result | |Combination |Result |
|------------|-----------------| |------------|----------------------------|
|Ctrl+Alt+A |Opens Atom | |Ctrl+Alt+A |Opens Atom |
|Ctrl+Alt+E |Opens Eclipse | |Ctrl+Alt+E |Opens Eclipse |
|Ctrl+Alt+F |Opens Firefox | |Ctrl+Alt+F |Opens Firefox |
|Ctrl+Alt+K |Opens KeePassXC | |Ctrl+Alt+K |Opens KeePassXC |
|Ctrl+Alt+R |Opens Rhyhtmbox | |Ctrl+Alt+R |Opens Rhyhtmbox |
|Ctrl+Alt+S |Imports data to core system |
|Ctrl+Alt+T |Opens a terminal | |Ctrl+Alt+T |Opens a terminal |
|Ctrl+Alt+V |Opens VLC player | |Ctrl+Alt+V |Opens VLC player |

View File

@ -32,6 +32,9 @@ fi
echo "Synchronizing gui tools..." echo "Synchronizing gui tools..."
sudo pacman --needed -S gnome-shell-extensions gnome-terminal xbindkeys sudo pacman --needed -S gnome-shell-extensions gnome-terminal xbindkeys
echo "->Setting up key bindings..." echo "->Setting up key bindings..."
echo "" >> "$HOME/.xbindkeysrc"
echo "\"gnome-terminal -e '/bin/bash $SCRIPT_PATH/import-data-from-system.sh'\"" >> "$HOME/.xbindkeysrc"
echo " control+alt+s" >> "$HOME/.xbindkeysrc"
xbindkeys --poll-rc xbindkeys --poll-rc
echo "->Setting up dash favourites..." echo "->Setting up dash favourites..."
gsettings set org.gnome.shell favorite-apps "['org.gnome.Nautilus.desktop', gsettings set org.gnome.shell favorite-apps "['org.gnome.Nautilus.desktop',
@ -102,14 +105,14 @@ npm i -g bash-language-server #Needed by atom-package ide-bash
echo "->Synchronizing containerization tools..." echo "->Synchronizing containerization tools..."
echo "-->Installing docker..." echo "-->Installing docker..."
sudo pacman --needed -S docker docker-compose sudo pacman --needed -S docker docker-compose
echo "-->Add current user($USER) to user group docker..." echo "-->Add current user<<$USER>> to user group docker..."
sudo usermod -a -G docker "$USER" sudo usermod -a -G docker "$USER"
echo "-->Enable docker service..." echo "-->Enable docker service..."
sudo systemctl enable docker --now sudo systemctl enable docker --now
echo "->Synchronizing orchestration tools..." echo "->Synchronizing orchestration tools..."
sudo pacman --needed -S ansible sudo pacman --needed -S ansible
echo "Installing entertainment software..." echo "Installing entertainment software..."
echo "->Sznchronizing audio software..." echo "->Synchronizing audio software..."
sudo pacman -S rhythmbox sudo pacman -S rhythmbox
echo "->Synchronizing games..." echo "->Synchronizing games..."
sudo pacman --needed -S 0ad warzone2100 sudo pacman --needed -S 0ad warzone2100