diff options
author | lassulus <lass@aidsballs.de> | 2015-09-05 12:13:14 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2015-09-05 12:13:14 +0200 |
commit | 0253b3f073d10f49335ad091d272f97bfcce80e8 (patch) | |
tree | 05390be6915c649e877156385068d8cf738a3e46 | |
parent | 9dcea815c6d840abee2009c2cb56695039dbc8c8 (diff) |
lass 2 browsers: add browser-select
-rw-r--r-- | lass/2configs/browsers.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lass/2configs/browsers.nix b/lass/2configs/browsers.nix index 9849c829a..2aaeda63d 100644 --- a/lass/2configs/browsers.nix +++ b/lass/2configs/browsers.nix @@ -26,8 +26,17 @@ let ]; }; + #TODO: abstract this + in { + environment.systemPackages = [ + (simpleScript "browser-select" '' + BROWSER=$(echo -e "ff\ncr\nfb\ngm\nflash" | dmenu) + $BROWSER $@ + '') + ]; + imports = [ ../3modules/per-user.nix ] ++ [ |