14 lines
303 B
Bash
Executable File
14 lines
303 B
Bash
Executable File
#!/bin/sh
|
|
source /etc/profile.sh
|
|
|
|
javascript='
|
|
const isoterminal = document.querySelector("[isoterminal]").components.isoterminal.isoterminal
|
|
isoterminal.save()
|
|
return "[OK] xrsh state saved\n"
|
|
'
|
|
|
|
echo "[OK] triggering ~/hook.d/save/* scripts"
|
|
hook save
|
|
echo "[..] please wait.."
|
|
js "$javascript"
|