fix issues when retrieving profiles UUID
This commit is contained in:
parent
3c1ce4fccc
commit
2de7d6cff4
1 changed files with 2 additions and 2 deletions
|
@ -15,8 +15,8 @@ main() {
|
|||
if [ $# -eq 0 ]; then
|
||||
echo "No arguments supplied"
|
||||
else
|
||||
local profiles profile
|
||||
profiles=("$(gsettings get org.gnome.Terminal.ProfilesList list | tr -d \'[],)")
|
||||
local profiles
|
||||
IFS=" " read -r -a profiles <<< "$(gsettings get org.gnome.Terminal.ProfilesList list | tr -d "\'[],")"
|
||||
case $1 in
|
||||
"sunset" ) # Go to dark mode
|
||||
# Set the Dracula theme
|
||||
|
|
Loading…
Reference in a new issue