nix: expose shared home manager configuration via homeModules

This commit is contained in:
Primrose 2024-07-12 23:22:09 +02:00
parent 5155bd69e8
commit 5b95c43559
Signed by: primrose
GPG key ID: 4E887A4CA9714ADA
47 changed files with 45 additions and 29 deletions

View file

@ -1,21 +0,0 @@
# abandon if tmux not running
set tmux_running (pgrep tmux)
if [ -z "$tmux_running" ]
return 0
end
set selected (tmux list-sessions -F "#{session_name}" | fzf)
if [ -z $selected ]
return 0
end
# echo "---attach---" >> /tmp/TMUX_DEBUG
# echo (cat /tmp/TMUX_LAST) >> /tmp/TMUX_DEBUG
echo (tmux display-message -p '#S') > /tmp/TMUX_LAST
# echo (cat /tmp/TMUX_LAST) >> /tmp/TMUX_DEBUG
if [ -z $TMUX ]
tmux attach-session -t $selected
else
tmux switch-client -t $selected
end