summaryrefslogtreecommitdiffstats
path: root/scripts/surf_search.nix
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/surf_search.nix')
-rw-r--r--scripts/surf_search.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/scripts/surf_search.nix b/scripts/surf_search.nix
new file mode 100644
index 0000000..233a121
--- /dev/null
+++ b/scripts/surf_search.nix
@@ -0,0 +1,17 @@
+{ pkgs }:
+pkgs.writeShellApplication {
+ name = "surf_search";
+ runtimeInputs = with pkgs; [
+ dmenu
+ xprop
+ gnused
+ coreutils
+ ];
+ text = builtins.readFile (
+ pkgs.replaceVars ../dotfiles/surf/surf.sh {
+ dmenu = pkgs.dmenu;
+ xprop = pkgs.xprop;
+ gnused = pkgs.gnused;
+ coreutils = pkgs.coreutils;
+ }
+ );}