diff options
| author | Blista Kanjo | 2022-09-01 20:03:35 -0400 |
|---|---|---|
| committer | Blista Kanjo | 2022-09-01 20:03:35 -0400 |
| commit | a208eadd1289461bab82dd9554a2316898e7d23d (patch) | |
| tree | dc52940c6271490f2df6bd58f4edf9ec16f7b7df /.config/fish | |
| parent | 77051c67db148b81aadaa562dbbbfff9e5f69bef (diff) | |
refactor: organized the entire repo | feat: added pomodoro aliases inspired by bashbunni
Diffstat (limited to '.config/fish')
| -rw-r--r-- | .config/fish/config.fish | 13 | ||||
| -rw-r--r-- | .config/fish/fish_variables | 36 | ||||
| l--------- | .config/fish/functions/br.fish | 1 | ||||
| -rw-r--r-- | .config/fish/functions/fish_prompt.fish | 26 |
4 files changed, 76 insertions, 0 deletions
diff --git a/.config/fish/config.fish b/.config/fish/config.fish new file mode 100644 index 0000000..1201b03 --- /dev/null +++ b/.config/fish/config.fish @@ -0,0 +1,13 @@ +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" + + +end diff --git a/.config/fish/fish_variables b/.config/fish/fish_variables new file mode 100644 index 0000000..7a0382c --- /dev/null +++ b/.config/fish/fish_variables @@ -0,0 +1,36 @@ +# This file contains fish universal variable definitions. +# VERSION: 3.0 +SETUVAR __fish_init_2_3_0:\x1d +SETUVAR __fish_init_3_1_0:\x1d +SETUVAR __fish_init_3_x:\x1d +SETUVAR __fish_initialized:3400 +SETUVAR fish_color_autosuggestion:555\x1ebrblack +SETUVAR fish_color_cancel:\x2dr +SETUVAR fish_color_command:005fd7 +SETUVAR fish_color_comment:990000 +SETUVAR fish_color_cwd:green +SETUVAR fish_color_cwd_root:red +SETUVAR fish_color_end:009900 +SETUVAR fish_color_error:ff0000 +SETUVAR fish_color_escape:00a6b2 +SETUVAR fish_color_history_current:\x2d\x2dbold +SETUVAR fish_color_host:normal +SETUVAR fish_color_host_remote:yellow +SETUVAR fish_color_match:\x2d\x2dbackground\x3dbrblue +SETUVAR fish_color_normal:normal +SETUVAR fish_color_operator:00a6b2 +SETUVAR fish_color_param:00afff +SETUVAR fish_color_quote:999900 +SETUVAR fish_color_redirection:00afff +SETUVAR fish_color_search_match:bryellow\x1e\x2d\x2dbackground\x3dbrblack +SETUVAR fish_color_selection:white\x1e\x2d\x2dbold\x1e\x2d\x2dbackground\x3dbrblack +SETUVAR fish_color_status:red +SETUVAR fish_color_user:brgreen +SETUVAR fish_color_valid_path:\x2d\x2dunderline +SETUVAR fish_greeting: +SETUVAR fish_key_bindings:fish_default_key_bindings +SETUVAR fish_pager_color_completion:\x1d +SETUVAR fish_pager_color_description:B3A06D\x1eyellow +SETUVAR fish_pager_color_prefix:white\x1e\x2d\x2dbold\x1e\x2d\x2dunderline +SETUVAR fish_pager_color_progress:brwhite\x1e\x2d\x2dbackground\x3dcyan +SETUVAR fish_pager_color_selected_background:\x2dr diff --git a/.config/fish/functions/br.fish b/.config/fish/functions/br.fish new file mode 120000 index 0000000..db89866 --- /dev/null +++ b/.config/fish/functions/br.fish @@ -0,0 +1 @@ +/home/kylert/.local/share/broot/launcher/fish/br.fish
\ No newline at end of file diff --git a/.config/fish/functions/fish_prompt.fish b/.config/fish/functions/fish_prompt.fish new file mode 100644 index 0000000..57ce705 --- /dev/null +++ b/.config/fish/functions/fish_prompt.fish @@ -0,0 +1,26 @@ +set -g __fish_git_prompt_show_informative_status 1 +set -g __fish_git_prompt_hide_untrackedfiles 1 +set -g __fish_git_prompt_showcolorhints 1 + +set -g __fish_git_prompt_color_branch magenta --bold +set -g __fish_git_prompt_showupstream "informative" +set -g __fish_git_prompt_char_upstream_ahead "↑" +set -g __fish_git_prompt_char_upstream_behind "↓" +set -g __fish_git_prompt_char_upstream_prefix "" + +set -g __fish_git_prompt_char_stagedstate "•" +set -g __fish_git_prompt_char_dirtystate "+" +set -g __fish_git_prompt_char_untrackedfiles "…" +set -g __fish_git_prompt_char_conflictedstate "x" +set -g __fish_git_prompt_char_cleanstate "✓" + +set -g __fish_git_prompt_color_dirtystate blue +set -g __fish_git_prompt_color_stagedstate yellow +set -g __fish_git_prompt_color_invalidstate red +set -g __fish_git_prompt_color_untrackedfiles $fish_color_normal +set -g __fish_git_prompt_color_cleanstate green --bold + +function fish_prompt + printf '%s%s%s%s $ ' \ + (set_color $fish_color_cwd) (prompt_pwd) (set_color normal) (fish_git_prompt) +end |
