From a38ea51a04c83f02120b66a876ebdca642893995 Mon Sep 17 00:00:00 2001 From: spinach Date: Wed, 8 Feb 2023 22:43:52 -0500 Subject: [PATCH] vim and i3 changes --- bin/bright.log | 1 + editors/vim/vimrc | 4 ++++ gui/i3-laptop/config | 2 +- gui/polybar-thinkpad/config.ini | 2 +- shells/zsh/zprofile | 4 ++++ 5 files changed, 11 insertions(+), 2 deletions(-) create mode 100644 bin/bright.log diff --git a/bin/bright.log b/bin/bright.log new file mode 100644 index 0000000..ab8187f --- /dev/null +++ b/bin/bright.log @@ -0,0 +1 @@ +14:11:33 LOG diff --git a/editors/vim/vimrc b/editors/vim/vimrc index 7ee39a5..6988714 100644 --- a/editors/vim/vimrc +++ b/editors/vim/vimrc @@ -26,6 +26,10 @@ let g:go_highlight_function_calls=1 let g:go_highlight_operators=1 let g:go_highlight_extra_types=1 +" vimmarkdown config +let g:vim_markdown_folding_disabled = 1 +let g:vim_markdown_math = 1 +let g:vim_markdown_strikethrough = 1 " use md for vim wiki and disable global linking let g:vimwiki_list = [{'path': '~/vimwiki/', \ 'syntax': 'markdown', 'ext': '.md'}] diff --git a/gui/i3-laptop/config b/gui/i3-laptop/config index 11ccc5f..e75f0de 100644 --- a/gui/i3-laptop/config +++ b/gui/i3-laptop/config @@ -33,7 +33,7 @@ exec --no-startup-id dex --autostart --environment i3 # xss-lock grabs a logind suspend inhibit lock and will use i3lock to lock the # screen before suspend. Use loginctl lock-session to lock your screen. -exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork +exec --no-startup-id xss-lock --transfer-sleep-lock -- ~/.local/bin/i3lock-blur --nofork # NetworkManager is the most popular way to manage wireless networks on Linux, # and nm-applet is a desktop environment-independent system tray GUI for it. diff --git a/gui/polybar-thinkpad/config.ini b/gui/polybar-thinkpad/config.ini index 9bcae25..d213cc1 100644 --- a/gui/polybar-thinkpad/config.ini +++ b/gui/polybar-thinkpad/config.ini @@ -72,7 +72,7 @@ label-muted-foreground = ${colors.disabled} [module/weather] type = custom/script -exec = weather -pd +exec = weather -p interval = 30 [module/memory] diff --git a/shells/zsh/zprofile b/shells/zsh/zprofile index 22bef1e..d1c834f 100644 --- a/shells/zsh/zprofile +++ b/shells/zsh/zprofile @@ -1,6 +1,10 @@ # go path export PATH=$PATH:/usr/local/go/bin:$HOME/go/bin +# Visual/Editor +export VISUAL=vim +export EDITOR=$VISUAL + # add local paths if [ -d $HOME/bin ] ; then export PATH=$PATH:$HOME/bin