new terminals updates

This commit is contained in:
2025-04-25 10:45:50 +02:00
parent 032a97d066
commit ee8dab793b
2 changed files with 3 additions and 4 deletions

2
mm_bernina_env Normal file → Executable file
View File

@@ -12,7 +12,7 @@ echo Loading Bernina Micromamba/conda Python # <<< conda initialize <<<
source /sf/bernina/bin/mm_bernina
micromamba config --add envs_dirs /sf/bernina/applications/mm/envs
#micromamba config append envs_dirs /sf/bernina/applications/mm/envs
#conda config --set env_prompt '({name})'
echo Activating Micromamba/conda environment ${1:-$dest}

View File

@@ -15,7 +15,7 @@ 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" ] || [ "$(hostname)" = "saresb-cons-08.psi.ch" ] || [ "$(hostname)" = "saresb-cons-09.psi.ch" ] || [ "$(hostname)" = "saresb-cons-10.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'
@@ -61,8 +61,7 @@ dconf write /org/gnome/desktop/background/secondary-color "'#425265'"
# lock screen behavior
if [ "$(hostname)" = "saresb-cons-08.psi.ch" ]; then
dconf write /org/gnome/desktop/screensaver/lock-enabled true
dconf write /org/gnome/desktop/session/idle-delay 'uint32 180'
dconf write /org/gnome/desktop/screensaver/lock-delay 'uint32 0'
dconf write /org/gnome/desktop/screensaver/lock-delay 'uint32 180'
else
dconf write /org/gnome/desktop/screensaver/lock-enabled false
dconf write /org/gnome/desktop/session/idle-delay 'uint32 0'