diff --git a/editions/sway b/editions/sway index e8e3448841beaf5ae88a79f35c4065c2adc17f53..f4243ed659247ce89b908d37873bdc0a36413087 100644 --- a/editions/sway +++ b/editions/sway @@ -104,6 +104,7 @@ cmatrix cpu-temp-speed curl exa +fd fzf hey htop diff --git a/overlays/sway/etc/skel/.bashrc b/overlays/sway/etc/skel/.bashrc index 3ece070c061c368dc0b6c96e1454b969b042bbf6..0033ad7ecc242cfba9b8e4d7c160cd1cb2f622c8 100644 --- a/overlays/sway/etc/skel/.bashrc +++ b/overlays/sway/etc/skel/.bashrc @@ -5,8 +5,13 @@ # If not running interactively, don't do anything [[ $- != *i* ]] && return +# make default editor Neovim export EDITOR=nvim +# use custom fd command for fzf incl. showing hidden files by default +export FZF_DEFAULT_COMMAND='fd --type f --hidden --follow --exclude .git' + +# configure silver command prompt (will be removed here as soon as v2.0.0 hits repos) SILVER=(status:black:white user:yellow:black dir:blue:black git:green:black cmdtime:magenta:black) export SILVER_ICONS=nerd export SILVER_SHELL=${0#-} # bash, zsh, or fish diff --git a/overlays/sway/etc/skel/.config/silver/silver.toml b/overlays/sway/etc/skel/.config/silver/silver.toml new file mode 100644 index 0000000000000000000000000000000000000000..90ffbd84e0262bf29be58b9cc960a4637dab71af --- /dev/null +++ b/overlays/sway/etc/skel/.config/silver/silver.toml @@ -0,0 +1,24 @@ +[[left]] +name = "status" +color.background = "black" +color.foreground = "white" + +[[left]] +name = "user" +color.background = "yellow" +color.foreground = "black" + +[[left]] +name = "dir" +color.background = "blue" +color.foreground = "black" + +[[left]] +name = "git" +color.background = "green" +color.foreground = "black" + +[[left]] +name = "cmdtime" +color.background = "magenta" +color.foreground = "black"