From 9c151c3d438cc5daeffbcdde574824c07ecd296a Mon Sep 17 00:00:00 2001 From: L3D Date: Fri, 26 Feb 2021 17:47:30 +0100 Subject: [PATCH] replace scrot with maim --- .github/workflows/ansible-alpine-latest.yml | 18 ------------------ templates/config.j2 | 2 +- vars/Archlinux.yml | 2 +- vars/Debian.yml | 2 +- vars/Fedora.yml | 2 +- vars/RedHat.yml | 2 +- 6 files changed, 5 insertions(+), 23 deletions(-) delete mode 100644 .github/workflows/ansible-alpine-latest.yml diff --git a/.github/workflows/ansible-alpine-latest.yml b/.github/workflows/ansible-alpine-latest.yml deleted file mode 100644 index 07bfff0..0000000 --- a/.github/workflows/ansible-alpine-latest.yml +++ /dev/null @@ -1,18 +0,0 @@ ---- -name: Ansible check alpine:latest - -# yamllint disable-line rule:truthy -on: [push, pull_request] - -jobs: - build: - - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - - name: ansible check with alpine:latest - uses: roles-ansible/check-ansible-alpine-latest-action@master - with: - targets: "./" diff --git a/templates/config.j2 b/templates/config.j2 index c591761..cb6c4fd 100644 --- a/templates/config.j2 +++ b/templates/config.j2 @@ -178,7 +178,7 @@ exec xset -dpms exec compton {% if enable_lock_after_time | bool %} -exec xautolock -time {{ lock_after_time }} -locker 'scrot /tmp/screen_locked.png; mogrify -scale 10% -scale 1000% /tmp/screen_locked.png; i3lock -i /tmp/screen_locked.png' +exec xautolock -time {{ lock_after_time }} -locker 'maim /tmp/screen_locked.png; mogrify -scale 10% -scale 1000% /tmp/screen_locked.png; i3lock -i /tmp/screen_locked.png' {% endif %} # Start Default Applications diff --git a/vars/Archlinux.yml b/vars/Archlinux.yml index e6741d1..5bf0063 100644 --- a/vars/Archlinux.yml +++ b/vars/Archlinux.yml @@ -13,5 +13,5 @@ __i3_packages: - terminator - i3lock - xautolock - - scrot + - maim - imagemagick diff --git a/vars/Debian.yml b/vars/Debian.yml index 1a39334..6c1f65b 100644 --- a/vars/Debian.yml +++ b/vars/Debian.yml @@ -8,5 +8,5 @@ __i3_packages: - terminator - i3lock - xautolock - - scrot + - maim - imagemagick diff --git a/vars/Fedora.yml b/vars/Fedora.yml index 0f50f33..bb33b42 100644 --- a/vars/Fedora.yml +++ b/vars/Fedora.yml @@ -8,5 +8,5 @@ __i3_packages: - i3lock - rofi - xautolock - - scrot - ImageMagick + - maim diff --git a/vars/RedHat.yml b/vars/RedHat.yml index 6daca32..9f47b30 100644 --- a/vars/RedHat.yml +++ b/vars/RedHat.yml @@ -8,5 +8,5 @@ __i3_packages: - i3lock - dmenu - xautolock - - scrot + - maim - ImageMagick