change noctalia theming, refactor brightness script
This commit is contained in:
9 files changed
+223
-89
No files matched your search
@@ -11,7 +11,19 @@ in {
|
||||
|
||||
flake.homeModules.global = { pkgs, lib, config, ... }: {
|
||||
imports = [ (inputs.helpers.mkStandardFeature.homeModule { inherit config optionName; } {
|
||||
programs.zsh.initContent = lib.mkOrder 1500 "fastfetch";
|
||||
programs.zsh.initContent = lib.mkOrder 1500 ''
|
||||
SESSION_TYPE=local
|
||||
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
|
||||
SESSION_TYPE=remote/ssh
|
||||
else
|
||||
case $(ps -o comm= -p "$PPID") in
|
||||
sshd|*/sshd) SESSION_TYPE=remote/ssh;;
|
||||
esac
|
||||
fi
|
||||
if [ "$SESSION_TYPE" != "remote/ssh" ]; then
|
||||
fastfetch
|
||||
fi
|
||||
'';
|
||||
programs.fastfetch.enable = true;
|
||||
}) ];
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user