diff --git a/alacritty/alacritty.yml b/alacritty/alacritty.yml index 36472c5..ad5bcbf 100644 --- a/alacritty/alacritty.yml +++ b/alacritty/alacritty.yml @@ -357,7 +357,7 @@ colors: # - (Linux/BSD) user login shell # - (Windows) powershell shell: - program: fish + program: bash # args: # - --login diff --git a/pkgs/desktop-packages.nix b/pkgs/desktop-packages.nix index 9a3839d..e37c7c4 100644 --- a/pkgs/desktop-packages.nix +++ b/pkgs/desktop-packages.nix @@ -125,5 +125,6 @@ with lib; nix-index sqlite fennel + blesh ]; } diff --git a/scripts/emacslof b/scripts/emacslof index 8142450..1ff1c63 100755 --- a/scripts/emacslof +++ b/scripts/emacslof @@ -33,5 +33,10 @@ if [ $(pgrep -c emacsclient) -gt 0 ]; then fi else - exec emacsclient -c & + if [ $(pgrep -c emacs) -gt 0 ]; then + alacritty -e emacs --daemon + exec emacsclient -c & + else + exec emacsclient -c & + fi fi diff --git a/system/dalinar/configuration.nix b/system/dalinar/configuration.nix index d0e94a0..22412b0 100644 --- a/system/dalinar/configuration.nix +++ b/system/dalinar/configuration.nix @@ -94,7 +94,7 @@ btop htop unzip - #blesh + blesh ]; virtualisation.docker.enable = true; diff --git a/user/home.nix b/user/home.nix index 2eacd37..5e90654 100644 --- a/user/home.nix +++ b/user/home.nix @@ -449,9 +449,16 @@ enable = true; bashrcExtra = '' # export ENV_EFI_CODE_SECURE=/run/libvirt/nix-ovmf/OVMF_CODE.fd ENV_EFI_VARS_SECURE=/run/libvirt/nix-ovmf/OVMF_VARS.fd - source $(blesh-share) + source $(blesh-share)/ble.sh ble-face auto_complete="fg=238" # eval "$(starship init bash)" + export LESS_TERMCAP_mb=$'\e[1;32m' + export LESS_TERMCAP_md=$'\e[1;32m' + export LESS_TERMCAP_me=$'\e[0m' + export LESS_TERMCAP_se=$'\e[0m' + export LESS_TERMCAP_so=$'\e[01;33m' + export LESS_TERMCAP_ue=$'\e[0m' + export LESS_TERMCAP_us=$'\e[1;4;31m' ''; };