script for starting browser on dual monitor setup
This commit is contained in:
parent
e81feed04a
commit
32c129898a
@ -48,11 +48,11 @@
|
||||
|
||||
# Workspace 1 aktivieren und Chromium starten
|
||||
${pkgs.hyprland}/bin/hyprctl dispatch workspace 1
|
||||
${pkgs.chromium}/bin/chromium "$WEBAPP_URL" &
|
||||
chromium "$WEBAPP_URL" &
|
||||
|
||||
# Warten, bis Chromium-Fenster zu sehen ist
|
||||
while true; do
|
||||
if ${pkgs.hyprland}/bin/hyprctl -j clients | ${pkgs.jq}/bin/jq -e '.[] | select(.class == "chromium-browser")' >/dev/null; then
|
||||
if ${pkgs.hyprland}/bin/hyprctl -j clients | ${pkgs.jq}/bin/jq -e '.[] | select(.class == "Chromium-browser")' >/dev/null; then
|
||||
break
|
||||
fi
|
||||
sleep 0.2
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user