i3lock

lockscreen commands (https://www.reddit.com/r/unixporn/comments/8z15f9/i3lock_with_pixeleffect/)

ICON="/home/pyratebeard/tmp/stop2.png" ; TMPBG="/tmp/lockscreen.jpg" ; RES=$(xrandr | grep 'current' | sed -E 's/.*current\s([0-9]+)\sx\s([0-9]+).*/\1x\2/') ; ffmpeg -f x11grab-video_size $RES -y -i $DISPLAY -vf frei0r=pixeliz0r=0.02:0.02 -vframes 1 $TMPBG -loglevel quiet
ICON="/home/pyratebeard/tmp/stop2.png" ; TMPBG="/tmp/lockscreen.jpg" ; RES=$(xrandr | grep 'current' | sed -E 's/.*current\s([0-9]+)\sx\s([0-9]+).*/\1x\2/') ; ffmpeg -f x11grab -video_size $RES -y -i $DISPLAY -i $ICON -filter_complex "boxblur=5:1,overlay=(main_w-overlay_w)/2:(main_h-overlay_h)/2" -vframes 1 $TMPBG -loglevel quiet
/home/pyratebeard/src/warez/i3lock-fancy-multimonitor/lock -p

fonts

if font isn't working run fc-cache -fv

 1014  xset +fp /usr/share/fonts/local
 1015  sudo xset +fp /usr/share/fonts/local
 1016  ll /usr/lib/X11/fonts/misc/
 1017  systemctl --all | grep xfs
 1018  fc-cache -fv
 1019  xset +fp /usr/share/fonts/local
 1020  ll /usr/share/fonts
 1021  ll /usr/share/fonts/local
 1022  xset +fp /usr/share/fonts/
 1023  xset +fp /usr/share/fonts/local
 1024  sudo -i
		cd /usr/share/fonts/local
		mkfontscale
		mkfontdir
 1025  xset +fp /usr/share/fonts/local
 1026  xset -q
 1027  fc-cache -fv
 1028  xlsfonts | grep -i tamzen

xsetroot

xsetroot -solid #111111

xsetroot -bitmap brain.xbm -fg #111111 -bg #222222

reload Xdefaults

xrdb ~/.Xdefaults

bitmap files:

  • arabic_rug
  • bitwize
  • brain
  • brick_diag_hering.xbm
  • cubic_interlock
  • cyber_tile
  • cyber
  • escher_fish
  • fish
  • hexmaze
  • itchy_scratchy
  • waves