99f693e950
load-i3-bars.sh and toggle-display.sh are little-used helper scripts that probably nobody except me uses. Since I switched to Arch, update path information to reflect the Arch setup.
15 lines
296 B
Bash
Executable file
15 lines
296 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
|
|
if [ -f ~/.config/i3/images/background.png ]; then
|
|
feh --bg-fill ~/.config/i3/images/background.png
|
|
fi
|
|
$i3bar_update
|
|
fi
|