diff --git a/bash_scripts/countdown_timer.sh b/bash_scripts/countdown_timer.sh index 6f2e777..d6690d5 100755 --- a/bash_scripts/countdown_timer.sh +++ b/bash_scripts/countdown_timer.sh @@ -4,10 +4,11 @@ PLAYSOUND=true PLAYER=mpv FILE="/usr/share/sounds/freedesktop/stereo/message.oga" -echo "Counting down from ${1}" +seconds=${1:-180} +echo "Counting down from $seconds" Msg=${2} -let "i = ${1}" +let "i = $seconds" while [ $i -gt 0 ]; do echo $i let i-- diff --git a/gdb/.gdbinit.d/gdbdashbard.conf b/gdb/.gdbinit.d/gdbdashbard.conf index 0cb2ac8..5a94624 100644 --- a/gdb/.gdbinit.d/gdbdashbard.conf +++ b/gdb/.gdbinit.d/gdbdashbard.conf @@ -1,6 +1,6 @@ # auto generated by GDB dashboard -dashboard -layout assembly !registers stack memory source expressions !history !threads +dashboard -layout !assembly !registers stack memory source expressions !history !threads dashboard -style syntax_highlighting 'rrt' dashboard -style style_low '0;37' dashboard source -style context 15 diff --git a/vim/.vimrc b/vim/.vimrc index 299bb9d..75bfd0c 100644 --- a/vim/.vimrc +++ b/vim/.vimrc @@ -41,6 +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 " don't clutter directories with backup files set nobackup @@ -104,7 +105,7 @@ map :bprev " jump to word under cursor in a preview window noremap :ptjump " search for word under cursor in current directory -noremap ::AsyncRun grep -RIn --exclude=tags +noremap ::AsyncRun grep -RIn --exclude=tags --exclude-dir=build " close and delete current buffer noremap :bp\|bd # noremap :call RunMake()