diff options
author | tv <tv@shackspace.de> | 2015-07-26 14:17:39 +0200 |
---|---|---|
committer | tv <tv@shackspace.de> | 2015-07-26 14:17:39 +0200 |
commit | cea33984057136ea0deac369650e490f420b5445 (patch) | |
tree | a9a596081878d3117e625b9ce164c82339e35812 /1systems/tv/wu.nix | |
parent | f811bc0144b7268031a960d85e0dfee35d5e8fed (diff) |
1 tv wu: systemPackages += im -= weechat
Diffstat (limited to '1systems/tv/wu.nix')
-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 f542581ba..192b65b9d 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 |