From 7fed1757c57c00a0886ae2613c73018eea9659d3 Mon Sep 17 00:00:00 2001 From: Akshay Date: Sat, 11 Feb 2023 12:28:59 +0530 Subject: fix chromium; auto start tmux sesh --- programs/chromium.nix | 5 +++-- programs/tmux.nix | 10 ++++------ 2 files changed, 7 insertions(+), 8 deletions(-) (limited to 'programs') 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 @@ extensions = [ "gcbommkclmclpchllfjekcdonpmejbdp" # https everywhere "cjpalhdlnbpafiamejdnhcphjbkeiagm" # ublock origin - "aapbdbdomjkkjkaonfhkkikfgjllcleb" # translate "aghfnjkcakhmadgdomlmlhhaocbkloab" # just black - "pobhoodpcipjmedfenaigbeloiidbflp" # minimal twitter "ennpfpdlaclocpomkiablnmbppdnlhoh" # rust search extension ]; + commandLineArgs = [ + "--force-dark-mode" + ]; }; } 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 { programs.tmux = { enable = true; - plugins = [ thumbs resurrect ]; + plugins = [ thumbs ]; prefix = "C-t"; keyMode = "vi"; terminal = "xterm-256color-italic"; extraConfig = '' - unbind-key C-b - bind-key C-t send-prefix - bind r source-file ~/.config/tmux/tmux.conf set escape-time 20 - set -g mouse on set -g base-index 1 @@ -79,7 +75,6 @@ in # session jumper bind-key -n C-j run-shell "tmux-fzf" - # pane binds unbind-key E bind-key h select-pane -L @@ -148,6 +143,9 @@ in # popup styles set -g popup-border-style "fg=colour8" + + # load all sessions + source-file ~/.config/tmux/sessions/all ''; }; } -- cgit v1.2.3