From c587afa712c20b1fc26d481eb4fae8d92838dc7a Mon Sep 17 00:00:00 2001 From: Maximilian Friedersdorff Date: Thu, 16 Mar 2023 17:26:59 +0000 Subject: [PATCH] Configure for hybrid sleep --- states/sway/files/config.jinja | 2 +- states/vim/files/vimrc | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/states/sway/files/config.jinja b/states/sway/files/config.jinja index b7ada9c..46e7fc6 100644 --- a/states/sway/files/config.jinja +++ b/states/sway/files/config.jinja @@ -78,7 +78,7 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill exec swayidle -w \ timeout 300 "{{lockcmd}}" \ - timeout 600 'systemctl suspend' \ + timeout 600 'systemctl hybrid-sleep' \ before-sleep "{{lockcmd}}" diff --git a/states/vim/files/vimrc b/states/vim/files/vimrc index 4baa304..e137512 100644 --- a/states/vim/files/vimrc +++ b/states/vim/files/vimrc @@ -35,6 +35,7 @@ Plugin 'Chiel92/vim-autoformat' Plugin 'python-rope/ropevim' Plugin 'pangloss/vim-javascript' Plugin 'itspriddle/vim-shellcheck' +Plugin 'vimwiki/vimwiki' " All of your Plugins must be added before the following line call vundle#end() " required @@ -171,3 +172,7 @@ noremap :Autoformat let ropevim_goto_def_newwin = 1 let ropevim_guess_project = 1 + +" Vimwiki +let g:vimwiki_list = [{'path': '~/vimwiki/', 'syntax': 'markdown', 'ext': '.md'}] +let g:vimwiki_global_ext = 0 -- 2.46.2