diff options
author | davidovski <david@davidovski.xyz> | 2022-01-13 20:50:10 +0000 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2022-01-13 20:50:10 +0000 |
commit | 7d3f13572597f582f070a2fcff1e64ce279de09d (patch) | |
tree | a182543e0671593a96b6f22575a6cb38951f1acc /bash_aliases | |
parent | e4e3c759d4d9befb66ccf61096e0d935835330e1 (diff) |
updated
Diffstat (limited to 'bash_aliases')
-rw-r--r-- | bash_aliases | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/bash_aliases b/bash_aliases index 50960ca..1ba39f2 100644 --- a/bash_aliases +++ b/bash_aliases @@ -14,7 +14,7 @@ alias settabletscale="tablet 18 155 2 4:3" alias gosumemory-default="sudo /home/david/.local/share/gosumemory/gosumemory -path /home/david/.local/share/osu-wine/OSU/Songs" -alias yta="youtube-dl --no-mtime --add-metadata --no-check-certificate -x -f bestaudio/best" +alias yta="yt-dlp --no-mtime --add-metadata --no-check-certificate -x -f bestaudio/best" alias suspend="i3lock-fancy -p -t ''; systemctl suspend" @@ -48,3 +48,14 @@ bitrate () { alias syncdir="sudo rsync -rv --no-perms --no-owner --no-group --delete" alias chromium-tor="chromium --incognito --proxy-server=socks5://localhost:9050 --user-data-dir=/tmp" + +alarmclock () { + sudo rtcwake -m no -t "$(date -d 'tomorrow 07:00:00' '+%s')" && echo 'set alarm for tomorrow at 7am' +} + +# does tail -f on a dir... bit of a hack +mutlitail1 () { + while true; do + f=$(ls -1 --sort time $1| head -1); + tail -$(tput lines) $1/$f; done; +} |