1
0
mirror of https://github.com/balkian/dotfiles.git synced 2024-11-24 05:02:29 +00:00
dotfiles/scripts/.bin/monitors

15 lines
309 B
Plaintext
Raw Normal View History

2014-06-26 16:07:56 +00:00
#!/bin/sh
2017-12-05 19:27:11 +00:00
if [ "$#" -lt 1 ]; then
ls -1 ~/.screenlayout | rofi -dmenu | xargs -I '{}' sh "$HOME/.screenlayout/{}" || exit
else
sh $HOME/.screenlayout/$1.sh
fi
2018-09-12 17:04:59 +00:00
if pgrep -u $UID -x polybar >/dev/null; then
sh /home/j/.bin/polybar.sh;
fi
2014-06-26 16:07:56 +00:00
if [ `command -v nitrogen` ]; then
nitrogen --restore
fi