From d0f10b66626c8d7d50b95adf459f308efa6494c4 Mon Sep 17 00:00:00 2001 From: dummy Date: Thu, 21 Jan 2021 13:59:06 -0500 Subject: [PATCH] update vimrc, add monitors_off script --- bash_scripts/monitors_off.sh | 11 +++++++++++ dot/.bashrc | 2 +- sync.sh | 1 + vim/.vimrc | 6 +++++- 4 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 bash_scripts/monitors_off.sh diff --git a/bash_scripts/monitors_off.sh b/bash_scripts/monitors_off.sh new file mode 100644 index 0000000..ecb4a1f --- /dev/null +++ b/bash_scripts/monitors_off.sh @@ -0,0 +1,11 @@ +#!/usr/bin/env sh +# +# NOTE: workaround for steam bug where steam constantly inhibits screensaver +# via dbus messages +# +# more details: https://github.com/ValveSoftware/steam-for-linux/issues/5607 + +xset dpms force off && +sleep 15 && +xset dpms force off + diff --git a/dot/.bashrc b/dot/.bashrc index db1120b..b2ff194 100644 --- a/dot/.bashrc +++ b/dot/.bashrc @@ -28,7 +28,7 @@ light_gray="\[\e[0;37m\]" #HOST="\[\e[38;5;153m\]" #DIRECTORY="\[\e[38;5;214m\]" user_name=$green -host=$light_cyan +host=$purple directory=$yellow PS1="[$user_name\u$reset@$host\h$reset:$directory\w$reset]$" diff --git a/sync.sh b/sync.sh index bc46dea..4d53ab7 100755 --- a/sync.sh +++ b/sync.sh @@ -19,6 +19,7 @@ GDB_FILES=" BASH_SCRIPTS=" $HOME/bin/hide_panel.sh \ $HOME/bin/tmux_start.sh \ + $HOME/bin/monitors_off.sh \ $HOME/bin/countdown_timer.sh " rsync -avP ${DOT_FILES} ./dot diff --git a/vim/.vimrc b/vim/.vimrc index 75bfd0c..86973c5 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -41,7 +41,7 @@ set hlsearch set wrap set mouse+=a set noequalalways " don't auto resize windows when closing (eg: qf window) -set colorcolumn=80,100 +set colorcolumn=80 " don't clutter directories with backup files set nobackup @@ -96,6 +96,10 @@ let g:airline_symbols.maxlinenr = '' let g:airline_symbols.linenr = '' "let g:airline#extensions#tabline#enabled = 1 +"------------------ +" BufExplorer plugin +let g:bufExplorerSortBy='name' + "------------------ " custom keybinds " C-PageUp/Down conflicts with xfce-terminal, so there is a trick to fixing