Update scripts

This commit is contained in:
Tobias Reisinger 2024-04-30 18:24:24 +02:00
parent 2c84b2effa
commit 34cb04dc6d
Signed by: serguzim
GPG key ID: 13AD60C237A28DFE
5 changed files with 45 additions and 14 deletions

17
.bin/portalo-mode Executable file
View file

@ -0,0 +1,17 @@
#!/usr/bin/env bash
portalo_mode_std () {
echo "Loading portalo standard screen layout"
yadm config --unset-all local.class monitor-single
}
portalo_mode_single () {
echo "Loading portalo single screen layout"
yadm config --add local.class monitor-single
}
case $1 in
std) portalo_mode_std ;;
single) portalo_mode_single ;;
*) echo "'$1' is not a valid-setup (single, std)" ;;
esac