1
0
mirror of https://github.com/alrayyes/dotfiles/ synced 2023-11-14 15:56:30 +00:00

feat(fish): updated config for arch install

This commit is contained in:
Ryan Kes 2021-03-13 15:32:31 +01:00
parent a06186187c
commit fc767afc7a

View File

@ -3,11 +3,6 @@ if status is-login
if test -z "$DISPLAY" -a $XDG_VTNR = 1 if test -z "$DISPLAY" -a $XDG_VTNR = 1
set -xg -x SXHKD_SHELL '/usr/bin/sh' set -xg -x SXHKD_SHELL '/usr/bin/sh'
# Enable numberlock
if [ -x "/usr/bin/numlockx" ]
/usr/bin/numlockx on
end
exec startx -- -keeptty exec startx -- -keeptty
end end
end end
@ -33,7 +28,6 @@ end
path_if_exists ~/.local/share/yarn/global/node_modules/.bin path_if_exists ~/.local/share/yarn/global/node_modules/.bin
path_if_exists ~/.local/bin path_if_exists ~/.local/bin
path_if_exists ~/.emacs.d/bin path_if_exists ~/.emacs.d/bin
path_if_exists ~/.local/share/go/bin
path_if_exists ~/.local/share/cargo/bin path_if_exists ~/.local/share/cargo/bin
path_if_exists ~/.local/share/go/bin path_if_exists ~/.local/share/go/bin
@ -41,14 +35,10 @@ path_if_exists ~/.local/share/go/bin
set GPG_TTY (tty) set GPG_TTY (tty)
# Set default browser # Set default browser
if [ -e "/usr/bin/brave" ] if [ -e "/sbin/brave" ]
set -xg BROWSER "brave" set -xg BROWSER "brave"
else else if [ -e "/sbin/firefox" ]
if [ -e "/usr/bin/firefox" ]
set -xg BROWSER "firefox" set -xg BROWSER "firefox"
else if [ -e "/usr/bin/iceweasel" ]
set -xg BROWSER "iceweasel"
end
end end
# Set default terminal # Set default terminal
@ -103,6 +93,9 @@ set -xg XDG_VIDEOS_DIR $HOME/Videos
# Npm # Npm
set -xg NPM_CONFIG_USERCONFIG $XDG_CONFIG_HOME/npm/npmrc set -xg NPM_CONFIG_USERCONFIG $XDG_CONFIG_HOME/npm/npmrc
# Set qt theme
set -xg QT_QPA_PLATFORMTHEME qt5ct
# nvim alias # nvim alias
abbr --add v 'nvim' abbr --add v 'nvim'
abbr --add sv 'sudo nvim' abbr --add sv 'sudo nvim'