darkman and organization

This commit is contained in:
Tyler Mayoff 2025-02-16 09:27:21 -05:00
parent 69564baaf4
commit ddbc68fb9c
7 changed files with 39 additions and 220 deletions

View file

@ -0,0 +1,22 @@
{pkgs, ...}: {
services.darkman = {
enable = true;
settings = {
usegeoclue = true;
};
lightModeScripts = {
gtk-theme = ''
${pkgs.dconf}/bin/dconf write \
/org/gnome/desktop/interface/color-scheme "'prefer-light'"
'';
};
darkModeScripts = {
gtk-theme = ''
${pkgs.dconf}/bin/dconf write \
/org/gnome/desktop/interface/color-scheme "'prefer-dark'"
'';
};
};
}

View file

@ -1,24 +0,0 @@
{pkgs, ...}: {
imports = [
../stylix.nix
../common.nix
../waybar/mechabar
../sway
../home-backup.nix
../gui.nix
];
home = {
username = "tyler";
homeDirectory = "/home/tyler";
packages = with pkgs; [
ventoy
# (config.lib.nixGL.wrap renderdoc)
];
stateVersion = "23.11";
};
}

View file

@ -1,11 +1,14 @@
{pkgs, ...}: {
# Waybar dotfiles from https://github.com/sejjy/mechabar
imports = [
./scripts.nix
./rofi.nix
];
home.packages = with pkgs; [
rofi
rofi-wayland
bluetui
];
programs.waybar = {
@ -104,7 +107,7 @@
}
#workspaces button.active {
color: @active-fg;
color: @hover-fg;
background: @hover-bg;
text-shadow: 0 0 2px rgba(0, 0, 0, 0.6);
box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.4);