🐛 fix(hypr): librewolf now respects the workspace and monitor

This commit is contained in:
Sergio Laín 2023-11-12 14:05:35 +01:00
parent 875f0fa5d4
commit b200e2c765
No known key found for this signature in database
GPG key ID: 14C9B8080681777B

View file

@ -61,14 +61,13 @@ case $app in
kitty nvim kitty nvim
fi fi
;; ;;
# I DONT KNOW WHY LIBREWOLF IS NOT WORKING ._.
"librewolf") "librewolf")
if [ "$FOCUSED_MONITOR" = "$MONITOR1" ]; then if [ "$FOCUSED_MONITOR" = "$MONITOR1" ]; then
hyprctl dispatch exec [workspace 1] librewolf hyprctl dispatch workspace 1 && librewolf # Had to to this because it didnt work the other way
elif [ "$FOCUSED_MONITOR" = "$MONITOR2" ]; then elif [ "$FOCUSED_MONITOR" = "$MONITOR2" ]; then
hyprctl dispatch exec [workspace 11] librewolf hyprctl dispatch workspace 11 && librewolf
elif [ "$FOCUSED_MONITOR" = "$MONITOR3" ]; then elif [ "$FOCUSED_MONITOR" = "$MONITOR3" ]; then
hyprctl dispatch exec [workspace 25] librewolf hyprctl dispatch workspace 25 && librewolf
else else
librewolf librewolf
fi fi