From: Maximilian Friedersdorff Date: Thu, 16 Mar 2023 17:26:59 +0000 (+0000) Subject: Configure for hybrid sleep X-Git-Url: https://git.friedersdorff.com/?a=commitdiff_plain;h=c587afa712c20b1fc26d481eb4fae8d92838dc7a;p=max%2Fsaltfiles.git Configure for hybrid sleep --- 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