summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <lassulus@lassul.us>2017-09-02 16:15:33 +0200
committerlassulus <lassulus@lassul.us>2017-09-02 16:15:33 +0200
commitec3128bb559996443f71076090208664b41e5548 (patch)
tree5f0e9bd916941cd23be25e0084d7b25ba9b20008 /lass/2configs
parent8675e81a60b14ce8570e29cc8aae242d81363bf3 (diff)
l xresources: set browser-select on active browser
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/xresources.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/lass/2configs/xresources.nix b/lass/2configs/xresources.nix
index b5ba3df14..2fbc31677 100644
--- a/lass/2configs/xresources.nix
+++ b/lass/2configs/xresources.nix
@@ -14,7 +14,9 @@ let
! ref https://github.com/muennich/urxvt-perls
URxvt.perl-lib: ${pkgs.urxvt_perls}/lib/urxvt/perl
URxvt.perl-ext-common: default,clipboard,url-select,keyboard-select
- URxvt.url-select.launcher: ${config.lass.browser.select}/bin/browser-select
+ ${optionalString (hasAttr "browser" config.lass)
+ "URxvt.url-select.launcher: ${config.lass.browser.select}/bin/browser-select"
+ }
URxvt.url-select.underline: true
URxvt.keysym.M-u: perl:url-select:select_next
URxvt.keysym.M-Escape: perl:keyboard-select:activate