saving in case
This commit is contained in:
parent
77dece5c9c
commit
4c8b2b9c3b
2 changed files with 47 additions and 5 deletions
26
script.bash
26
script.bash
|
@ -19,13 +19,29 @@ cleanup() {
|
|||
}
|
||||
|
||||
source ./modules/config_json.bash # can be json or ini, I preffer json
|
||||
source ./modules/gui.bash
|
||||
source ./modules/ntfy.bash
|
||||
#source ./modules/gui.bash
|
||||
#source ./modules/ntfy.bash
|
||||
#source ./modules/keydb.bash
|
||||
|
||||
source ./modules/tmux.bash
|
||||
# Keydb / Redis interaction functions, works for both
|
||||
|
||||
|
||||
show_notification "Hello World!"
|
||||
# show_notification "Hello World!"
|
||||
|
||||
# send_ntfy_message "Hello World!" "kuma"
|
||||
|
||||
# Get list of panes
|
||||
|
||||
# We check how many windows
|
||||
|
||||
windows=$(tmux_list_windows)
|
||||
|
||||
echo "Windows"
|
||||
echo "$windows"
|
||||
|
||||
# We check how many panes
|
||||
panes=$(tmux_list_panes)
|
||||
|
||||
echo "Panes"
|
||||
echo "$panes"
|
||||
|
||||
send_ntfy_message "Hello World!" "kuma"
|
Loading…
Add table
Add a link
Reference in a new issue