dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit a558f02c62b82d1a6df695873130079c0193f2d7
parent a46cadeb314437b824547f0cbc0988623ae2f8e7
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu, 12 Mar 2020 19:46:48 +0100

Name output files after program name

Diffstat:
M.local/bin/screenrecord | 2+-
M.profile | 9+++++----
2 files changed, 6 insertions(+), 5 deletions(-)

diff --git a/.local/bin/screenrecord b/.local/bin/screenrecord @@ -2,7 +2,7 @@ lockfile=/tmp/screenrecord.pid startrecording() { - out="$HOME/tmp/screencast-$(date '+%Y-%m-%d_%H:%M:%S').mkv" + out="$HOME/tmp/screenrecord-$(date '+%Y-%m-%d_%H:%M:%S').mkv" ffmpeg -y \ -f x11grab \ -framerate 60 \ diff --git a/.profile b/.profile @@ -26,10 +26,11 @@ else fi alias sx="sxiv -ft *.{png,jpg,jpeg,gif}" -c() { - dir=$(find "${1:-.}" -type d | grep -v '/\.' | fzy -l 25) - [ -d "$dir" ] && cd "$dir" || return -} +#c() { +# dir=$(find "${1:-.}" -type d | grep -v '/\.' | fzy -l 25) +# [ -d "$dir" ] && cd "$dir" || return +#} +alias c=clear alias cg='c "$(git rev-parse --show-toplevel)"' # cd under git repo alias r='fc -s'