summaryrefslogtreecommitdiff
path: root/xinit
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2022-10-09 11:46:29 +0200
committerJulian T <julian@jtle.dk>2022-10-09 11:46:29 +0200
commit080d4eb5e354f98363a4b1d8f6a692299c54c389 (patch)
tree0e622f3b9829da1e630b3b59dc0246d6f485e7b9 /xinit
parente0ed64092db25f98d3665605693255c3192efeb2 (diff)
Switch to arch and 2 spaces for tabs
Diffstat (limited to 'xinit')
-rwxr-xr-xxinit/.xprofile3
-rwxr-xr-xxinit/Scripts/lock.sh8
2 files changed, 4 insertions, 7 deletions
diff --git a/xinit/.xprofile b/xinit/.xprofile
index d2a6731..b8a34a0 100755
--- a/xinit/.xprofile
+++ b/xinit/.xprofile
@@ -3,11 +3,10 @@ export _JAVA_OPTIONS='-Dawt.useSystemAAFontSettings=on -Dswing.defaultlaf=com.su
export TERM=termite
export TERMINAL=termite
-# export SSH_AUTH_SOCK=${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh
+export SSH_AUTH_SOCK=${XDG_RUNTIME_DIR}/gnupg/S.gpg-agent.ssh
export XKB_DEFAULT_LAYOUT=us
export XKB_DEFAULT_VARIANT=altgr-intl
-export LOPTS="screensaver composer gnome-keyring"
export MOZ_X11_EGL=1
export MOZ_WEBRENDER=1
diff --git a/xinit/Scripts/lock.sh b/xinit/Scripts/lock.sh
index 49cc197..aff989d 100755
--- a/xinit/Scripts/lock.sh
+++ b/xinit/Scripts/lock.sh
@@ -1,11 +1,9 @@
#!/usr/bin/env bash
LOCKFILE=/tmp/lockscreen.png
+INFILE=$HOME/Pictures/current_wall
-scrot -o $LOCKFILE
-size=$(identify -format "%[fx:w]x%[fx:h]" "$LOCKFILE")
+convert $INFILE -blur 10x10 $LOCKFILE
-convert $LOCKFILE -scale 70 -sample $size\! -quality 11 $LOCKFILE
-
-# i3lock -i $LOCKFILE
+i3lock -i $LOCKFILE