noctalia things

This commit is contained in:
Tyler Mayoff 2025-09-02 19:30:43 -04:00
parent 3f8399434e
commit ef3780ef1b
3 changed files with 14 additions and 4 deletions

View file

@ -14,7 +14,7 @@
};
noctalia = {
url = "github:noctalia-dev/noctalia-shell/v2.3.4";
url = "github:noctalia-dev/noctalia-shell/main";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};

View file

@ -14,6 +14,10 @@
${pkgs.dconf}/bin/dconf write \
/org/gnome/desktop/interface/color-scheme "'prefer-light'"
'';
noctalia = ''
noctalia-shell ipc call darkMode setLight
'';
};
darkModeScripts = {
@ -22,6 +26,10 @@
/org/gnome/desktop/interface/color-scheme "'prefer-dark'"
'';
noctalia = ''
noctalia-shell ipc call darkMode setDark
'';
# fish = ''
# yes | fish_config theme save "Rosé Pine"
# '';

View file

@ -3,13 +3,15 @@
inputs,
config,
...
}: {
}: let
noctalia = inputs.noctalia.packages.${pkgs.system}.default;
in {
imports = [
./darkman.nix
];
home.packages = with pkgs; [
inputs.noctalia.packages.${system}.default
noctalia
inputs.quickshell.packages.${system}.default
xdg-desktop-portal-gtk
@ -277,7 +279,7 @@
# // This line starts waybar, a commonly used bar for Wayland compositors.
spawn-at-startup = [
{argv = ["noctalia-shell"];}
{argv = ["${noctalia}"];}
];
# Uncomment this line to ask the clients to omit their client-side decorations if possible.