summaryrefslogtreecommitdiff
path: root/x11-themes
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2018-08-09 17:19:56 +0200
committerKarel Kočí <cynerd@email.cz>2018-08-09 18:59:19 +0200
commit91531f5d3a226fa644a7d992e8a141962f7ae3e7 (patch)
tree9f94e691e2d342f43b089a3b8f9716ab61178c23 /x11-themes
parent4d9072ea493addf55abdea2434ce5efffd641149 (diff)
downloadgentoo-personal-overlay-91531f5d3a226fa644a7d992e8a141962f7ae3e7.tar.gz
gentoo-personal-overlay-91531f5d3a226fa644a7d992e8a141962f7ae3e7.tar.bz2
gentoo-personal-overlay-91531f5d3a226fa644a7d992e8a141962f7ae3e7.zip
x11-themes/background-lnxpcs: tweaks
Diffstat (limited to 'x11-themes')
-rw-r--r--x11-themes/background-lnxpcs/background-lnxpcs-0.1.3.ebuild (renamed from x11-themes/background-lnxpcs/background-lnxpcs-0.1.2.ebuild)0
-rwxr-xr-xx11-themes/background-lnxpcs/files/i3background4
-rwxr-xr-xx11-themes/background-lnxpcs/files/i3lock-lnxpcs1
3 files changed, 2 insertions, 3 deletions
diff --git a/x11-themes/background-lnxpcs/background-lnxpcs-0.1.2.ebuild b/x11-themes/background-lnxpcs/background-lnxpcs-0.1.3.ebuild
index 405e187..405e187 100644
--- a/x11-themes/background-lnxpcs/background-lnxpcs-0.1.2.ebuild
+++ b/x11-themes/background-lnxpcs/background-lnxpcs-0.1.3.ebuild
diff --git a/x11-themes/background-lnxpcs/files/i3background b/x11-themes/background-lnxpcs/files/i3background
index c63424e..f55f8e7 100755
--- a/x11-themes/background-lnxpcs/files/i3background
+++ b/x11-themes/background-lnxpcs/files/i3background
@@ -3,11 +3,11 @@ BACKS="/usr/share/backgrounds"
# Set background
if [ -n "$DISPLAY" ]; then
# Only current one
- feh --randomize --no-fehbg --bg-center "$BACKS"
+ feh --randomize --no-fehbg --bg-fill "$BACKS"
else
# All instances
for socket in $(find /run/user/$(id -u)/i3 /tmp/i3-$(id -un).* -name ipc-socket\* 2>/dev/null); do
- i3-msg -s $socket "exec feh --randomize --no-fehbg --bg-center '$BACKS'"
+ i3-msg -s $socket "exec feh --randomize --no-fehbg --bg-fill '$BACKS'"
done
fi
# Set cron
diff --git a/x11-themes/background-lnxpcs/files/i3lock-lnxpcs b/x11-themes/background-lnxpcs/files/i3lock-lnxpcs
index 11398bd..e47bd34 100755
--- a/x11-themes/background-lnxpcs/files/i3lock-lnxpcs
+++ b/x11-themes/background-lnxpcs/files/i3lock-lnxpcs
@@ -1,5 +1,4 @@
#!/bin/sh
BACKS="/usr/share/backgrounds"
i3lock -c 000000 -i $(shuf -n1 -e "$BACKS"/*) -t -f
-sleep 1
xset dpms force off