From eb47a5b33efba6ae98bc48d0cf030f5997b755c8 Mon Sep 17 00:00:00 2001 From: Yorick van Pelt Date: Sat, 10 Mar 2018 18:50:29 +0100 Subject: [PATCH] remove unneccesary i3.nix deps --- i3/i3.nix | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/i3/i3.nix b/i3/i3.nix index e2af6ec..d377471 100644 --- a/i3/i3.nix +++ b/i3/i3.nix @@ -1,7 +1,7 @@ {writeTextDir, writeScript, lib, -rofi, xss-lock, nitrogen, compton-git, i3status, i3-gaps -,i3lock-color, xset, alsaUtils, light, screenshot_public, xorg, libinput-gestures, -haskellPackages, polybar, procps, +rofi, xss-lock, nitrogen, compton-git, +i3lock-color, xset, alsaUtils, light, screenshot_public, libinput-gestures, +haskellPackages, polybar, with_lock ? true, compton_name ? "default"}: let @@ -169,7 +169,6 @@ exec_always --no-startup-id ${nitrogen}/bin/nitrogen --restore ${kill-and-restart compton-git "compton --config /home/yorick/dotfiles/x/compton_${compton_name}.conf"} '' + (lib.optionalString with_lock '' -${kill-and-restart xorg.xf86inputsynaptics "syndaemon -i 0.5 -k -t"} ${kill-and-then "polybar" "PATH=${polybar}/bin:$PATH /home/yorick/dotfiles/i3/polybar.sh"} ${kill-and-restart xss-lock "xss-lock -l -- ${locker}"} ${kill-and-restart libinput-gestures "libinput-gestures"}