Anthony Rodriguez
d0466f96da
commit75cf6a4d67
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Fri Oct 11 15:34:14 2024 +0200 home/programs/niri: use gtk portals for most things, and gnome for screencast commit5ccb424079
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Thu Oct 10 21:19:33 2024 +0200 home/programs/niri: add play/pause, add settings button on fn key f12 commit8b7164739d
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Thu Oct 10 00:32:40 2024 +0200 home/programs/niri: replace desktop-portal-gtk with gnome commitfe40c6c72c
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Thu Oct 10 00:21:31 2024 +0200 home/programs/niri: add xdg-desktop-portal-gtk commit74b7df1245
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Thu Oct 10 00:21:14 2024 +0200 home/programs: add fractal commit3773095069
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Thu Oct 10 00:21:05 2024 +0200 home/programs/gtk: use color-scheme for gtk4.0 commit8fef768f4f
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Wed Oct 9 19:22:43 2024 +0200 system/services/regreet: ensure that regreet starts dbus session commitfcd88bfa8e
Author: Anthony Rodriguez <anthony@nezia.dev> Date: Wed Oct 9 19:22:20 2024 +0200 repo: implement ags Implement ags, a wayland bar / GTK shell. Also added a few dependencies required for it to work properly.
52 lines
1,008 B
Nix
52 lines
1,008 B
Nix
{
|
|
inputs,
|
|
pkgs,
|
|
config,
|
|
nixosConfig,
|
|
...
|
|
}: let
|
|
isDark = inputs.basix.schemeData.base16.${nixosConfig.style.scheme}.variant == "dark";
|
|
in {
|
|
home.pointerCursor = {
|
|
inherit (nixosConfig.style.cursorTheme) name package size;
|
|
gtk.enable = true;
|
|
x11.enable = true;
|
|
};
|
|
|
|
gtk = {
|
|
enable = true;
|
|
|
|
font = {
|
|
name = "Inter";
|
|
package = pkgs.inter;
|
|
size = 11;
|
|
};
|
|
|
|
gtk3.extraConfig = {
|
|
gtk-decoration-layout = ":menu";
|
|
gtk-application-prefer-dark-theme = isDark;
|
|
};
|
|
|
|
gtk4.extraConfig = {
|
|
gtk-decoration-layout = ":menu";
|
|
};
|
|
|
|
gtk2.configLocation = "${config.xdg.configHome}/gtk-2.0/gtkrc";
|
|
|
|
iconTheme = {
|
|
inherit (nixosConfig.style.gtk.iconTheme) name package;
|
|
};
|
|
|
|
theme = {
|
|
inherit (nixosConfig.style.gtk.theme) name package;
|
|
};
|
|
};
|
|
dconf.settings = {
|
|
"org/gnome/desktop/interface" = {
|
|
color-scheme =
|
|
if isDark
|
|
then "prefer-dark"
|
|
else "default";
|
|
};
|
|
};
|
|
}
|