cleanup
This commit is contained in:
parent
6e632a87c2
commit
223cad3082
3 changed files with 9 additions and 12 deletions
|
|
@ -270,6 +270,9 @@ in
|
|||
enable = true;
|
||||
enableZshIntegration = true;
|
||||
nix-direnv.enable = true;
|
||||
config.global = {
|
||||
hide_env_diff = true;
|
||||
}
|
||||
stdlib = ''
|
||||
layout_uv() {
|
||||
if [[ ! -d .venv ]]; then
|
||||
|
|
|
|||
|
|
@ -194,12 +194,12 @@ in
|
|||
};
|
||||
urgency_low = {
|
||||
background = c.bg;
|
||||
foreground = c.fg;
|
||||
foreground = c.blue;
|
||||
frame_color = c.blue;
|
||||
};
|
||||
urgency_normal = {
|
||||
background = c.bg;
|
||||
foreground = c.blue;
|
||||
frame_color = c.blue;
|
||||
foreground = c.fg;
|
||||
};
|
||||
urgency_critical = {
|
||||
background = c.bg;
|
||||
|
|
|
|||
12
scripts/mux
12
scripts/mux
|
|
@ -173,13 +173,9 @@ cmd)
|
|||
query=$(printf '%s' "$result" | head -1)
|
||||
action=$(printf '%s' "$result" | sed -n '2p')
|
||||
[ $rc -eq 130 ] && exit
|
||||
if [ -n "$action" ]; then
|
||||
case "$query" in
|
||||
"$action "*)
|
||||
tmux $query
|
||||
exit
|
||||
;;
|
||||
esac
|
||||
if [ -n "$query" ] && [ "$query" != "$action" ]; then
|
||||
tmux $query
|
||||
elif [ -n "$action" ]; then
|
||||
case "$action" in
|
||||
switch-client) pick_session ;;
|
||||
select-window) pick_window ;;
|
||||
|
|
@ -228,8 +224,6 @@ cmd)
|
|||
;;
|
||||
*) tmux "$action" ;;
|
||||
esac
|
||||
elif [ -n "$query" ]; then
|
||||
tmux $query
|
||||
fi
|
||||
;;
|
||||
*)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue