general theme applying

This commit is contained in:
2024-11-04 14:26:00 +01:00
parent 720c05f9b0
commit 34e94621b8
7 changed files with 72 additions and 21 deletions

View File

@@ -8,6 +8,13 @@
extraConfig = { extraConfig = {
init.defaultBranch = "main"; init.defaultBranch = "main";
push.autoSetupRemote = true; push.autoSetupRemote = true;
user.signingkey = "9745B9E27E2B1ABB";
commit.gpgsign = true;
push.enabled = true;
column.ui = "auto";
branch.sort = "-committerdate";
pull.rebase = "false";
rerere.enabled = true;
}; };
}; };
} }

View File

@@ -48,10 +48,10 @@
"symbols.hidesExplorerArrows" = false; "symbols.hidesExplorerArrows" = false;
"workbench.iconTheme" = "vs-minimal"; "workbench.iconTheme" = "rose-pine-icons";
"workbench.colorTheme" = "Rose Pine"; "workbench.colorTheme" = "Rosé Pine";
"workbench.preferredDarkColorTheme" = "Rose Pine"; "workbench.preferredDarkColorTheme" = "Rosé Pine";
"workbench.preferredHighContrastColorTheme" = "Rose Pine"; "workbench.preferredHighContrastColorTheme" = "Rosé Pine";
}; };
}; };

View File

@@ -655,27 +655,44 @@ windowrulev2 = noblur,class:^(xwaylandvideobridge)$
listener = [ listener = [
# {
# timeout = 60;
# on-timeout = "brightnessctl -sd asus::kbd_backlight set 0";
# on-resume = "brightnessctl -rd asus::kbd_backlight";
# }
# {
# timeout = 80;
# on-timeout = "brightnessctl -s set 0";
# on-resume = "brightnessctl -r";
# }
# {
# timeout = 100;
# on-timeout = "hyprctl dispatch dpms off ";
# on-resume = "hyprctl dispatch dpms on";
# }
# {
# timeout = 150;
# on-timeout = "systemctl suspend";
# }
{ {
timeout = 60; timeout = 300; # 5min
on-timeout = "brightnessctl -sd asus::kbd_backlight set 0"; on-timeout = "brightnessctl -s set 10"; # set monitor backlight to minimum, avoid 0 on OLED monitor.
on-resume = "brightnessctl -rd asus::kbd_backlight"; on-resume = "brightnessctl -r"; # monitor backlight restore.
} }
{ {
timeout = 80; timeout = 600; # 10min
on-timeout = "brightnessctl -s set 0"; on-timeout = "loginctl lock-session"; # lock screen when timeout has passed
on-resume = "brightnessctl -r";
} }
{ {
timeout = 100; timeout = 1800; # 30min
on-timeout = "hyprctl dispatch dpms off "; on-timeout = "systemctl hibernate";
on-resume = "hyprctl dispatch dpms on"; # on-timeout = hyprctl dispatch dpms off # screen off when timeout has passed
} # on-resume = hyprctl dispatch dpms on # screen on when activity is detected after timeout has fired.
{
timeout = 150;
on-timeout = "systemctl suspend";
} }
]; ];
}; };

View File

@@ -259,6 +259,30 @@
# CSS Styling # CSS Styling
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
style = '' style = ''
/*
* Variant: Rosé Pine
* Maintainer: DankChoir
*/
@define-color base #191724;
@define-color surface #1f1d2e;
@define-color overlay #26233a;
@define-color muted #6e6a86;
@define-color subtle #908caa;
@define-color text #e0def4;
@define-color love #eb6f92;
@define-color gold #f6c177;
@define-color rose #ebbcba;
@define-color pine #31748f;
@define-color foam #9ccfd8;
@define-color iris #c4a7e7;
@define-color highlightLow #21202e;
@define-color highlightMed #403d52;
@define-color highlightHigh #524f67;
* { * {
font-family: "JetBrainsMono Nerd Font", FontAwesome, Roboto, Helvetica, font-family: "JetBrainsMono Nerd Font", FontAwesome, Roboto, Helvetica,
Arial, sans-serif; Arial, sans-serif;

View File

@@ -14,7 +14,7 @@
./modules/security.nix ./modules/security.nix
./modules/pipewire.nix ./modules/pipewire.nix
./modules/gsettings.nix ./modules/gsettings.nix
./modules/bluetooth.nix # ./modules/bluetooth.nix
./modules/packages.nix ./modules/packages.nix
# ./modules/lanzaboot.nix # ./modules/lanzaboot.nix
./modules/configuration.nix ./modules/configuration.nix

View File

@@ -11,10 +11,13 @@
services = { services = {
logind = { logind = {
lidSwitch = "ignore"; lidSwitch = "ignore";
lidSwitchExternalPower = if hostname == "server" then "ignore" else "suspend-then-hibernate"; # lidSwitchExternalPower = if hostname == "server" then "ignore" else "suspend-then-hibernate";
lidSwitchExternalPower = "ignore";
}; };
}; };
environment.sessionVariables.NIXOS_OZONE_WL = "1";
system = { system = {
stateVersion = "24.05"; stateVersion = "24.05";
switch = { switch = {

View File

@@ -2,7 +2,7 @@
{ {
services.xserver = { services.xserver = {
enable = true; enable = true;
xkb.layout = "fr"; xkb.layout = "pl";
xkb.variant = ""; xkb.variant = "";
excludePackages = [ pkgs.xterm ]; excludePackages = [ pkgs.xterm ];
}; };