aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2024-09-17 19:57:50 +0200
committerMattias Andrée <maandree@kth.se>2024-09-17 19:57:50 +0200
commit8fc6c451caa7dcb8cdc4f6ddc1074dd3bf126830 (patch)
tree2f27045c4691ae13a732e8a0fdfb05a424b68db8
parent.. (diff)
downloaddotfiles-8fc6c451caa7dcb8cdc4f6ddc1074dd3bf126830.tar.gz
dotfiles-8fc6c451caa7dcb8cdc4f6ddc1074dd3bf126830.tar.bz2
dotfiles-8fc6c451caa7dcb8cdc4f6ddc1074dd3bf126830.tar.xz
Add fix for Brave
Signed-off-by: Mattias Andrée <maandree@kth.se>
-rw-r--r--brave/Makefile14
-rwxr-xr-xbrave/brave3
2 files changed, 17 insertions, 0 deletions
diff --git a/brave/Makefile b/brave/Makefile
new file mode 100644
index 0000000..dc5f0c2
--- /dev/null
+++ b/brave/Makefile
@@ -0,0 +1,14 @@
+.POSIX:
+
+XINITRC_ORDER = 20
+
+install:
+ ../check-installed-shebang brave
+ mkdir -p -- ~/.local/bin
+ test ! -e ~/.local/bin/brave || test -L ~/.local/bin/brave
+ ln -sf -- ~/.dotfiles/brave/brave ~/.local/bin/brave
+
+uninstall:
+ +! ../check-installed brave
+ +! ../check-installed brave-bin
+ -unlink -- ~/.local/bin/brave
diff --git a/brave/brave b/brave/brave
new file mode 100755
index 0000000..9971967
--- /dev/null
+++ b/brave/brave
@@ -0,0 +1,3 @@
+#!/bin/dash
+
+exec /usr/bin/brave --password-store=none "$@"