feat(ags): add startup script when ags launches
This commit is contained in:
parent
cbebf081ec
commit
e09a8e9fbb
2 changed files with 12 additions and 0 deletions
10
config/ags/bin/startup.sh
Executable file
10
config/ags/bin/startup.sh
Executable file
|
@ -0,0 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
## Make bluetooth status persistent between reboots
|
||||
if [[ ! -f "$HOME/.config/.bluetooth" ]]; then
|
||||
echo > "$FILE"
|
||||
fi
|
||||
|
||||
if grep -q "$HOME/.config/.bluetooth"; then
|
||||
rfkill block bluetooth
|
||||
fi
|
|
@ -9,6 +9,8 @@ const css = ags.App.configDir + '/style.css';
|
|||
exec(`touch ${css}`);
|
||||
exec(`sassc ${scss} ${css}`);
|
||||
|
||||
exec(`bash -c "$AGS_PATH/startup.sh"`);
|
||||
|
||||
export default {
|
||||
style: css,
|
||||
windows: [
|
||||
|
|
Loading…
Reference in a new issue