only change folder color if necessary

This commit is contained in:
lelgenio 2020-12-02 14:58:12 -03:00
parent 8910cd3c51
commit fab454135c
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
# Papirus Icon Theme
{
if papirus-folders -l | grep "{{@@ accent_color_name @@}}"
if papirus-folders -l | grep "[^>] {{@@ accent_color_name @@}}"
then
notify-send "Switching Folder Color"
papirus-folders -uC "{{@@ accent_color_name @@}}"