Sfoglia il codice sorgente

numlockx befor screen locking + some var name fix for vimwiki

master
Von Random 1 anno fa
parent
commit
69ce90c5ff
2 ha cambiato i file con 3 aggiunte e 2 eliminazioni
  1. 2
    2
      vimwiki
  2. 1
    0
      xscreensaver-companion

+ 2
- 2
vimwiki Vedi File

@@ -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}

+ 1
- 0
xscreensaver-companion Vedi File

@@ -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…
Annulla
Salva