diff options
author | tv <tv@krebsco.de> | 2015-10-24 22:55:50 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-10-24 22:58:00 +0200 |
commit | 2e4a537635c103226ede97a63b59612b7c45ed78 (patch) | |
tree | 3bea9300d903af985e1bf5117fe6d66b4ddb5272 | |
parent | ef7f015d7f0e6fe703ed9bba7a31621b5f1c6c72 (diff) |
tv URxvt*url-select.launcher = ff
-rw-r--r-- | tv/1systems/wu.nix | 7 | ||||
-rw-r--r-- | tv/2configs/xserver/Xresources.nix | 6 | ||||
-rw-r--r-- | tv/5pkgs/default.nix | 7 | ||||
-rw-r--r-- | tv/5pkgs/ff/default.nix | 8 |
4 files changed, 12 insertions, 16 deletions
diff --git a/tv/1systems/wu.nix b/tv/1systems/wu.nix index 987748d..a5232c9 100644 --- a/tv/1systems/wu.nix +++ b/tv/1systems/wu.nix @@ -40,12 +40,6 @@ with lib; hashPassword lentil parallel - (pkgs.writeScriptBin "ff" '' - #! ${pkgs.bash}/bin/bash - exec sudo -u ff -i <<EOF - exec ${pkgs.firefoxWrapper}/bin/firefox $(printf " %q" "$@") - EOF - '') (pkgs.writeScriptBin "im" '' #! ${pkgs.bash}/bin/bash export PATH=${makeSearchPath "bin" (with pkgs; [ @@ -69,6 +63,7 @@ with lib; bind # dig cac dic + ff file get gitAndTools.qgit diff --git a/tv/2configs/xserver/Xresources.nix b/tv/2configs/xserver/Xresources.nix index 3936a26..f287bf2 100644 --- a/tv/2configs/xserver/Xresources.nix +++ b/tv/2configs/xserver/Xresources.nix @@ -203,11 +203,7 @@ pkgs.writeText "Xresources" '' ! ref https://github.com/muennich/urxvt-perls URxvt*perl-ext: default,url-select URxvt*keysym.M-u: perl:url-select:select_next - !URxvt*url-select.launcher: /home/tv/free/firefox -new-tab - ! 2014-05-12 nix: - !URxvt.url-select.launcher: /home/tv/bin/ff -new-tab - ! 2015-07-26 stockholm: - URxvt*url-select.launcher: ff -new-tab + URxvt*url-select.launcher: ${pkgs.ff}/bin/ff -new-tab URxvt*url-select.underline: true URxvt*colorUL: #4682B4 URxvt.perl-lib: ${pkgs.urxvt_perls}/lib/urxvt/perl diff --git a/tv/5pkgs/default.nix b/tv/5pkgs/default.nix index 4175292..3cfa8f8 100644 --- a/tv/5pkgs/default.nix +++ b/tv/5pkgs/default.nix @@ -1,9 +1,6 @@ { pkgs, ... }: -let - inherit (pkgs) callPackage; -in - { - viljetic-pages = callPackage ./viljetic-pages {}; + ff = pkgs.callPackage ./ff {}; + viljetic-pages = pkgs.callPackage ./viljetic-pages {}; } diff --git a/tv/5pkgs/ff/default.nix b/tv/5pkgs/ff/default.nix new file mode 100644 index 0000000..2db4040 --- /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 +'' |