set -g pane-active-border-style 'bg=colour39'
set -g pane-active-border-style 'fg=green,bg=black'
set -g pane-border-style 'fg=white,bg=black'
-#set -g pane-border-status bottom
-#set -g pane-border-format " #P: #{pane_current_command} "
-#set -g pane-border-format " #P: #{pane_current_path} "
+set -g pane-border-status top
+set -g pane-border-format " #P: #{?#{==:#{pane_current_command},firejail},#{pane_title},#{pane_current_command}} "
# window
setw -g base-index 1
#
# Note that setting --argv0 would have no lasting effect because
# nixos/modules/security/wrappers/wrapper.c forces argv[0] = SOURCE_PROG
+ # Tip(tmux): #{pane_current_command} is thus always "firejail" in tmux,
+ # but this can be worked around with something like:
+ # set -g pane-border-format " #P: #{?#{==:#{pane_current_command},firejail},#{pane_title},#{pane_current_command}} "
''
for path in ${pkgs.lib.escapeShellArgs paths}; do
rm "$out/$path"