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 | |
parent | 1f9f2fdf8c9f96ca260e44184807ece53ca26d45 (diff) |
Stopped using Kanshi so added monitor rules to maomaowm config and focus HDMI-A-1 if available.
-rwxr-xr-x | .config/maomao/autostart.sh | 7 | ||||
-rw-r--r-- | .config/maomao/config.conf | 3 |
2 files changed, 6 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 diff --git a/.config/maomao/config.conf b/.config/maomao/config.conf index f269f22..bdfd78b 100644 --- a/.config/maomao/config.conf +++ b/.config/maomao/config.conf @@ -243,3 +243,6 @@ mousebind=NONE,btn_right,killclient,0 axisbind=SUPER,UP,viewtoleft_have_client axisbind=SUPER,DOWN,viewtoright_have_client +# Monitor Rules +monitorrule=eDP-1,0.55,1,tile,0,1,1920,0 +monitorrule=HDMI-A-1,0.55,1,tile,0,1,0,0 |