runYaziAsRoot.sh 308 B

1234567
  1. #!/usr/bin/env bash
  2. # Run yazi as root for Qtile
  3. pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY dbus-run-session $TERMINAL -e yazi
  4. # pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY dbus-run-session alacritty -e yazi
  5. # pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY dbus-run-session kitty -e yazi