Browse Source

update vimrc, add monitors_off script

master
dummy 6 years ago
parent
commit
d0f10b6662
  1. 11
      bash_scripts/monitors_off.sh
  2. 2
      dot/.bashrc
  3. 1
      sync.sh
  4. 6
      vim/.vimrc

11
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

2
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]$"

1
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

6
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

Loading…
Cancel
Save