Skip to content

Commit 25c4fdf

Browse files
committed
tmux
1 parent 80f6199 commit 25c4fdf

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

nix/configuration.nix

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -866,7 +866,7 @@ in {
866866
s-tui
867867
qutebrowser
868868
xorg.xev
869-
unst.yewtube
869+
pkgs.yewtube
870870
niv
871871
zip
872872
unzip
@@ -936,8 +936,19 @@ in {
936936
settings = {
937937
font.size = 14;
938938
window.startup_mode = "Fullscreen";
939+
terminal.shell.program = "${pkgs.bash}/bin/bash";
940+
terminal.shell.args = [
941+
"-c"
942+
"${pkgs.tmux}/bin/tmux attach || ${pkgs.tmux}/bin/tmux"
943+
];
939944
};
940945
};
946+
programs.tmux = {
947+
enable = true;
948+
keyMode = "vi";
949+
baseIndex = 1;
950+
clock24 = true;
951+
};
941952
#
942953
# NOTE : direnv is used to cache nix development shells
943954
# and protect them from being removed by the garbadge collector
@@ -1114,7 +1125,7 @@ in {
11141125
};
11151126
cfgProgrKeys = {
11161127
"${mod}+Return" = "exec ${alacritty}/bin/alacritty";
1117-
"${mod}+y" = "exec ${alacritty}/bin/alacritty -e ${unst.yewtube}/bin/yt";
1128+
"${mod}+y" = "exec ${alacritty}/bin/alacritty -e ${pkgs.yewtube}/bin/yt";
11181129
"${mod}+b" = "exec ${qutebrowser}/bin/qutebrowser";
11191130
};
11201131
cfgBasicKeys = {

0 commit comments

Comments
 (0)