mirror of
https://github.com/balkian/dotfiles.git
synced 2024-11-23 20:52:28 +00:00
15 lines
309 B
Bash
Executable File
15 lines
309 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 pgrep -u $UID -x polybar >/dev/null; then
|
|
sh /home/j/.bin/polybar.sh;
|
|
fi
|
|
|
|
if [ `command -v nitrogen` ]; then
|
|
nitrogen --restore
|
|
fi
|