Arch systemupdate script

This commit is contained in:
cubernetes 2023-08-08 19:37:01 +02:00
parent ddd26e0f1d
commit d82655349e
1 changed files with 16 additions and 0 deletions

16
.local/bin/system_update.sh Executable file
View File

@ -0,0 +1,16 @@
#!/bin/sh
export PATH="${PATH}:/home/tosuman/.local/bin"
export SHELL='/usr/bin/bash'
export DISPLAY=:0
number_of_tmux_sessions="$(tmux ls | wc -l)"
if [ "${number_of_tmux_sessions}" = "0" ] ; then
alacritty & disown
sleep 1
fi
tmux new-window -c '/home/tosuman' \
&& tmux rename-window 'System Update' \
&& tmux send-key 'paruuu' ENTER