Skip to content

Commit

Permalink
Update conf for Zellij
Browse files Browse the repository at this point in the history
  • Loading branch information
gwarf committed Dec 10, 2024
1 parent 8e840dd commit 98a61e2
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 9 deletions.
7 changes: 4 additions & 3 deletions home/bin/executable_bgedit-screen-tmux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -52,15 +52,16 @@ $editor "\$@"
exitval=\$?
END_SCRIPT

if test x$STY != x; then
if test "x$STY" != "x"; then
screen -X screen /bin/sh "$tmpdir/run" "$@"
elif test x$TMUX != x; then
elif test "x$TMUX" != "x"; then
tmux neww /bin/sh "$tmpdir/run" "$@"
elif test "x$ZELLIJ" != "x"; then
zellij action new-pane --floating --close-on-exit --name "Mail composition" -- /bin/sh "$tmpdir/run" "$@"
else
echo "Not running inside a terminal emulator" >&2
exit 1
fi

read exitval <"$tmpdir/status"
exit "$exitval"

2 changes: 1 addition & 1 deletion home/private_dot_config/kitty/kitty.conf.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ font_size 14.0
hide_window_decorations no
inactive_tab_font_style normal
{{ if eq .chezmoi.os "darwin" -}}
macos_option_as_alt yes
{{ if stat "/opt/homebrew/bin/fish" }}
shell /opt/homebrew/bin/fish --interactive --login
{{ else -}}
Expand Down Expand Up @@ -43,4 +44,3 @@ modify_font underline_position 2
# https://github.com/ryanoasis/nerd-fonts/wiki/Glyph-Sets-and-Code-Points
# symbol_map = "U+E5FA-U+E62B,U+E700-U+E7C5,U+F000-U+F2E0,U+E200-U+E2A9,U+F500-U+FD46,U+E300-U+E3EB,U+F400-U+F4A8,U+2665,U+26a1,U+F27C,U+E0A3,U+E0B4-U+E0C8,U+E0CA,U+E0CC-U+E0D2,U+E0D4,U+23FB-U+23FE,U+2B58,U+F300-U+F313,U+E000-U+E00D JetBrainsMono Nerd Font";
# symbol_map = "U+E5FA-U+E62B,U+E700-U+E7C5,U+F000-U+F2E0,U+E200-U+E2A9,U+F500-U+FD46,U+E300-U+E3EB,U+F400-U+F4A8,U+2665,U+26a1,U+F27C,U+E0A3,U+E0B4-U+E0C8,U+E0CA,U+E0CC-U+E0D2,U+E0D4,U+23FB-U+23FE,U+2B58,U+F300-U+F313,U+E000-U+E00D Menlo";

2 changes: 1 addition & 1 deletion home/private_dot_config/neomutt/profile-maildir.egi
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
# http://www.mutt.org/doc/manual/#bgedit
# XXX not available on neomutt
set background_edit
set editor = "~/bin/bgedit-screen-tmux.sh nvim"
set editor = "bgedit-screen-tmux.sh nvim"
# set editor = "nvim-qt"
# set editor = "subl -n -w"

Expand Down
8 changes: 4 additions & 4 deletions home/private_dot_config/zellij/config.kdl
Original file line number Diff line number Diff line change
Expand Up @@ -314,8 +314,8 @@ default_shell "/opt/homebrew/bin/fish"
// Options:
// - true (default, enabled)
// - false
//
// pane_frames false
//
pane_frames true

// When attaching to an existing session with other users,
// should the session be mirrored (true)
Expand Down Expand Up @@ -378,13 +378,13 @@ default_shell "/opt/homebrew/bin/fish"
// otherwise this will error if such a session exists.
// Default: <RANDOM>
//
// session_name "My singleton session"
session_name "EGI"

// When `session_name` is provided, attaches to that session
// if it is already running or creates it otherwise.
// Default: false
//
// attach_to_session true
attach_to_session true

// Toggle between having Zellij lay out panes according to a predefined set of layouts whenever possible
// Options:
Expand Down

0 comments on commit 98a61e2

Please sign in to comment.