numlockx befor screen locking + some var name fix for vimwiki

master
Von Random 5 years ago
parent 710a9fb71e
commit 69ce90c5ff
  1. 4
      vimwiki
  2. 1
      xscreensaver-companion

@ -1,4 +1,4 @@
#!/usr/bin/bash
vim_wiki_dir="$HOME/vimwiki/index.wiki"
vim_wiki="$HOME/vimwiki/index.wiki"
# 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
(LOCK|BLANK)
/usr/bin/setxkbmap us -option
/usr/bin/numlockx off
/usr/bin/notify-send DUNST_COMMAND_PAUSE
;;
(UNBLANK)

Loading…
Cancel
Save