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

@ -18,15 +18,16 @@ This script is optimized for a [Manjaro Linux](https://manjaro.org) with a [GNOM
### Key Bindings
The following *Core System* specific key bindings exist:
|Combination |Result |
|------------|-----------------|
|Ctrl+Alt+A |Opens Atom |
|Ctrl+Alt+E |Opens Eclipse |
|Ctrl+Alt+F |Opens Firefox |
|Ctrl+Alt+K |Opens KeePassXC |
|Ctrl+Alt+R |Opens Rhyhtmbox |
|Ctrl+Alt+T |Opens a terminal |
|Ctrl+Alt+V |Opens VLC player |
|Combination |Result |
|------------|----------------------------|
|Ctrl+Alt+A |Opens Atom |
|Ctrl+Alt+E |Opens Eclipse |
|Ctrl+Alt+F |Opens Firefox |
|Ctrl+Alt+K |Opens KeePassXC |
|Ctrl+Alt+R |Opens Rhyhtmbox |
|Ctrl+Alt+S |Imports data to core system |
|Ctrl+Alt+T |Opens a terminal |
|Ctrl+Alt+V |Opens VLC player |
### User Data
Right now the software expects that the *Core System Owner* has on all systems the same username. By executing the *import script* it automatic backups the application configuration data, ssh keys and other important data which is saved in well defined configuration files and folders.

View File

@ -32,6 +32,9 @@ fi
echo "Synchronizing gui tools..."
sudo pacman --needed -S gnome-shell-extensions gnome-terminal xbindkeys
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
echo "->Setting up dash favourites..."
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 "-->Installing docker..."
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"
echo "-->Enable docker service..."
sudo systemctl enable docker --now
echo "->Synchronizing orchestration tools..."
sudo pacman --needed -S ansible
echo "Installing entertainment software..."
echo "->Sznchronizing audio software..."
echo "->Synchronizing audio software..."
sudo pacman -S rhythmbox
echo "->Synchronizing games..."
sudo pacman --needed -S 0ad warzone2100