From bf92d3b7407d306944eca92df2bf49c787546b11 Mon Sep 17 00:00:00 2001 From: Griffin Smith Date: Wed, 8 Apr 2020 23:23:49 -0400 Subject: simplify rofi script --- home/modules/i3.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'home/modules') diff --git a/home/modules/i3.nix b/home/modules/i3.nix index b4ffd202e07c..e3eea5f7d8d8 100644 --- a/home/modules/i3.nix +++ b/home/modules/i3.nix @@ -95,15 +95,13 @@ in { ''}"; # Launching applications - "${mod}+u" = - let rofi = pkgs.writeShellScript "rofi" '' + "${mod}+u" = "exec ${pkgs.writeShellScript "rofi" '' rofi \ -modi 'combi' \ -combi-modi "window,drun,ssh,run" \ -font '${decorationFont}' \ -show combi - ''; - in "exec ${rofi}"; + ''}"; # Passwords "${mod}+p" = "exec rofi-pass -font '${decorationFont}'"; -- cgit 1.4.1