diff options
-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 |