bumblebee-status/bin/toggle-display.sh
2016-12-11 12:42:49 +01:00

12 lines
189 B
Bash
Executable file

#!/usr/bin/env bash
echo $(dirname $(readlink -f "$0"))
i3bar_update=$(dirname $(readlink -f "$0"))/load-i3-bars.sh
xrandr "$@"
if [ -f $i3bar_update ]; then
sleep 1
$i3bar_update
fi