mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
noctalia things
This commit is contained in:
parent
3f8399434e
commit
ef3780ef1b
3 changed files with 14 additions and 4 deletions
|
|
@ -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";
|
||||
};
|
||||
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
# '';
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue