parent
e7c841e5f1
commit
53d1499705
2 changed files with 8 additions and 2 deletions
|
@ -3,8 +3,8 @@ BACKGROUND='/tmp/screen_locked.png'
|
|||
/usr/bin/notify-send DUNST_COMMAND_PAUSE
|
||||
/usr/bin/scrot $BACKGROUND
|
||||
/usr/bin/mogrify -scale 10% -colorspace GRAY -scale 1000% $BACKGROUND
|
||||
/usr/bin/setxkbmap 'ducky_mini(us)'
|
||||
/usr/bin/setxkbmap -layout us -variant altgr-intl
|
||||
until /usr/bin/i3lock -entc 661111 -i $BACKGROUND; do :; done
|
||||
/usr/bin/setxkbmap 'ducky_mini(us),ducky_mini(ru)'
|
||||
$HOME/vscripts/mykblayouts
|
||||
/usr/bin/rm $BACKGROUND
|
||||
/usr/bin/notify-send DUNST_COMMAND_RESUME
|
||||
|
|
6
mykblayouts
Executable file
6
mykblayouts
Executable file
|
@ -0,0 +1,6 @@
|
|||
#!/usr/bin/env zsh
|
||||
layouts='us,ru'
|
||||
variants='altgr-intl,typewriter'
|
||||
opts='ctrl:nocaps,grp:win_space_toggle,compose:menu'
|
||||
|
||||
setxkbmap -layout $layouts -variant $variants -option $opts
|
Loading…
Reference in a new issue