일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- archlinux
- cephadm
- cloud-init
- awx
- libvirt
- Ansible
- Linux
- pacman
- kolla-ansible
- Octavia
- yum
- repository
- kolla
- HTML
- golang
- nfs-provisioner
- OpenStack
- ceph
- Arch
- Kubernetes
- KVM
- Kubeflow
- port open
- ubuntu
- terraform
- k8s
- ceph-ansible
- grafana-loki
- i3
- Docker
Archives
- Today
- Total
YJWANG
i3 blurlock 적용하기 or blurlock 강도 변경 본문
아래 명령에서 blur
option뒤에 있는 0x7을 0x10과 같이 올리면 blur 정도가 강해지고 낮추면 약해진다.
해당 파일은 수동으로 생성해야한다.
$ ls -l /usr/local/bin/blurlock
-rwxr-xr-x 1 yjwang yjwang 336 9월 6 10:43 /usr/local/bin/blurlock
$ cat /usr/local/bin/blurlock
#!/bin/bash
# /usr/bin/blurlock
# take screenshot
import -window root /tmp/screenshot.png
# blur it
convert /tmp/screenshot.png -blur 0x10 /tmp/screenshotblur.png
rm /tmp/screenshot.png
# lock the screen
i3lock -i /tmp/screenshotblur.png
# sleep 1 adds a small delay to prevent possible race conditions with suspend
sleep 1
exit 0
반응형