niri fixes

This commit is contained in:
Tyler Mayoff 2025-09-19 13:26:16 -04:00
parent 748624c12f
commit bca8eb1549
10 changed files with 36 additions and 83 deletions

View file

@ -11,7 +11,7 @@
'';
gtk-theme = ''
gsettings set org.gnome.desktop.interface color-scheme prefer-light
dconf write /org/gnome/desktop/interface/color-scheme '"prefer-light"'
'';
noctalia = ''
@ -21,7 +21,7 @@
darkModeScripts = {
gtk-theme = ''
gsettings set org.gnome.desktop.interface color-scheme prefer-dark
dconf write /org/gnome/desktop/interface/color-scheme '"prefer-dark"'
'';
noctalia = ''

View file

@ -1,10 +1,10 @@
{pkgs, ...}: {
home.packages = with pkgs; [
gnome-tweaks
];
# home.packages = with pkgs; [
# gnome-tweaks
# ];
programs.gnome-shell = {
enable = true;
enable = false;
extensions = [
# {package = pkgs.gnomeExtensions.power-off-options;}
{package = pkgs.gnomeExtensions.auto-power-profile;}

View file

@ -1,34 +1,9 @@
{pkgs, ...}: {
imports = [
];
home.packages = with pkgs; [
adw-gtk3
discord
# Office
libreoffice
obsidian
];
# programs.vscode.enable = true;
# programs.alacritty = {
# enable = true;
# };
# programs.wezterm = {
# enable = false;
# extraConfig = ''
# return {
# font_size=9.25,
# color_scheme="catppuccin-latte",
# hide_tab_bar_if_only_one_tab = true,
# window_frame = {
# font_size = 10
# },
# }
# '';
# };
}

View file

@ -14,43 +14,34 @@ in {
noctalia
inputs.quickshell.packages.${system}.default
glib
xdg-desktop-portal-gnome
xdg-desktop-portal-gtk
gnome-keyring
mods.xwayland-satellite
wlsunset
];
# xdg.portal = {
# enable = true;
# extraPortals = [pkgs.xdg-desktop-portal-gnome pkgs.xdg-desktop-portal-gtk];
# config = {
# niri = {
# default = ["gnome" "gtk"];
# "org.freedesktop.impl.portal.Access" = ["gtk"];
# "org.freedesktop.impl.portal.Notification" = ["gtk"];
# "org.freedesktop.impl.portal.Secret" = ["gnome-keyring"];
# };
# };
# };
home.shellAliases = {
restart-shell = "${noctalia} kill && niri msg action spawn -- \"${noctalia}\"";
};
gtk = {
enable = true;
# theme.name = "Adwaita";
iconTheme = {
package = pkgs.tela-icon-theme;
name = "Tela";
};
};
programs.niri.settings = {
cursor = {
size = 12;
theme = "Adwaita";
};
# This config is in the KDL format: https://kdl.dev
# "/-" comments out the following node.
# Check the wiki for a full description of the configuration:
# https://github.com/YaLTeR/niri/wiki/Configuration:-Introduction
# Input device configuration.
# Find the full list of options on the wiki:
# https://github.com/YaLTeR/niri/wiki/Configuration:-Input
input = {
# keyboard {
# xkb {

View file

@ -14,8 +14,8 @@ in {
# package = pkgs.nerdfonts.override {fonts = ["JetBrainsMono"];};
# };
enable = true;
autoEnable = false;
# enable = true;
# autoEnable = false;
# targets.alacritty.enable = false;
# targets.helix.enable = false;