diff options
Diffstat (limited to 'regolith-look.patch')
-rw-r--r-- | regolith-look.patch | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/regolith-look.patch b/regolith-look.patch new file mode 100644 index 000000000000..a50a1f81e355 --- /dev/null +++ b/regolith-look.patch @@ -0,0 +1,20 @@ +--- a/usr/bin/regolith-look 2021-05-27 19:04:59.000000000 -0400 ++++ b/usr/bin/regolith-look 2021-11-04 07:06:53.978529712 -0400 +@@ -90,6 +90,17 @@ + echo "Look $LOOK does not exist or export a root file at /etc/regolith/styles/$LOOK/root, aborting." + exit 1 + fi ++ if [ ! -d "$HOME/.config/regolith" ]; then ++ mkdir -p $HOME/.config/regolith ++ fi ++ if [ -f "$HOME/.config/regolith/rofication.rasi" ]; then ++ rm "$HOME/.config/regolith/rofication.rasi" ++ ln -s /etc/regolith/styles/$LOOK/rofi.rasi $HOME/.config/regolith/rofication.rasi ++ else ++ ln -s /etc/regolith/styles/$LOOK/rofi.rasi $HOME/.config/regolith/rofication.rasi ++ fi ++ exit 0 ++ + } + + if [ "$COMMAND" == "refresh" ]; then |