From 0ad4abda903d887db306ab22a656059defbdb4b5 Mon Sep 17 00:00:00 2001 From: Tobias Manske Date: Fri, 9 Nov 2018 18:04:06 +0100 Subject: [PATCH] i3: Fix some device specific settings, add lock hotkey Signed-off-by: Tobias Manske --- i3/conf/client/Cyb3r/bar | 2 +- i3/conf/common/base | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/i3/conf/client/Cyb3r/bar b/i3/conf/client/Cyb3r/bar index abe7009..b4425d2 100644 --- a/i3/conf/client/Cyb3r/bar +++ b/i3/conf/client/Cyb3r/bar @@ -1,4 +1,4 @@ -set $CLIENT_BUMBLEBEE -m mpd load space memory disk nic caffeine amixer datetime -p nic.states=^down -p amixer.left-click="pavucontrol" space.prefix=" " -t gruvbox-powerline +set $CLIENT_BUMBLEBEE -m mpd load spaceapi memory disk nic caffeine amixer datetime -p nic.states=^down -p amixer.left-click="pavucontrol" spaceapi.prefix=" " -t gruvbox-powerline # {{{ STATUS BAR }}} bar { diff --git a/i3/conf/common/base b/i3/conf/common/base index 3a92a1a..8c6c42a 100644 --- a/i3/conf/common/base +++ b/i3/conf/common/base @@ -149,6 +149,9 @@ floating_modifier $mod bindsym XF86Battery exec xautolock -locknow bindsym XF86Launch1 exec "xautolock -locknow; sleep 1; xset dpms force off" + # Lock screen + bindsym $mod+Ctrl+l exec "xautolock -locknow; sleep 1; xset dpms force off" + # Screenshot bindsym Print exec ~/.config/i3/scripts/screenshot.sh