xinitrc, fish: respond to SYSTEM_PROFILE
This commit is contained in:
parent
8fa79a5029
commit
d7f13ff865
@ -17,17 +17,19 @@ set -gx MANPATH "$MANPATH:/home/dogeystamp/.cache/cppman/"
|
||||
set fish_greeting ""
|
||||
|
||||
if status --is-interactive
|
||||
source ~/.config/fish/functions/prompts.fish
|
||||
source ~/.config/fish/functions/extra_prompt.fish
|
||||
|
||||
# Enable Vi bindings
|
||||
fish_hybrid_key_bindings
|
||||
|
||||
source ~/.config/fish/functions/prompts.fish
|
||||
|
||||
set __fish_git_prompt_showdirtystate 1
|
||||
set __fish_git_prompt_showupstream auto
|
||||
|
||||
set fish_color_param normal
|
||||
set fish_color_cwd grey
|
||||
|
||||
rem.sh show
|
||||
if test $SYSTEM_PROFILE = "DEFAULT"
|
||||
source ~/.config/fish/functions/extra_prompt.fish
|
||||
rem.sh show
|
||||
end
|
||||
end
|
||||
|
@ -1,4 +1,8 @@
|
||||
function fish_right_prompt
|
||||
if test $SYSTEM_PROFILE != "DEFAULT"
|
||||
return
|
||||
end
|
||||
|
||||
set -l usercolor (set_color $fish_color_cwd)
|
||||
if command -sq cksum
|
||||
# randomised color for user/hostname based on disco.fish
|
||||
|
10
src/.xinitrc
10
src/.xinitrc
@ -1,7 +1,15 @@
|
||||
#!/bin/sh
|
||||
|
||||
mon-on
|
||||
picom &
|
||||
|
||||
if [ $SYSTEM_PROFILE == "MINIMAL" ]; then
|
||||
dwm
|
||||
exit
|
||||
fi
|
||||
|
||||
if [ $SYSTEM_PROFILE == "DEFAULT" ]; then
|
||||
picom &
|
||||
fi
|
||||
xwallpaper --center .config/wall.png
|
||||
# Host specific wallpapers
|
||||
wallpaper
|
||||
|
Loading…
Reference in New Issue
Block a user