aboutsummaryrefslogtreecommitdiff
path: root/programs
diff options
context:
space:
mode:
authorAkshay <[email protected]>2023-02-11 06:58:59 +0000
committerAkshay <[email protected]>2023-02-11 06:58:59 +0000
commit7fed1757c57c00a0886ae2613c73018eea9659d3 (patch)
tree63cf036359d13401cb53b58ea553122d1ccb6f63 /programs
parent01781658b87f573f05e1fa3f48be810656b93d84 (diff)
fix chromium; auto start tmux sesh
Diffstat (limited to 'programs')
-rw-r--r--programs/chromium.nix5
-rw-r--r--programs/tmux.nix10
2 files changed, 7 insertions, 8 deletions
diff --git a/programs/chromium.nix b/programs/chromium.nix
index 975e721..dcd48f4 100644
--- a/programs/chromium.nix
+++ b/programs/chromium.nix
@@ -9,10 +9,11 @@
9 extensions = [ 9 extensions = [
10 "gcbommkclmclpchllfjekcdonpmejbdp" # https everywhere 10 "gcbommkclmclpchllfjekcdonpmejbdp" # https everywhere
11 "cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin 11 "cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin
12 "aapbdbdomjkkjkaonfhkkikfgjllcleb" # translate
13 "aghfnjkcakhmadgdomlmlhhaocbkloab" # just black 12 "aghfnjkcakhmadgdomlmlhhaocbkloab" # just black
14 "pobhoodpcipjmedfenaigbeloiidbflp" # minimal twitter
15 "ennpfpdlaclocpomkiablnmbppdnlhoh" # rust search extension 13 "ennpfpdlaclocpomkiablnmbppdnlhoh" # rust search extension
16 ]; 14 ];
15 commandLineArgs = [
16 "--force-dark-mode"
17 ];
17 }; 18 };
18} 19}
diff --git a/programs/tmux.nix b/programs/tmux.nix
index 2e73f3e..b66f79e 100644
--- a/programs/tmux.nix
+++ b/programs/tmux.nix
@@ -59,18 +59,14 @@ in
59{ 59{
60 programs.tmux = { 60 programs.tmux = {
61 enable = true; 61 enable = true;
62 plugins = [ thumbs resurrect ]; 62 plugins = [ thumbs ];
63 prefix = "C-t"; 63 prefix = "C-t";
64 keyMode = "vi"; 64 keyMode = "vi";
65 terminal = "xterm-256color-italic"; 65 terminal = "xterm-256color-italic";
66 extraConfig = '' 66 extraConfig = ''
67 unbind-key C-b
68 bind-key C-t send-prefix
69
70 bind r source-file ~/.config/tmux/tmux.conf 67 bind r source-file ~/.config/tmux/tmux.conf
71 68
72 set escape-time 20 69 set escape-time 20
73
74 set -g mouse on 70 set -g mouse on
75 71
76 set -g base-index 1 72 set -g base-index 1
@@ -79,7 +75,6 @@ in
79 # session jumper 75 # session jumper
80 bind-key -n C-j run-shell "tmux-fzf" 76 bind-key -n C-j run-shell "tmux-fzf"
81 77
82
83 # pane binds 78 # pane binds
84 unbind-key E 79 unbind-key E
85 bind-key h select-pane -L 80 bind-key h select-pane -L
@@ -148,6 +143,9 @@ in
148 143
149 # popup styles 144 # popup styles
150 set -g popup-border-style "fg=colour8" 145 set -g popup-border-style "fg=colour8"
146
147 # load all sessions
148 source-file ~/.config/tmux/sessions/all
151 ''; 149 '';
152 }; 150 };
153} 151}