summaryrefslogtreecommitdiffstats
path: root/tv/5pkgs/ff
diff options
context:
space:
mode:
authortv <tv@shackspace.de>2015-10-24 22:55:50 +0200
committertv <tv@shackspace.de>2015-10-24 22:58:00 +0200
commita4d7f920bf49de6237191558d02b0f58ed307fd4 (patch)
tree30fe4cc7fa5605987caf0dab3b72628d5635800e /tv/5pkgs/ff
parent6b118151f9a60e07abf2272172e9add0b0add14d (diff)
tv URxvt*url-select.launcher = ff
Diffstat (limited to 'tv/5pkgs/ff')
-rw-r--r--tv/5pkgs/ff/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/tv/5pkgs/ff/default.nix b/tv/5pkgs/ff/default.nix
new file mode 100644
index 000000000..2db404030
--- /dev/null
+++ b/tv/5pkgs/ff/default.nix
@@ -0,0 +1,8 @@
+{ pkgs, ... }:
+
+pkgs.writeScriptBin "ff" ''
+ #! ${pkgs.bash}/bin/bash
+ exec sudo -u ff -i <<EOF
+ exec ${pkgs.firefoxWrapper}/bin/firefox $(printf " %q" "$@")
+ EOF
+''