This commit is contained in:
unexplrd
2025-03-09 14:21:08 +02:00
parent 3e3922be09
commit fca6f291ec
10 changed files with 342 additions and 252 deletions

View File

@ -516,7 +516,7 @@ in {
gtk = {
enable = true;
iconTheme = {
name = "Papirus-Light";
name = "Papirus-Dark";
package = pkgs.papirus-icon-theme;
};
};
@ -547,24 +547,19 @@ in {
# margin-bottom = 8;
reload_style_on_change = true;
modules-left = [
#"custom/notification"
"hyprland/language"
"custom/separator"
"hyprland/workspaces"
"custom/separator"
"wlr/taskbar"
];
# modules-center = [];
modules-right = [
"wireplumber"
(lib.mkIf (hostname != "dunamis") "group/laptop")
"custom/separator"
"tray"
"privacy"
"power-profiles-daemon"
"idle_inhibitor"
"custom/notification"
"custom/separator"
"clock"
];
"hyprland/workspaces" = {
@ -597,7 +592,7 @@ in {
format-uk = "🇺🇦";
};
"custom/separator" = {
format = "󰇙";
format = "󰝠";
interval = "once";
tooltip = false;
};
@ -728,16 +723,13 @@ in {
font-family: ${config.stylix.fonts.sansSerif.name}, FontAwesome;
font-weight: 500;
font-size: 100%;
/* margin: 0px 2px 2px 2px; */
}
window#waybar {
background-color: transparent;
color: @base05;
transition-property: background-color;
transition-duration: 0.5s;
}
.modules-left,
.modules-right {
border-top-left-radius: 12px;
@ -759,84 +751,36 @@ in {
box-shadow: inset 0 -3px transparent;
border-radius: 16px;
}
button:hover {
background: inherit;
box-shadow: inset 0 -3px transparent;
}
#mode {
background-color: rgba(0, 0, 0, 0.2);
box-shadow: inset 0 -3px @base05;
}
#clock,
#battery,
#backlight,
#workspaces,
#network,
#wireplumber,
#laptop,
#tray,
#mode,
#privacy
#privacy-item,
#idle_inhibitor,
#backlight-slider,
#custom-notification,
#scratchpad,
#power-profiles-daemon,
#taskbar,
#language,
#upower,
#mpris,
#mpd {
padding: 0;
color: @base05;
background-color: transparent;
}
/* #upower,
#battery,
#backlight,
#custom-kbd-backlight,
#backlight-slider,
#cpu,
#memory,
#disk,
#network,
#wireplumber,
#power-profiles-daemon {
padding-right: 0.1em;
} */
#clock,
#battery,
#backlight,
#wireplumber,
#custom-separator {
padding: 0 0.3em;
}
#workspaces {
font-weight: bold;
}
#tray,
#tray button,
#privacy,
#idle_inhibitor {
padding: 0 0.2em;
}
#tray button,
#idle_inhibitor,
#workspaces button {
padding: 0 0.2em;
padding: 0 0.2em;
}
#taskbar button {
padding: 0 0.1em;
}
#taskbar {
padding: 0;
}
#workspaces button.active {
color: @base0D;
}
@ -847,7 +791,6 @@ in {
window#empty {
background-color: transparent;
}
#battery.critical:not(.charging) {
background-color: @base09;
color: @base00;
@ -857,50 +800,36 @@ in {
animation-iteration-count: infinite;
animation-direction: alternate;
}
#power-profiles-daemon.performance {
background-color: @base00;
color: @base0D;
}
#power-profiles-daemon.balanced {
background-color: @base00;
color: @base0B;
}
#power-profiles-daemon.power-saver {
background-color: @base00;
color: @base0A;
}
label:focus {
background-color: #000000;
}
#tray > .passive {
-gtk-icon-effect: dim;
}
#tray > .needs-attention {
-gtk-icon-effect: highlight;
background-color: @base08;
}
#laptop,
#privacy {
padding: 0em;
}
#privacy-item.screenshare {
background-color: @base00;
color: @base0C;
}
#privacy-item.audio-in {
background-color: @base00;
color: @base0E;
}
#privacy-item.audio-out {
background-color: @base;
}
@ -1216,6 +1145,17 @@ in {
];
};
};
services.gammastep = {
enable = true;
provider = "manual";
latitude = 49.6;
longitude = 36.1;
tray = true;
temperature = {
day = 6500;
night = 3000;
};
};
services.wlsunset = {
enable = false;
latitude = "49.6";
@ -1234,7 +1174,6 @@ in {
};
home.packages = with pkgs; [
brightnessctl
hyprsunset
nautilus
helvum
loupe
@ -1329,11 +1268,17 @@ in {
};
};
hyprsunset = mkGraphicalService {
Unit =
graphicalService.Unit
// {
ConditionEnvironment = "WAYLAND_DISPLAY";
};
Service =
graphicalService.Service
// {
Type = "simple";
ExecStart = "${lib.getExe pkgs.hyprsunset} -t 6500";
Slice = "session.slice";
ExecStart = "${lib.getExe perSystem.hyprsunset.hyprsunset} -t 6500";
};
};
};