diff --git a/home/common/default.nix b/home/common/default.nix index 5cc6581..f5d023f 100644 --- a/home/common/default.nix +++ b/home/common/default.nix @@ -20,6 +20,7 @@ ./taskwarrior.nix ./topgrade.nix ./tmux.nix + ./tui.nix ./vifm.nix ]; home.packages = with pkgs; [ diff --git a/home/common/files/tmuxinator/chat.yml b/home/common/files/tmuxinator/chat.yml new file mode 100644 index 0000000..a96cf08 --- /dev/null +++ b/home/common/files/tmuxinator/chat.yml @@ -0,0 +1,9 @@ +# /home/don/.config/tmuxinator/nixos.yml + +name: chat +root: ~/Downloads + + +windows: + - matrix: iamb + - telegram: nchat diff --git a/home/common/tmux.nix b/home/common/tmux.nix index 5843a22..25dd50c 100644 --- a/home/common/tmux.nix +++ b/home/common/tmux.nix @@ -72,6 +72,7 @@ bind C-8 select-window -t 18 bind C-9 select-window -t 19 bind C-c run "tmux show-buffer | wl-copy" + bind C-n neww -n net "exec $TEXTWEB" bind C-t neww -n vit "exec vit" bind C-v run "tmux set-buffer -- \"$(wl-paste)\"; tmux paste-buffer" bind F1 select-window -t 11 @@ -93,7 +94,6 @@ bind g select-layout tiled bind o select-pane -t :.- bind-key u capture-pane \; save-buffer /tmp/tmux-buffer \; new-window -n "urlscan" '$SHELL -c "urlscan -c -d < /tmp/tmux-buffer"' - bind-key -n C-l send-keys 'C-l' set -g bell-action any set -g buffer-limit 9 set -g display-panes-active-colour red diff --git a/home/common/tui.nix b/home/common/tui.nix new file mode 100644 index 0000000..362caa8 --- /dev/null +++ b/home/common/tui.nix @@ -0,0 +1,21 @@ +{ ... }: +{ + programs = { + iamb = { + enable = true; + settings = { + default_profile = "personal"; + profiles = { + "personal" = { + user_id = "@duckunix:matrix.org"; + }; + }; + settings = { + notifications = { + enabled = true; + }; + }; + }; + }; + }; +}