Skip to content

Commit

Permalink
fix #18 direct output of path to null
Browse files Browse the repository at this point in the history
  • Loading branch information
wick3dr0se committed Nov 24, 2021
1 parent 81b102e commit e85c60e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/de-wm_theme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ fi
echo -ne " \e \e \e \e "
echo -ne "${BLUE}theme${NC} ~ "
gtk_name=$(grep 'gtk-theme-name' ~/.config/gtk-3.0/settings.ini 2>/dev/null | sed 's/gtk-theme-name=//g' | sed 's/-/ /g')
theme_name=$(gsettings get org.gnome.desktop.interface gtk-theme | sed "s/'//g" | tr -d '\n')
theme_name=$(gsettings get org.gnome.desktop.interface gtk-theme 2>/dev/null | sed "s/'//g" | tr -d '\n')
if [[ ! -z "$gtk_name" ]] ; then
echo "$gtk_name"
elif [[ ! -z "theme_name" ]] ; then
Expand Down

0 comments on commit e85c60e

Please sign in to comment.