From 533d729a75dffc0596d3af3bb685686df22bae38 Mon Sep 17 00:00:00 2001 From: Pavan Jadhaw Date: Thu, 20 Sep 2018 19:16:15 +0530 Subject: [PATCH] Update: Readme - add instructions for bspwm users --- README.md | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index dc81829..82d86f9 100644 --- a/README.md +++ b/README.md @@ -29,7 +29,9 @@ without the need to apply same effect again and again - [Debian and derivatives](#debian-and-derivatives) - **[Usage](#usage)** - **[Desktop Background](#set-desktop-background-on-startup)** -- **[i3wm keybinding](#i3wm-keybinding-for-lockscreen)** +- **[Keybinding](#keybindings)** + - [i3wm](#i3wm-1) + - [bspwm](#bspwm) - **[Lockscreen whenever suspended](#lockscreen-when-suspendedsystemd-service)** @@ -169,12 +171,24 @@ exec --no-startup-id source ~/.fehbg ``` -#### i3wm keybinding for lockscreen +## Keybindings + +#### i3wm Add this line to your `~/.config/i3/config` ```sh -bindsym $mod+shift+x exec betterlockscreen --l dim +bindsym $mod+shift+x exec betterlockscreen -l dim +``` + +#### bspwm + +Add this line to your `~/.config/sxhkd/sxhkdrc` + +```sh +# lockscreen +alt + shift + x + betterlockscreen -l dim ```