diff --git a/config/ags/bin/startup.sh b/config/ags/bin/startup.sh new file mode 100755 index 0000000..af1ede4 --- /dev/null +++ b/config/ags/bin/startup.sh @@ -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 diff --git a/config/ags/config.js b/config/ags/config.js index 095e213..1be9cc6 100644 --- a/config/ags/config.js +++ b/config/ags/config.js @@ -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: [