Hyprland: Setup multi-monitors

This commit is contained in:
Riyyi
2025-02-28 18:24:09 +01:00
parent 6e50e217c3
commit ccebfdcdd5
3 changed files with 28 additions and 8 deletions
+10
View File
@@ -237,7 +237,12 @@ if [ $qualityOption -eq 1 ]; then
fi
# Set url to clipboard if none provided
# >>> session=xorg
clip="$(xclip -selection clipboard -out)"
# <<<
# >>> session=wayland
# clip="$(wl-paste)"
# <<<
if [ "$#" -eq 0 ]; then
eval set -- "$clip"
fi
@@ -257,7 +262,12 @@ elif [ $queueOption -eq 1 ]; then
queue "$*"
else
if [ "$*" = "" ]; then
# >>> session=xorg
play "$(xclip -o)"
# <<<
# >>> session=wayland
# play "$(wl-paste)"
# <<<
else
for url in "$@"; do
play "$url"