aboutsummaryrefslogtreecommitdiff
path: root/apks/alps/fix-statics-dir.patch
diff options
context:
space:
mode:
Diffstat (limited to 'apks/alps/fix-statics-dir.patch')
-rw-r--r--apks/alps/fix-statics-dir.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/apks/alps/fix-statics-dir.patch b/apks/alps/fix-statics-dir.patch
new file mode 100644
index 0000000..72eaffa
--- /dev/null
+++ b/apks/alps/fix-statics-dir.patch
@@ -0,0 +1,26 @@
+diff --git a/cmd/alps/main.go b/cmd/alps/main.go
+index 5a00957..f537177 100644
+--- a/cmd/alps/main.go
++++ b/cmd/alps/main.go
+@@ -23,7 +23,7 @@ import (
+ _ "git.sr.ht/~migadu/alps/plugins/viewtext"
+ )
+
+-var themesPath = "./themes"
++var themesPath = "/var/lib/alps/themes"
+
+ func main() {
+ var (
+diff --git a/plugin.go b/plugin.go
+index e634f02..43b8164 100644
+--- a/plugin.go
++++ b/plugin.go
+@@ -7,7 +7,7 @@ import (
+ )
+
+ // PluginDir is the path to the plugins directory.
+-const PluginDir = "plugins"
++const PluginDir = "/var/lib/alps/plugins"
+
+ // Plugin extends alps with additional functionality.
+ type Plugin interface {