mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
tools/toolbox: Set up first toolbox as default
Setting up more than one gnome-shell toolbox is uncommon, and users shouldn't have to specify --set-default for other tools to pick the right default. It would be possible to detect the number of containers that were created from the shell toolbox image, but the far easier option is to just set up the first container as default. Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2935>
This commit is contained in:
parent
5998036dc2
commit
b739375bbd
1 changed files with 3 additions and 0 deletions
|
|
@ -104,6 +104,9 @@ unset TEMP
|
|||
NAME=$DEFAULT_NAME
|
||||
LOCALES=()
|
||||
|
||||
# set up first toolbox as default
|
||||
[ ! -f $CONFIG_FILE ] && SET_DEFAULT=1
|
||||
|
||||
while true; do
|
||||
case "$1" in
|
||||
-n|--name)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue