From 4e7aab9bc85317432934b2c69d757fbc2fc604d2 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 14 Apr 2019 21:13:49 +0100 Subject: [PATCH] Add alias to lock screen --- files/zshrc/applications.sh | 1 + tasks/i3.yml | 1 + 2 files changed, 2 insertions(+) diff --git a/files/zshrc/applications.sh b/files/zshrc/applications.sh index ce3a3a7..79c83bd 100644 --- a/files/zshrc/applications.sh +++ b/files/zshrc/applications.sh @@ -52,3 +52,4 @@ alias sc="screenshot --to img" alias clip="xclip -selection clipboard" alias cl="climate" alias tmux-cleanup="tmux list-sessions | grep -v attached | cut -d: -f1 | xargs -t -n1 tmux kill-session -t" +alias lock-screen="xdotool key 'Super_L+l'" diff --git a/tasks/i3.yml b/tasks/i3.yml index 4fcde44..ed81b0f 100644 --- a/tasks/i3.yml +++ b/tasks/i3.yml @@ -21,6 +21,7 @@ - 'qt5-styleplugins' - 'rofi' - 'tbg' + - 'xdotool' - set_fact: