conrol terminal changes

This commit is contained in:
2023-05-16 12:40:41 +02:00
parent 200e9fcb30
commit 1506e0e60e

View File

@@ -15,11 +15,14 @@ gsettings set org.gnome.shell.overrides workspaces-only-on-primary true
#custom bernina keyboard shortcuts
gsettings reset org.gnome.settings-daemon.plugins.media-keys custom-keybindings
if [ "$(hostname)" = "saresb-cons-03.psi.ch" ] | [ "$(hostname)" = "saresb-cons-04.psi.ch" ] | [ "$(hostname)" = "saresb-cons-05.psi.ch" ] ; then
if [ "$(hostname)" = "saresb-cons-03.psi.ch" ] || [ "$(hostname)" = "saresb-cons-04.psi.ch" ] || [ "$(hostname)" = "saresb-cons-05.psi.ch" ]; then
echo "This is a primary controls terminal"
set_gnome_keyboard_shortcut 'stop_fel' 'feloff' 'Calculator'
set_gnome_keyboard_shortcut 'open_fel' 'felon' '<Super>Calculator'
set_gnome_keyboard_shortcut 'stop_laser' 'laseroff' 'Mail'
set_gnome_keyboard_shortcut 'open_laser' 'laseron' '<Super>Mail'
else
echo "no primary controls terminal"
fi
set_gnome_keyboard_shortcut 'eco' 'gnome-terminal -- eco' '<Alt><Control>c'
set_gnome_keyboard_shortcut 'eco' 'gnome-terminal -- eco' '<Super>HomePage'