summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--alpm-hooks/grub-theme-switch.hook2
-rw-r--r--bin/set-grub-theme.sh2
2 files changed, 2 insertions, 2 deletions
diff --git a/alpm-hooks/grub-theme-switch.hook b/alpm-hooks/grub-theme-switch.hook
index d297bd7..04a2fcf 100644
--- a/alpm-hooks/grub-theme-switch.hook
+++ b/alpm-hooks/grub-theme-switch.hook
@@ -10,5 +10,5 @@ Target = parabola-laf
Description = Setting GRUB theme
Depends = grub
When = PostTransaction
-Exec = set-grub-theme.sh
+Exec = /usr/bin/set-grub-theme.sh
NeedsTargets
diff --git a/bin/set-grub-theme.sh b/bin/set-grub-theme.sh
index f3f52fe..5774c99 100644
--- a/bin/set-grub-theme.sh
+++ b/bin/set-grub-theme.sh
@@ -1,6 +1,6 @@
#!/bin/bash
-readonly THEME_PKG_OR_DIR=$1
+readonly THEME_PKG_OR_DIR=$1 # or stdin?
readonly GRUB_DIR=/boot/grub
readonly THEMES_DIR=$GRUB_DIR/themes
readonly THEME_FILENAME='theme.txt'