From faac9c064d0fed50aad5fb9cbb1790cf2a341e05 Mon Sep 17 00:00:00 2001 From: Christian Baer Date: Mon, 20 Dec 2021 17:12:22 +0100 Subject: [PATCH] tmux: Added sudo to htop call --- .config/tmux/tmux.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.config/tmux/tmux.conf b/.config/tmux/tmux.conf index 9f3d509..c1acd23 100644 --- a/.config/tmux/tmux.conf +++ b/.config/tmux/tmux.conf @@ -1,7 +1,7 @@ # Start a session if none exists new-session -s main # Start htop and split window -set-hook -t main session-created 'send-keys -t main:0 "htop" C-m; split-window' +set-hook -t main session-created 'send-keys -t main:0 "sudo htop" C-m; split-window' # remap prefix from 'C-b' to 'C-a' unbind C-b set-option -g prefix C-a