dots/bin/chrome

8 lines
223 B
Bash
Executable File

#!/bin/bash
logfile="/dev/shm/chrome_log_$$"
google-chrome-stable --enable-features=UseOzonePlatform --ozone-platform=wayland "$@" &> "$logfile"
if [[ $? != 0 ]]; then
printf 'Check logfile: %s\n' "$logfile"
exit $?
fi