change noctalia theming, refactor brightness script

This commit is contained in:
greyweather committed 2026-09-15 21:44:15 +01:00
1 parent 525bba220a
commit a368872a16
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;
}) ];
};