mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-01 00:19:22 +01:00
Compare commits
No commits in common. "930c8e019b34cf34370000f2fc9d0d0365c300f2" and "9437d3fa56f55a1ed2d6c9be7a7b8a6d93589864" have entirely different histories.
930c8e019b
...
9437d3fa56
@ -1,13 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
while true; do
|
|
||||||
# Neovim complains about mangling backslashes if -r is not specified and
|
|
||||||
# I have learned to listen to its warnings
|
|
||||||
read -rp "What would you like to check for a palindrome?: " inputted
|
|
||||||
reversed=$(echo "$inputted" | rev)
|
|
||||||
echo "$reversed"
|
|
||||||
|
|
||||||
if [[ $inputted == "$reversed" ]]; then
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
done
|
|
@ -1,5 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -x
|
|
||||||
/usr/bin/brave-browser-beta --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
|
||||||
set +x
|
|
@ -1,5 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -x
|
|
||||||
brave-beta --guest "$@"
|
|
||||||
set +x
|
|
@ -1,26 +1,5 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
# TODO! Enable wayland support by swapping x11 with auto! Currently broken.
|
|
||||||
# https://github.com/microsoft/vscode/issues/202072
|
|
||||||
|
|
||||||
set -x
|
set -x
|
||||||
if [ -f /usr/bin/code ]; then
|
flatpak run com.visualstudio.code --no-sandbox --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
||||||
/usr/bin/code --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform --ozone-platform-hint=x11 "$@"
|
|
||||||
|
|
||||||
elif [ -f /snap/bin/code ]; then
|
|
||||||
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
|
|
||||||
#unset DBUS_SESSION_BUS_ADDRESS
|
|
||||||
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/105
|
|
||||||
#export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
|
|
||||||
snap run code --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform --ozone-platform-hint=x11 "$@"
|
|
||||||
|
|
||||||
elif [ -f ~/.local/share/flatpak/exports/bin/run/com.visualstudio.code ]; then
|
|
||||||
flatpak run --user com.visualstudio.code --verbose --no-sandbox --ozone-platform-hint=x11 --enable-features=WaylandWindowDecorations "$@"
|
|
||||||
|
|
||||||
elif [ -f ~/.local/share/flatpak/exports/bin/run/com.visualstudio.code ]; then
|
|
||||||
flatpak run com.visualstudio.code --verbose --no-sandbox --ozone-platform-hint=x11 --enable-features=WaylandWindowDecorations "$@"
|
|
||||||
|
|
||||||
else
|
|
||||||
echo "code not found :("
|
|
||||||
fi
|
|
||||||
set +x
|
set +x
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
#!/usr/bin/env bash
|
|
||||||
|
|
||||||
set -x
|
|
||||||
if [ -f /usr/bin/code-insiders ]; then
|
|
||||||
/usr/bin/code-insiders --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform --ozone-platform-hint=auto "$@"
|
|
||||||
|
|
||||||
elif [ -f /snap/bin/code-insiders ]; then
|
|
||||||
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/104
|
|
||||||
#unset DBUS_SESSION_BUS_ADDRESS
|
|
||||||
# https://bugs.launchpad.net/ubuntu/+source/snapd/+bug/1951491/comments/105
|
|
||||||
#export DBUS_SESSION_BUS_ADDRESS=unix:path=/run/user/$(id -u)/bus
|
|
||||||
snap run code-insiders --verbose --enable-features=WaylandWindowDecorations,UseOzonePlatform --ozone-platform-hint=auto "$@"
|
|
||||||
|
|
||||||
elif [ -f ~/.local/share/flatpak/exports/bin/run/com.visualstudio.code.insiders ]; then
|
|
||||||
flatpak run --user com.visualstudio.code.insiders --verbose --no-sandbox --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
|
||||||
|
|
||||||
elif [ -f ~/.local/share/flatpak/exports/bin/run/com.visualstudio.code.insiders ]; then
|
|
||||||
flatpak run com.visualstudio.code.insiders --verbose --no-sandbox --ozone-platform-hint=auto --enable-features=WaylandWindowDecorations "$@"
|
|
||||||
|
|
||||||
else
|
|
||||||
echo "code not found :("
|
|
||||||
fi
|
|
||||||
set +x
|
|
Loading…
Reference in New Issue
Block a user