summaryrefslogtreecommitdiffstats
path: root/lass/2configs/browsers.nix
diff options
context:
space:
mode:
authorlassulus <lass@aidsballs.de>2015-09-05 12:13:14 +0200
committerlassulus <lass@aidsballs.de>2015-09-05 12:13:14 +0200
commit0253b3f073d10f49335ad091d272f97bfcce80e8 (patch)
tree05390be6915c649e877156385068d8cf738a3e46 /lass/2configs/browsers.nix
parent9dcea815c6d840abee2009c2cb56695039dbc8c8 (diff)
lass 2 browsers: add browser-select
Diffstat (limited to 'lass/2configs/browsers.nix')
-rw-r--r--lass/2configs/browsers.nix9
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
] ++ [