diff options
author | tv <tv@krebsco.de> | 2015-07-26 14:17:39 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-07-26 14:17:39 +0200 |
commit | 9195e3101718fa255976b18d1513eeda08fee2de (patch) | |
tree | ca56bf04a16baa0e71c7299092b8f29fcad93b42 /1systems/tv | |
parent | fd22ed0fa967cd2b18196526d3492922e89bd5bd (diff) |
1 tv wu: systemPackages += im -= weechat
Diffstat (limited to '1systems/tv')
-rw-r--r-- | 1systems/tv/wu.nix | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/1systems/tv/wu.nix b/1systems/tv/wu.nix index f542581..192b65b 100644 --- a/1systems/tv/wu.nix +++ b/1systems/tv/wu.nix @@ -35,6 +35,19 @@ in exec ${pkgs.firefoxWrapper}/bin/firefox $(printf " %q" "$@") EOF '') + (pkgs.writeScriptBin "im" '' + #! ${pkgs.bash}/bin/bash + export PATH=${makeSearchPath "bin" (with pkgs; [ + tmux + gnugrep + weechat + ])} + if tmux list-sessions -F\#S | grep -q '^im''$'; then + exec tmux attach -t im + else + exec tmux new -s im weechat + fi + '') # root cryptsetup @@ -62,7 +75,6 @@ in sxiv texLive tmux - weechat zathura Zpkgs.dic |