summaryrefslogtreecommitdiff
path: root/home/.projector_on
diff options
context:
space:
mode:
Diffstat (limited to 'home/.projector_on')
-rwxr-xr-xhome/.projector_on6
1 files changed, 4 insertions, 2 deletions
diff --git a/home/.projector_on b/home/.projector_on
index 2f2cd12..535e016 100755
--- a/home/.projector_on
+++ b/home/.projector_on
@@ -7,6 +7,9 @@ if [ ! -d "$HOME/Pictures/Wall" ]; then
exit 1
fi
+pkill -9 -f xfce4-panel
+screen -d -m xfce4-panel
+
while IFS= read -r file; do
if [ -n "$files_string" ]; then
files_string+=" "
@@ -20,10 +23,9 @@ sorted_file_list=$(printf "%s " "${sorted_files[@]}")
echo $sorted_file_list
-killall spacefm
+pkill -9 -f spacefm
screen -d -m "$HOME/.config/openbox/spacefm"
-
sleep 1
feh --bg-fill $sorted_file_list