]> git.friedersdorff.com Git - max/saltfiles.git/commitdiff
Configure for hybrid sleep
authorMaximilian Friedersdorff <maximilian.friedersdorff@envsys.co.uk>
Thu, 16 Mar 2023 17:26:59 +0000 (17:26 +0000)
committerMaximilian Friedersdorff <maximilian.friedersdorff@envsys.co.uk>
Thu, 16 Mar 2023 17:26:59 +0000 (17:26 +0000)
states/sway/files/config.jinja
states/vim/files/vimrc

index b7ada9c7a85bc805fb0436e06018102f13bb8135..46e7fc66a615d22c1a87c06fff89174e2d13928a 100644 (file)
@@ -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}}"
 
 
index 4baa304ef0531fa16675cb0c558ecc0d01b628ec..e1375129a496c5567848a75cc8cc757524144361 100644 (file)
@@ -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 <F3> :Autoformat<CR>
 
 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