summaryrefslogtreecommitdiffstats
path: root/tv
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2018-12-02 14:52:25 +0100
committertv <tv@krebsco.de>2018-12-02 15:37:42 +0100
commitab2b6383b0244d01e067143e541261b009ef5644 (patch)
tree86eaae3e1367f32e74ae643fca8c469a8f6304ad /tv
parent695363f0d6fe94c8e725d28fad0aac8cccdfc821 (diff)
tv xmonad: find all paths
Diffstat (limited to 'tv')
-rw-r--r--tv/2configs/xserver/default.nix1
-rw-r--r--tv/5pkgs/haskell/xmonad-tv/src/Paths.hs4
2 files changed, 3 insertions, 2 deletions
diff --git a/tv/2configs/xserver/default.nix b/tv/2configs/xserver/default.nix
index 22c94f7..4802955 100644
--- a/tv/2configs/xserver/default.nix
+++ b/tv/2configs/xserver/default.nix
@@ -99,6 +99,7 @@ in {
pkgs.fzmenu
pkgs.pulseaudioLight.out
pkgs.rxvt_unicode
+ "/run/wrappers" # for slock, and su
];
serviceConfig = {
SyslogIdentifier = "xmonad";
diff --git a/tv/5pkgs/haskell/xmonad-tv/src/Paths.hs b/tv/5pkgs/haskell/xmonad-tv/src/Paths.hs
index e12c25b..317900c 100644
--- a/tv/5pkgs/haskell/xmonad-tv/src/Paths.hs
+++ b/tv/5pkgs/haskell/xmonad-tv/src/Paths.hs
@@ -13,10 +13,10 @@ passmenu :: FilePath
passmenu = findExecutable "passmenu"
slock :: FilePath
-slock = "/run/wrappers/bin/slock"
+slock = findExecutable "slock"
su :: FilePath
-su = "/run/wrappers/bin/su"
+su = findExecutable "su"
urxvtc :: FilePath
urxvtc = findExecutable "urxvtc"