add nixpkgs; bashrc; i3lock
This commit is contained in:
11
.config/sxhkd/switch_layout.sh
Executable file
11
.config/sxhkd/switch_layout.sh
Executable file
@@ -0,0 +1,11 @@
|
||||
# !/bin/bash
|
||||
|
||||
# Switching between keyboard layouts
|
||||
CURRENT_LAYOUT=$(setxkbmap -query | awk 'NR==3{print $2}')
|
||||
|
||||
if [ "$CURRENT_LAYOUT" = "us" ]; then
|
||||
setxkbmap "fr"
|
||||
else
|
||||
setxkbmap "us"
|
||||
fi
|
||||
|
||||
@@ -2,6 +2,9 @@
|
||||
# WM-independent hotkeys
|
||||
#
|
||||
|
||||
ctrl + q
|
||||
echo ""
|
||||
|
||||
# Terminal emulator
|
||||
super + Return
|
||||
alacritty
|
||||
@@ -24,6 +27,9 @@ Print
|
||||
shift + Print
|
||||
flameshot gui
|
||||
|
||||
super + space
|
||||
~/.config/sxhkd/switch_layout.sh
|
||||
|
||||
# Lock screen
|
||||
ctrl + alt + l
|
||||
~/.config/i3lock/lock.sh
|
||||
@@ -110,7 +116,7 @@ super + shift + {h, j, k, l}
|
||||
|
||||
# Focus/Send to the given desktop
|
||||
#super + {_,shift + }{ampersand,eacute,quotedbl,apostrophe,parenleft,minus,egrave,underscore,ccedilla,agrave}
|
||||
super + {_,shift + }{ampersand,eacute,quotedbl,apostrophe,parenleft,a,z,e,r,t,y}
|
||||
super + {_,shift + }{ampersand,eacute,quotedbl,apostrophe,parenleft,a,z,e,r}
|
||||
bspc {desktop -f,node -d} '^{1-9,10,11}'
|
||||
|
||||
# Focus the node for the given path jump
|
||||
|
||||
Reference in New Issue
Block a user