From 662fdd8451116e752f8bd0dfa70568d5b6c8023c Mon Sep 17 00:00:00 2001 From: Pierre Neidhardt Date: Mon, 15 Jan 2018 20:31:29 +0100 Subject: [PATCH] xprofile: Lock screen on sleep --- .pkglists/arch-aur | 1 + .xprofile | 3 +++ 2 files changed, 4 insertions(+) diff --git a/.pkglists/arch-aur b/.pkglists/arch-aur index 79c5ade3..6d69f4c9 100644 --- a/.pkglists/arch-aur +++ b/.pkglists/arch-aur @@ -13,3 +13,4 @@ sdlmame-wout-toolkits tespeed-git texlive-dummy translate-git +xss-lock diff --git a/.xprofile b/.xprofile index f5dac5d8..88c84fe8 100644 --- a/.xprofile +++ b/.xprofile @@ -26,5 +26,8 @@ xcape -e 'Control_L=Escape' numlockx on # xinput disable "SynPS/2 Synaptics TouchPad" +## Lock screen on sleep. +xss-lock slock & + ## Hook. Should be sourced last. [ -f ~/.xprofile_hook ] && . ~/.xprofile_hook