fix(login): loginShellInit wrong
This commit is contained in:
parent
4a7aa21cff
commit
41aca71983
2 changed files with 2 additions and 6 deletions
|
|
@ -230,6 +230,7 @@ return {
|
||||||
ft = 'oil',
|
ft = 'oil',
|
||||||
opts = {
|
opts = {
|
||||||
symbol_position = 'signcolumn',
|
symbol_position = 'signcolumn',
|
||||||
|
can_use_signcolumn = function() return 'yes' end,
|
||||||
show_file_highlights = false,
|
show_file_highlights = false,
|
||||||
show_directory_highlights = false,
|
show_directory_highlights = false,
|
||||||
symbols = {
|
symbols = {
|
||||||
|
|
|
||||||
|
|
@ -8,7 +8,7 @@
|
||||||
let
|
let
|
||||||
tuigreet = lib.getExe pkgs.tuigreet;
|
tuigreet = lib.getExe pkgs.tuigreet;
|
||||||
loginShell = pkgs.writeShellScript "login-shell" ''
|
loginShell = pkgs.writeShellScript "login-shell" ''
|
||||||
exec $(getent passwd $(id -un) | cut -d: -f7) -l
|
exec $(getent passwd $(id -un) | cut -d: -f7) -lc 'exec start-hyprland'
|
||||||
'';
|
'';
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
|
|
@ -98,11 +98,6 @@ in
|
||||||
export INPUTRC="$HOME/.config/nix/config/bash/inputrc"
|
export INPUTRC="$HOME/.config/nix/config/bash/inputrc"
|
||||||
export THEME="midnight"
|
export THEME="midnight"
|
||||||
'';
|
'';
|
||||||
# loginShellInit = ''
|
|
||||||
# if [ -z "$WAYLAND_DISPLAY" ] && [ "$XDG_VTNR" -eq 1 ]; then
|
|
||||||
# exec start-hyprland
|
|
||||||
# fi
|
|
||||||
# '';
|
|
||||||
interactiveShellInit = ''
|
interactiveShellInit = ''
|
||||||
[ -f "$HOME/.config/nix/config/bash/bashrc" ] && . "$HOME/.config/nix/config/bash/bashrc"
|
[ -f "$HOME/.config/nix/config/bash/bashrc" ] && . "$HOME/.config/nix/config/bash/bashrc"
|
||||||
'';
|
'';
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue