commit 2345aa38015c2c8991ec429b84d88eeda4d9b16e
parent 583bbb3caec1dae6a9dcddf93f5f7494349698ac
Author: Michael Neuper <73108749+michaelneuper@users.noreply.github.com>
Date: Sat, 26 Nov 2022 16:35:06 +0200
Add and change some keybindings
Added:
- lock screen
- powermenu
- rofi
Changed:
- set window tiled or fullscreen
- change file manager from pcmanfm to ranger
Diffstat:
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/.config/sxhkd/sxhkdrc b/.config/sxhkd/sxhkdrc
@@ -9,6 +9,18 @@
super + Escape
pkill -USR1 -x sxhkd
+# lock the screen
+super + shift + x
+ betterlockscreen -l -- --layout-pos="ix-1000:iy+1000"
+
+# powermenu
+super + x
+ $HOME/.config/rofi/scripts/powermenu.sh
+
+# rofi launcher
+super + @space
+ rofi -no-lazy-grab -show drun -theme $HOME/.config/rofi/config.rasi
+
# BSPWM HOTKEYS
@@ -36,7 +48,7 @@ super + g
# STATE/FLAGS
# set the window state
-super + {t,shift + t,s,f}
+super + {t,shift + t,f,shift + f}
bspc node -t {tiled,pseudo_tiled,floating,fullscreen}
# set the node flags
@@ -113,10 +125,6 @@ super + {Left,Down,Up,Right}
# APPLICATION KEYBINDINGS
-# rofi launcher
-super + @space
- rofi -no-lazy-grab -show drun -theme $HOME/.config/rofi/config.rasi
-
# terminal emulator
super + Return
alacritty
@@ -125,10 +133,13 @@ super + Return
super + w
firefox
-# file manager
-super + r
+# file managers
+super + e
alacritty -e lf
+super + shift + e
+ nemo
+
# open doom emacs
super + d
emacsclient -c -a 'emacs'