1
Fork 0
mirror of https://github.com/thegeneralist01/config.git synced 2026-05-30 08:37:01 +02:00

Compare commits

..

2 commits

Author SHA1 Message Date
bb4804dfc1
minor changes 2026-03-27 14:05:18 +01:00
8eaea782ab
shell stuff for zed 2026-03-27 14:04:27 +01:00
4 changed files with 32 additions and 19 deletions

View file

@ -15,9 +15,7 @@ in {
userName = "TheGeneralist";
userEmail = "180094941+thegeneralist01@users.noreply.github.com";
lfs = {
enable = true;
};
lfs.enable = true;
extraConfig = {
commit.gpgSign = true;

View file

@ -461,4 +461,6 @@ def --wrapped jc [...arguments: string@"nu-complete jc"]: [any -> table, any ->
}
}
if $nu.is-interactive {
greeting
}

View file

@ -69,7 +69,9 @@ in
config' = homeArgs.config;
nuExecCondition =
if config.isDarwin then
''[ -z "$INTELLIJ_ENVIRONMENT_READER" ] && [ -z "$skip" ]''
''
[[ $- == *i* ]] && [ -z "$skip" ] && [ -t 1 ]
''
else
''[ -z "$INTELLIJ_ENVIRONMENT_READER" ] && [ -z "$skip" ] && [ -z "$SSH_TTY" ]'';
in
@ -80,11 +82,14 @@ in
source ${config'.home.sessionVariablesPackage}/etc/profile.d/hm-session-vars.sh
if ${nuExecCondition}; then
parent_cmd="$(ps -o command= -p "$PPID" 2>/dev/null || true)"
case "$parent_cmd" in
*"/Applications/Zed.app/Contents/MacOS/zed --printenv"*) return ;;
esac
SHELL='${lib.getExe <| lib.head config'.shellsByPriority}' exec "$SHELL"
fi
'';
}
)
];
}

View file

@ -101,6 +101,11 @@
action.spawn = [ "ghostty" ];
};
"Mod+G" = {
hotkey-overlay.title = "Open Terminal: ghostty";
action.spawn = [ "ghostty" ];
};
"Mod+B" = {
hotkey-overlay.title = "Open Browser: helium";
action.spawn = [ "helium" ];
@ -111,10 +116,10 @@
action.spawn = [ "sh" "-" "firefox" ];
};
"Mod+Shift+Q" = {
hotkey-overlay.title = "Lock Screen: gtklock";
action.spawn = [ "gtklock" ];
};
# "Mod+Shift+Q" = {
# hotkey-overlay.title = "Lock Screen: gtklock";
# action.spawn = [ "gtklock" ];
# };
"Mod+D" = {
hotkey-overlay.title = "Open App Launcher: fuzzel";
@ -391,11 +396,14 @@
package = pkgs.niri;
};
environment.systemPackages = [
pkgs.fuzzel
pkgs.xfce.thunar
pkgs.playerctl
pkgs.wireplumber
environment.systemPackages = with pkgs; [
fuzzel
xfce.thunar
playerctl
wireplumber
yaziPlugins.wl-clipboard
wl-clipboard-x11
wl-clipboard-rs
];
services.xserver = {