@@ -1,4 +1,4 @@
-#!/bin/bash
+#!/bin/sh
playerctl pause
@@ -1,7 +1,11 @@
-CHOICE=$(echo -e "left-of\nbelow" | dmenu)
+CHOICE=$(dmenu -i -b << EOF
+left-of
+below
+EOF
+)
-xrandr --output HDMI-0 --auto --$CHOICE DP-2
+xrandr --output HDMI-0 --auto --"$CHOICE" DP-2
~/.scripts/set_background.sh
@@ -1,8 +1,8 @@
maim -us screenshot.png
UUID=$(uuidgen)
-UUID="${UUID[@]:0:5}"
+UUID="${UUID[*]:0:5}"
scp screenshot.png "frans@tankernn.eu:/srv/www/scr/$UUID.png"
@@ -1,2 +1,2 @@
feh --bg-fill ~/desktop_background.png