From 53d14997057f48f277e9d677875f8b8cf8b40f5e Mon Sep 17 00:00:00 2001 From: Von Random Date: Tue, 27 Jun 2017 17:29:20 +0300 Subject: [PATCH] Revert "new keyboard layout in town" This reverts commit e7c841e5f11834f4bb176304c61ac55823547e30. --- lock-screen | 4 ++-- mykblayouts | 6 ++++++ 2 files changed, 8 insertions(+), 2 deletions(-) create mode 100755 mykblayouts diff --git a/lock-screen b/lock-screen index b4fd2a2..e591132 100755 --- a/lock-screen +++ b/lock-screen @@ -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 diff --git a/mykblayouts b/mykblayouts new file mode 100755 index 0000000..efaa3c9 --- /dev/null +++ b/mykblayouts @@ -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