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

10 lines
227 B
Bash
Executable File

#!/bin/sh
if [ "$#" -lt 1 ]; then
ls -1 ~/.screenlayout | rofi -dmenu | xargs -I '{}' sh "$HOME/.screenlayout/{}" || exit
else
sh $HOME/.screenlayout/$1.sh
fi
if [ `command -v nitrogen` ]; then
nitrogen --restore
fi