tv URxvt*url-select.launcher = ff

This commit is contained in:
tv 2015-10-24 22:55:50 +02:00
parent 6b118151f9
commit a4d7f920bf
4 changed files with 12 additions and 16 deletions

View file

@ -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

View file

@ -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

View file

@ -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 {};
}

8
tv/5pkgs/ff/default.nix Normal file
View file

@ -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
''