diff options
author | Justine Smithies <justine@smithies.me.uk> | 2025-06-21 13:43:07 +0100 |
---|---|---|
committer | Justine Smithies <justine@smithies.me.uk> | 2025-06-21 13:43:07 +0100 |
commit | 7b7997f34eedc4b5acc83b40ee01007d81f35e03 (patch) | |
tree | ba1d07b4b60180971a6311141fba157edaad02a5 /.config/maomao/autostart.sh | |
parent | 1f9f2fdf8c9f96ca260e44184807ece53ca26d45 (diff) |
Stopped using Kanshi so added monitor rules to maomaowm config and focus HDMI-A-1 if available.
Diffstat (limited to '.config/maomao/autostart.sh')
-rwxr-xr-x | .config/maomao/autostart.sh | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/.config/maomao/autostart.sh b/.config/maomao/autostart.sh index c0a48a1..7a03929 100755 --- a/.config/maomao/autostart.sh +++ b/.config/maomao/autostart.sh @@ -14,10 +14,6 @@ pkill -f /usr/local/libexec/xdg-desktop-portal-wlr pkill -f waybar waybar & -# Start Kanshi which also starts Yambar -pkill -f kanshi -kanshi & - # $wallpaper is set in your shells config file like below. read -r wallpaper<"$HOME/.cache/wallpaper" pkill -f swaybg @@ -37,3 +33,6 @@ mixer vol.volume="$(grep 'vol.volume=' ~/.cache/audio-volume | awk -F ':' '{prin mixer vol.mute="$(grep 'vol.mute=' ~/.cache/audio-volume | awk -F '=' '{print $2}')" sh "$HOME/.config/waybar/scripts/swayidle-update.sh" + +# Focus HDMI-A-1 if available on startup +mmsg -d focusmon,HDMI-A-1 |