Compare commits

..

No commits in common. "7e0fd0bac0f73aab1992a318c9facbe00405c05a" and "29b20ad706944250b979ddd634769b0d0975b263" have entirely different histories.

5 changed files with 17 additions and 52 deletions

View File

@ -12,9 +12,22 @@
imports = [ imports = [
zen-browser.homeModules.beta zen-browser.homeModules.beta
./hyprland ./hyprland
./theme
]; ];
xdg.portal = {
enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gtk
];
config.hyprland."org.freedesktop.impl.portal.Settings" = "darkman";
};
services.darkman = {
enable = true;
settings.portal = true;
};
programs.zen-browser = { programs.zen-browser = {
enable = true; enable = true;
policies = { policies = {

View File

@ -8,10 +8,13 @@
misc = { misc = {
disable_hyprland_logo = true; disable_hyprland_logo = true;
background_color = "0x1A1D23";
}; };
general = { general = {
border_size = 2; border_size = 2;
"col.active_border" = "0xFF81A1C1";
"col.inactive_border" = "0xFF677691";
layout = "master"; layout = "master";
}; };
@ -116,8 +119,6 @@
"$mod, =, resizeactive, +10" "$mod, =, resizeactive, +10"
"$mod, -, resizeactive, -10" "$mod, -, resizeactive, -10"
"$mod, D, exec, darkman toggle"
# Text input (macOS-like way of producing Norwegian characters) # Text input (macOS-like way of producing Norwegian characters)
"$mod, A, exec, wtype 'å'" "$mod, A, exec, wtype 'å'"
"$mod, O, exec, wtype 'ø'" "$mod, O, exec, wtype 'ø'"

View File

@ -1,44 +0,0 @@
{ pkgs, ... }:
let
bg = {
light = "FAFAFA";
dark = "2E3440";
};
fg = {
light = "37474F";
dark = "ECEFF4";
};
primary = {
light = "673AB7";
dark = "81A1C1";
};
secondary = {
light = "90A4AE";
dark = "677691";
};
in
{
xdg.portal = {
enable = true;
extraPortals = [
pkgs.xdg-desktop-portal-hyprland
pkgs.xdg-desktop-portal-gtk
];
config.hyprland."org.freedesktop.impl.portal.Settings" = "darkman";
};
services.darkman = {
enable = true;
settings.portal = true;
lightModeScripts.hyprland-light = ''
hyprctl keyword misc:background_color 0x${bg.light}
hyprctl keyword general:col.active_border 0xFF${primary.light}
hyprctl keyword general:col.inactive_border 0xFF${secondary.light}
'';
darkModeScripts.hyprland-dark = ''
hyprctl keyword misc:background_color 0x${bg.dark}
hyprctl keyword general:col.active_border 0xFF${primary.dark}
hyprctl keyword general:col.inactive_border 0xFF${secondary.dark}
'';
};
}

View File

@ -5,8 +5,6 @@ with pkgs;
cbqn cbqn
]; ];
c = [ gcc ];
clojure = [ clojure = [
babashka babashka
clj-kondo clj-kondo

View File

@ -69,9 +69,6 @@ in
# Enable CUPS to print documents. # Enable CUPS to print documents.
services.printing.enable = true; services.printing.enable = true;
# Enable bluetooth.
hardware.bluetooth.enable = true;
# Enable sound with pipewire. # Enable sound with pipewire.
services.pulseaudio.enable = false; services.pulseaudio.enable = false;
security.rtkit.enable = true; security.rtkit.enable = true;