runRangerAsRoot.sh 230 B

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