mirror of
https://github.com/thegeneralist01/config.git
synced 2026-05-30 08:37:01 +02:00
Compare commits
2 commits
1971d7f7d5
...
bb4804dfc1
| Author | SHA1 | Date | |
|---|---|---|---|
| bb4804dfc1 | |||
| 8eaea782ab |
4 changed files with 32 additions and 19 deletions
|
|
@ -15,9 +15,7 @@ in {
|
||||||
|
|
||||||
userName = "TheGeneralist";
|
userName = "TheGeneralist";
|
||||||
userEmail = "180094941+thegeneralist01@users.noreply.github.com";
|
userEmail = "180094941+thegeneralist01@users.noreply.github.com";
|
||||||
lfs = {
|
lfs.enable = true;
|
||||||
enable = true;
|
|
||||||
};
|
|
||||||
|
|
||||||
extraConfig = {
|
extraConfig = {
|
||||||
commit.gpgSign = true;
|
commit.gpgSign = true;
|
||||||
|
|
|
||||||
|
|
@ -461,4 +461,6 @@ def --wrapped jc [...arguments: string@"nu-complete jc"]: [any -> table, any ->
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
greeting
|
if $nu.is-interactive {
|
||||||
|
greeting
|
||||||
|
}
|
||||||
|
|
|
||||||
|
|
@ -69,7 +69,9 @@ in
|
||||||
config' = homeArgs.config;
|
config' = homeArgs.config;
|
||||||
nuExecCondition =
|
nuExecCondition =
|
||||||
if config.isDarwin then
|
if config.isDarwin then
|
||||||
''[ -z "$INTELLIJ_ENVIRONMENT_READER" ] && [ -z "$skip" ]''
|
''
|
||||||
|
[[ $- == *i* ]] && [ -z "$skip" ] && [ -t 1 ]
|
||||||
|
''
|
||||||
else
|
else
|
||||||
''[ -z "$INTELLIJ_ENVIRONMENT_READER" ] && [ -z "$skip" ] && [ -z "$SSH_TTY" ]'';
|
''[ -z "$INTELLIJ_ENVIRONMENT_READER" ] && [ -z "$skip" ] && [ -z "$SSH_TTY" ]'';
|
||||||
in
|
in
|
||||||
|
|
@ -80,11 +82,14 @@ in
|
||||||
source ${config'.home.sessionVariablesPackage}/etc/profile.d/hm-session-vars.sh
|
source ${config'.home.sessionVariablesPackage}/etc/profile.d/hm-session-vars.sh
|
||||||
|
|
||||||
if ${nuExecCondition}; then
|
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"
|
SHELL='${lib.getExe <| lib.head config'.shellsByPriority}' exec "$SHELL"
|
||||||
fi
|
fi
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -101,6 +101,11 @@
|
||||||
action.spawn = [ "ghostty" ];
|
action.spawn = [ "ghostty" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"Mod+G" = {
|
||||||
|
hotkey-overlay.title = "Open Terminal: ghostty";
|
||||||
|
action.spawn = [ "ghostty" ];
|
||||||
|
};
|
||||||
|
|
||||||
"Mod+B" = {
|
"Mod+B" = {
|
||||||
hotkey-overlay.title = "Open Browser: helium";
|
hotkey-overlay.title = "Open Browser: helium";
|
||||||
action.spawn = [ "helium" ];
|
action.spawn = [ "helium" ];
|
||||||
|
|
@ -111,10 +116,10 @@
|
||||||
action.spawn = [ "sh" "-" "firefox" ];
|
action.spawn = [ "sh" "-" "firefox" ];
|
||||||
};
|
};
|
||||||
|
|
||||||
"Mod+Shift+Q" = {
|
# "Mod+Shift+Q" = {
|
||||||
hotkey-overlay.title = "Lock Screen: gtklock";
|
# hotkey-overlay.title = "Lock Screen: gtklock";
|
||||||
action.spawn = [ "gtklock" ];
|
# action.spawn = [ "gtklock" ];
|
||||||
};
|
# };
|
||||||
|
|
||||||
"Mod+D" = {
|
"Mod+D" = {
|
||||||
hotkey-overlay.title = "Open App Launcher: fuzzel";
|
hotkey-overlay.title = "Open App Launcher: fuzzel";
|
||||||
|
|
@ -391,11 +396,14 @@
|
||||||
package = pkgs.niri;
|
package = pkgs.niri;
|
||||||
};
|
};
|
||||||
|
|
||||||
environment.systemPackages = [
|
environment.systemPackages = with pkgs; [
|
||||||
pkgs.fuzzel
|
fuzzel
|
||||||
pkgs.xfce.thunar
|
xfce.thunar
|
||||||
pkgs.playerctl
|
playerctl
|
||||||
pkgs.wireplumber
|
wireplumber
|
||||||
|
yaziPlugins.wl-clipboard
|
||||||
|
wl-clipboard-x11
|
||||||
|
wl-clipboard-rs
|
||||||
];
|
];
|
||||||
|
|
||||||
services.xserver = {
|
services.xserver = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue