numlockx befor screen locking + some var name fix for vimwiki
This commit is contained in:
parent
710a9fb71e
commit
69ce90c5ff
2 changed files with 3 additions and 2 deletions
4
vimwiki
4
vimwiki
|
@ -1,4 +1,4 @@
|
||||||
#!/usr/bin/bash
|
#!/usr/bin/bash
|
||||||
vim_wiki_dir="$HOME/vimwiki/index.wiki"
|
vim_wiki="$HOME/vimwiki/index.wiki"
|
||||||
# vim wiki to scratchpad
|
# vim wiki to scratchpad
|
||||||
default-terminal-emulator -name vimwiki -e flock -w0 ${vim_wiki_dir} vim ${vim_wiki_dir}
|
default-terminal-emulator -name vimwiki -e flock -w0 ${vim_wiki} vim ${vim_wiki}
|
||||||
|
|
|
@ -6,6 +6,7 @@ function parse_actions
|
||||||
case $action in
|
case $action in
|
||||||
(LOCK|BLANK)
|
(LOCK|BLANK)
|
||||||
/usr/bin/setxkbmap us -option
|
/usr/bin/setxkbmap us -option
|
||||||
|
/usr/bin/numlockx off
|
||||||
/usr/bin/notify-send DUNST_COMMAND_PAUSE
|
/usr/bin/notify-send DUNST_COMMAND_PAUSE
|
||||||
;;
|
;;
|
||||||
(UNBLANK)
|
(UNBLANK)
|
||||||
|
|
Loading…
Reference in a new issue