init nixy loop
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
let
|
||||
Config = pkgs.writeShellScriptBin "Config" ''
|
||||
SESSION="Nixy Config"
|
||||
NIXY_SCRIPT="while true; do nixy; read; done"
|
||||
|
||||
tmux has-session -t "$SESSION" 2>/dev/null
|
||||
|
||||
@@ -16,7 +15,7 @@ let
|
||||
tmux send-keys -t "$SESSION" "sleep 0.2 && clear && cd ~/.config/nixos/ && vim" C-m
|
||||
|
||||
tmux new-window -t "$SESSION" -n "nixy"
|
||||
tmux send-keys -t "$SESSION":1 "sleep 0.2 && clear && cd ~/.config/nixos/ && $NIXY_SCRIPT" C-m
|
||||
tmux send-keys -t "$SESSION":1 "sleep 0.2 && clear && cd ~/.config/nixos/ && nixy loop" C-m
|
||||
|
||||
tmux new-window -t "$SESSION" -n "lazygit"
|
||||
tmux send-keys -t "$SESSION":2 "sleep 0.2 && clear && cd ~/.config/nixos/ && lazygit" C-m
|
||||
|
||||
Reference in New Issue
Block a user