Update scripts
This commit is contained in:
parent
2c84b2effa
commit
34cb04dc6d
5 changed files with 45 additions and 14 deletions
17
.bin/portalo-mode
Executable file
17
.bin/portalo-mode
Executable 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
|
Loading…
Add table
Add a link
Reference in a new issue