Move fish config to shared
This commit is contained in:
28
hosts/shared/dotfiles/fish/cli-config.fish
Normal file
28
hosts/shared/dotfiles/fish/cli-config.fish
Normal file
@@ -0,0 +1,28 @@
|
||||
if status is-interactive
|
||||
fish_add_path "/home/eesim/.cargo/bin/"
|
||||
|
||||
set fish_greeting
|
||||
|
||||
set fish_cursor_default block
|
||||
set fish_cursor_insert line
|
||||
set fish_cursor_replace_one underscore
|
||||
set fish_cursor_replace underscore
|
||||
set fish_cursor_external line
|
||||
set fish_cursor_visual block
|
||||
|
||||
function fish_mode_prompt
|
||||
end
|
||||
|
||||
direnv hook fish | source
|
||||
|
||||
end
|
||||
|
||||
if status is-login
|
||||
|
||||
# Disable GTK portal
|
||||
set -x GTK_USE_PORTAL "0"
|
||||
|
||||
# Java fix
|
||||
set -x _JAVA_AWT_WM_NONREPARENTING "1"
|
||||
|
||||
end
|
||||
33
hosts/shared/dotfiles/fish/gui-config.fish
Normal file
33
hosts/shared/dotfiles/fish/gui-config.fish
Normal file
@@ -0,0 +1,33 @@
|
||||
if status is-interactive
|
||||
fish_add_path "/home/eesim/.cargo/bin/"
|
||||
|
||||
set fish_greeting
|
||||
|
||||
set fish_cursor_default block
|
||||
set fish_cursor_insert line
|
||||
set fish_cursor_replace_one underscore
|
||||
set fish_cursor_replace underscore
|
||||
set fish_cursor_external line
|
||||
set fish_cursor_visual block
|
||||
|
||||
function fish_mode_prompt
|
||||
end
|
||||
|
||||
direnv hook fish | source
|
||||
|
||||
end
|
||||
|
||||
if status is-login
|
||||
|
||||
# Disable GTK portal
|
||||
set -x GTK_USE_PORTAL "0"
|
||||
|
||||
# Java fix
|
||||
set -x _JAVA_AWT_WM_NONREPARENTING "1"
|
||||
|
||||
end
|
||||
|
||||
if test (tty) = "/dev/tty1"
|
||||
sway
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user