Browse Source

numlockx befor screen locking + some var name fix for vimwiki

master
Von Random 1 year ago
parent
commit
69ce90c5ff
2 changed files with 3 additions and 2 deletions
  1. 2
    2
      vimwiki
  2. 1
    0
      xscreensaver-companion

+ 2
- 2
vimwiki View File

@@ -1,4 +1,4 @@
1 1
 #!/usr/bin/bash
2
-vim_wiki_dir="$HOME/vimwiki/index.wiki"
2
+vim_wiki="$HOME/vimwiki/index.wiki"
3 3
 # vim wiki to scratchpad
4
-default-terminal-emulator -name vimwiki -e flock -w0 ${vim_wiki_dir} vim  ${vim_wiki_dir}
4
+default-terminal-emulator -name vimwiki -e flock -w0 ${vim_wiki} vim ${vim_wiki}

+ 1
- 0
xscreensaver-companion View File

@@ -6,6 +6,7 @@ function parse_actions
6 6
         case $action in
7 7
             (LOCK|BLANK)
8 8
                 /usr/bin/setxkbmap us -option
9
+                /usr/bin/numlockx off
9 10
                 /usr/bin/notify-send DUNST_COMMAND_PAUSE
10 11
                 ;;
11 12
             (UNBLANK)

Loading…
Cancel
Save