about summary refs log tree commit diff stats
path: root/309stream.subx
Commit message (Expand)AuthorAgeFilesLines
* 7842 - new directory organizationKartik K. Agaram2021-03-031-8/+8
* 7100 - tile: render string literalsKartik Agaram2020-10-251-0/+56
* 6742 - support for formatting in fake screensKartik Agaram2020-09-071-0/+2
* 6687 - stream-empty? and stream-full?Kartik Agaram2020-07-301-2/+50
* 6684 - experimental primitives for streamsKartik Agaram2020-07-291-0/+108
728cf28'>816e1ee ^
2904502 ^

49a0c64 ^
2904502 ^





3724b1d ^
a30da55 ^
9d14384 ^
a30da55 ^

1a38ff6 ^
a30da55 ^


















bfcc85e ^
2904502 ^
bfcc85e ^

b9c843c ^

bfcc85e ^
b9c843c ^
bfcc85e ^
2904502 ^


8b8eec7 ^
bfcc85e ^
b9c843c ^



9632522 ^



2904502 ^




1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
                           









                              
                             
          

                  
                 





                                 
                   
                          
                              

                          
                          


















                                                                                                        
      
                    

                             

                                                               
 
                                 
 


                                         
                                                      
 



                                                                                                         



                                                                                                      




       
{ config, pkgs, lib, ... }:
{

  imports = [
    ./common.nix
    ./clojure.nix
  ];

  home.packages = with pkgs; [
    docker
    docker-compose
    docker-credential-helpers
    ffmpeg
    gopass-jsonapi
    mpv
    multimarkdown
    neovim
  ];

  programs.tmux = {
    enable = true;
    terminal = "screen-256color";
    prefix = "C-x";
    plugins = with pkgs; [
      tmuxPlugins.copy-toolkit
      tmuxPlugins.copycat
      tmuxPlugins.extrakto
      tmuxPlugins.fuzzback
      tmuxPlugins.fzf-tmux-url
      tmuxPlugins.jump
      {
        plugin = tmuxPlugins.open;
        extraConfig = ''
          set -g @open-S 'https://www.duckduckgo.com/?q='
        '';
      }
      {
        plugin = tmuxPlugins.tmux-thumbs;
        extraConfig = ''
          set -g @thumbs-reverse enabled
          set -g @thumbs-unique enabled
          set -g @thumbs-position right
          set -g @thumbs-contrast 1
          #${lib.optionalString pkgs.stdenv.isLinux "set -g @thumbs-upcase-command 'xargs xdg-open {}'"}
          #${lib.optionalString pkgs.stdenv.isDarwin "set -g @thumbs-upcase-command 'xargs open {}'"}
        '';
      }
    ];
    extraConfig = ''
     unbind-key R
     bind-key R run-shell ' \
       tmux source-file ~/.config/tmux/tmux.conf > /dev/null; \
       tmux display-message "Sourced .config/tmux/tmux.conf!"'

      bind-key £ split-window -h

      set-option -g status-bg '#666666'
      set-option -g status-fg '#aaaaaa'
      set-option -g status-left-length 50
      set-option -g status-right " %a, %b %d - %H:%M "

      ${lib.optionalString pkgs.stdenv.isLinux ''
        bind-key -T copy-mode y send-keys -X copy-pipe-and-cancel "xsel -i -p && xsel -o -p | xsel -i -b"
        bind-key C-y run "xsel -o | tmux load-buffer - ; tmux paste-buffer"
      ''}
      ${lib.optionalString pkgs.stdenv.isDarwin ''
        bind-key -T copy-mode y send-keys -X copy-pipe-and-cancel "reattach-to-user-namespace pbcopy"
        bind-key C-y run "reattach-to-user-namespace pbpaste | tmux load-buffer - ; tmux paste-buffer"
      ''}
    '';
  };

}