From ccac130ed733d047210a789e457f40060ec04214 Mon Sep 17 00:00:00 2001 From: Danny Holman Date: Fri, 5 Feb 2021 15:39:27 -0600 Subject: Updates --- .config/i3/config | 1 + .config/polybar/config | 6 +++--- .vimrc | 11 +++++++++++ 3 files changed, 15 insertions(+), 3 deletions(-) diff --git a/.config/i3/config b/.config/i3/config index 772a081..148db12 100644 --- a/.config/i3/config +++ b/.config/i3/config @@ -137,6 +137,7 @@ gaps inner 15 gaps outer 15 # Start helpful programs +exec --no-startup-id ~/.screenlayout/screen.sh exec --no-startup-id wal -s -i "$HOME/Pictures/wal/" exec --no-startup-id xautolock -time 5 -locker "i3lock -c 000000" exec --no-startup-id picom -cCf -i 1 -m 1 diff --git a/.config/polybar/config b/.config/polybar/config index 12aa773..b20016c 100644 --- a/.config/polybar/config +++ b/.config/polybar/config @@ -18,7 +18,7 @@ margin-top = 5 margin-bottom = 5 [bar/main0] -monitor = ${env:MONITOR:HDMI-0} +monitor = ${env:MONITOR:HDMI-A-2} ;monitor = ${env:MONITOR:eDP1} width = 100% height = 23 @@ -55,13 +55,13 @@ modules-right = arrow1 LeftStripe arrow1 filesystem arrow2 alsa arrow3 cpu arrow [bar/main1] inherit = bar/main0 -monitor = ${env:MONITOR:DVI-I-0} +monitor = ${env:MONITOR:HDMI1} tray-position = none modules-left = i3 RightArrow2 xwindow RightArrow1 RightStripe RightArrow1 [bar/main2] inherit = bar/main0 -monitor = ${env:MONITOR:DP-0} +monitor = ${env:MONITOR:DisplayPort-2} tray-position = none modules-left = i3 RightArrow2 xwindow RightArrow1 RightStripe RightArrow1 diff --git a/.vimrc b/.vimrc index 6138962..1618c8a 100644 --- a/.vimrc +++ b/.vimrc @@ -41,6 +41,16 @@ set noswapfile set nobackup set nowb +" Spellcheck +function! ToggleSpell() + setlocal spell! + if &spell + echo "Spellcheck ON" + else + echo "Spellcheck OFF" + endif +endfunction + " Indentation set autoindent set smartindent @@ -123,6 +133,7 @@ nnoremap nnoremap n :NERDTreeToggle nnoremap c :silent !ctags -R . nnoremap t :tag +nnoremap :call ToggleSpell() nnoremap qq :quit let mapleader = " " -- cgit v1.2.3