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
|
if [ $# -eq 0 ]; then
|
||||||
echo "No arguments supplied"
|
echo "No arguments supplied"
|
||||||
else
|
else
|
||||||
local profiles profile
|
local profiles
|
||||||
profiles=("$(gsettings get org.gnome.Terminal.ProfilesList list | tr -d \'[],)")
|
IFS=" " read -r -a profiles <<< "$(gsettings get org.gnome.Terminal.ProfilesList list | tr -d "\'[],")"
|
||||||
case $1 in
|
case $1 in
|
||||||
"sunset" ) # Go to dark mode
|
"sunset" ) # Go to dark mode
|
||||||
# Set the Dracula theme
|
# Set the Dracula theme
|
||||||
|
|
Loading…
Reference in a new issue