From 62f8b6f6a9e934bd3f9092530a10bbe546ff383b Mon Sep 17 00:00:00 2001 From: Blista Kanjo Date: Fri, 9 Sep 2022 13:42:07 -0400 Subject: feat: using more of the rust uutils since it's been working well so far and better organization of my fish config --- .config/fish/config.fish | 36 +++++++++++++++++++++++++++++------- 1 file changed, 29 insertions(+), 7 deletions(-) (limited to '.config/fish') diff --git a/.config/fish/config.fish b/.config/fish/config.fish index 1201b03..6c8a3ea 100644 --- a/.config/fish/config.fish +++ b/.config/fish/config.fish @@ -1,13 +1,35 @@ if status is-interactive # Commands to run in interactive sessions can go here - alias ls="lsd --group-dirs first -h --icon-theme unicode -L" - alias s="cd ~/.local/share/scripts && lsd --group-dirs first -h --icon-theme unicode -L" - alias d="disown" - alias c="cal" - alias work="timer 30m && notify-send 'Pomodoro' 'Work Timer is up! Take a Break 😊' -i '/home/kylert/.cache/pomo/pomo-tomato.png' -t 30000 -w -A 'Dismiss' & disown; mpv '/home/kylert/.cache/pomo/pomo-sound.mp3'" - alias rest="timer 10m && notify-send 'Pomodoro' 'Break is over! Get back to work 😬' -i '/home/kylert/.cache/pomo/pomo-tomato.png' -t 30000 -w -A 'Dismiss' & disown; mpv '/home/kylert/.cache/pomo/pomo-sound.mp3'" - export PF_INFO="ascii title os kernel uptime pkgs memory" + + # Personal Aliases + alias s="cd ~/.local/share/scripts && lsd --group-dirs first -h --icon-theme unicode -L" + alias d="disown" + alias c="cal" + + # Pomodoro Timer Aliases | Thanks to @bashbunni and @caarlos0 + alias work="timer 30m && notify-send \ + 'Pomodoro' 'Work Timer is up! Take a Break 😊' -i \ + '/home/kylert/.cache/pomo/pomo-tomato.png' -t 30000 -w -A 'Dismiss'\ + & disown; mpv '/home/kylert/.cache/pomo/pomo-sound.mp3'" + + alias rest="timer 10m && notify-send \ + 'Pomodoro' 'Break is over! Get back to work 😬' -i \ + '/home/kylert/.cache/pomo/pomo-tomato.png' -t 30000 -w -A 'Dismiss'\ + & disown; mpv '/home/kylert/.cache/pomo/pomo-sound.mp3'" + + # Command Substitutions | I'm trying out the Rust Coreutils Re-write via the coreutils-hybrid package + alias echo="uu-echo" + alias ls="lsd --group-dirs first -h --icon-theme unicode -L" + alias pwd="uu-pwd" + alias groups=uu-groups + alias kill=uu-kill + + # Plan9 Utils Command Substitutions + alias sort="9 sort" + + # Environment Variable Declarations + export PF_INFO="ascii title os kernel uptime pkgs memory" end -- cgit v1.2.3