diff options
| author | Justine Smithies <justine@smithies.me.uk> | 2026-04-15 11:34:45 +0100 |
|---|---|---|
| committer | Justine Smithies <justine@smithies.me.uk> | 2026-04-15 11:34:45 +0100 |
| commit | 4b7bab630fb79d7281dbfcb325873ead7368355d (patch) | |
| tree | f28fcbf95b2837f35c21510bca7c65b4336810f2 /.config/mango/autostart.sh | |
| parent | 5c242d4edf60a88dd630d9eb6824b7c091eb840c (diff) | |
Initial commit for running mango ( Wayland ) on OpenBSD
Diffstat (limited to '.config/mango/autostart.sh')
| -rwxr-xr-x | .config/mango/autostart.sh | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/.config/mango/autostart.sh b/.config/mango/autostart.sh new file mode 100755 index 0000000..9542afb --- /dev/null +++ b/.config/mango/autostart.sh @@ -0,0 +1,40 @@ +#!/bin/sh + +# Authentication dialog + +#pkill -f /usr/local/libexec/polkit-gnome-authentication-agent-1 +#/usr/local/libexec/polkit-gnome-authentication-agent-1 & + +# Start xdg-desktop-portal-wlr + +#pkill -f /usr/local/libexec/xdg-desktop-portal-wlr +#/usr/local/libexec/xdg-desktop-portal-wlr & + +# Start Waybar +pkill -f waybar +waybar & + +# Start Kanshi +#pkill -f kanshi +#kanshi & + +# $wallpaper is set in your shells config file like below. +read -r wallpaper<"$HOME/.cache/wallpaper" +pkill -f swaybg +swaybg -m fill -i "$wallpaper" & + +pkill -f dunst +dunst & + +#pkill -f wlsunset +#wlsunset -l 57.4 -L -1.9 & + +# Restore previous brightness +#backlight "$(grep 'brightness:' ~/.cache/brightness | awk '{print $2}')" + +# Restore audio volume +#mixer vol.volume="$(grep 'vol.volume=' ~/.cache/audio-volume | awk -F ':' '{print $2}')" +#mixer vol.mute="$(grep 'vol.mute=' ~/.cache/audio-volume | awk -F '=' '{print $2}')" + +sh "$HOME/.config/waybar/scripts/swayidle-update.sh" + |
