i3: Fix some device specific settings, add lock hotkey

Signed-off-by: Tobias Manske <tobias.manske@mailbox.org>
This commit is contained in:
Tobias Manske 2018-11-09 18:04:06 +01:00
parent 31983ecb61
commit 0ad4abda90
No known key found for this signature in database
GPG Key ID: 978D99F12D4E041F
2 changed files with 4 additions and 1 deletions

View File

@ -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 {

View File

@ -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