Compare commits

..

No commits in common. "daa5b7fa5b036ff492a96ec6c69d0ce52b6b6701" and "b1201b90cb35ce67d614500c0b6ff8b3621ce5d7" have entirely different histories.

12 changed files with 352 additions and 380 deletions

View file

@ -1073,11 +1073,11 @@
"wallpapers": { "wallpapers": {
"flake": false, "flake": false,
"locked": { "locked": {
"lastModified": 1724670714, "lastModified": 1724660030,
"narHash": "sha256-AmHrw0m2rpzXxieWEBRK0utg83i4B1XpUboo7gZJ84I=", "narHash": "sha256-l0Z4e7oeYJsvXIaRrlygxyVC7bQcJ5bd5dgH11TvKFg=",
"ref": "refs/heads/main", "ref": "refs/heads/main",
"rev": "89d778e59408fb0bcae728d4f3e272a4ab0cee6c", "rev": "abfd5f3522fcac0ace21075b498c9e053165c53f",
"revCount": 6, "revCount": 5,
"type": "git", "type": "git",
"url": "https://code.youwen.dev/youwen5/wallpapers" "url": "https://code.youwen.dev/youwen5/wallpapers"
}, },

View file

@ -85,6 +85,7 @@
system = "x86_64-linux"; system = "x86_64-linux";
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
system = "x86_64-linux";
}; };
modules = [ modules = [
./hosts/demeter ./hosts/demeter
@ -94,6 +95,7 @@
callisto = nixpkgs.lib.nixosSystem { callisto = nixpkgs.lib.nixosSystem {
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
system = "aarch64-linux";
}; };
modules = [ modules = [
./hosts/callisto ./hosts/callisto
@ -102,6 +104,7 @@
adrastea = nixpkgs.lib.nixosSystem { adrastea = nixpkgs.lib.nixosSystem {
specialArgs = { specialArgs = {
inherit inputs; inherit inputs;
system = "x86_64-linux";
}; };
modules = [ modules = [
./hosts/adrastea ./hosts/adrastea

View file

@ -43,7 +43,6 @@
inputs.vesktop-bin.overlays.default inputs.vesktop-bin.overlays.default
(final: prev: { (final: prev: {
librewolf = stablepkgs.librewolf;
hyprland = prev.hyprland.overrideAttrs (oldAttrs: { hyprland = prev.hyprland.overrideAttrs (oldAttrs: {
src = oldAttrs.src; src = oldAttrs.src;
patches = patches =

View file

@ -1,8 +1,8 @@
{ {
inputs, inputs,
pkgs, system,
... ...
}: { }: {
wayland.windowManager.hyprland.settings.monitor = ["DP-1,2560x1440@165,1920x0,auto" "HDMI-A-1,1920x1080@60,0x0,1"]; wayland.windowManager.hyprland.settings.monitor = ["DP-1,2560x1440@165,1920x0,auto" "HDMI-A-1,1920x1080@60,0x0,1"];
wayland.windowManager.hyprland.package = inputs.stablepkgs.legacyPackages.${pkgs.system}.hyprland; wayland.windowManager.hyprland.package = inputs.stablepkgs.legacyPackages.${system}.hyprland;
} }

View file

@ -1,10 +1,10 @@
{ {
inputs, inputs,
pkgs, system,
... ...
}: { }: {
environment.systemPackages = [ environment.systemPackages = [
inputs.personal-neovim.packages.${pkgs.system}.default inputs.personal-neovim.packages.${system}.default
]; ];
security.sudo.enable = false; security.sudo.enable = false;

View file

@ -234,8 +234,8 @@
"windowsIn, 1, 6, winIn, slide" "windowsIn, 1, 6, winIn, slide"
"windowsOut, 1, 5, winOut, slide" "windowsOut, 1, 5, winOut, slide"
"windowsMove, 1, 5, wind, slide" "windowsMove, 1, 5, wind, slide"
# "border, 1, 1, liner" "border, 1, 1, liner"
# "borderangle, 1, 30, liner, loop" "borderangle, 1, 30, liner, loop"
"fade, 1, 10, default" "fade, 1, 10, default"
"workspaces, 1, 5, wind" "workspaces, 1, 5, wind"
]; ];

View file

@ -1,141 +1,91 @@
{ {
# home.file.".config/waybar/config".source = ./config.jsonc;
programs.waybar = { programs.waybar = {
enable = true; enable = true;
style = ./style.css;
systemd.enable = true;
settings = { settings = {
mainBar = { mainBar = {
name = "bar0";
layer = "top"; layer = "top";
position = "top"; position = "top";
height = 24;
height = 28; width = 1600;
# "width" = 1920; reload-style-on-change = true;
margin = "10px 0px 0px 0px";
"margin" = "5px 10px 0px 10px"; modules-left = ["hyprland/window" "hyprland/workspaces"];
"spacing" = 10; modules-right = ["backlight" "group/adjustable" "custom/weather"];
modules-center = ["network" "group/hardware" "clock"];
"mode" = "top"; "hyprland/workspaces" = {
# "exclusive" = true; active-only = false;
all-outputs = false;
# "output" = "eDP-1";
reload_style_on_change = true;
modules-left = ["hyprland/workspaces"];
modules-center = ["hyprland/window"];
modules-right = [
"tray"
"idle_inhibitor"
"backlight"
"wireplumber"
"network"
"battery"
"disk"
"memory"
"cpu"
"temperature"
"clock"
];
idle_inhibitor = {
format = "{icon}"; format = "{icon}";
format-icons = { persistent-workspaces = {
activated = "󰛊 "; eDP-1 = [1];
deactivated = "󰾫 "; DP-1 = [2 3 4 5];
}; };
}; };
"group/hardware" = {
network = { orientation = "inherit";
format = "{ifname}"; modules = ["cpu" "memory" "battery"];
format-wifi = "{icon}{essid}";
format-ethernet = " {essid}";
format-disconnected = "󰤯 Disconnected";
format-icons = [
"󰤟 "
"󰤢 "
"󰤨 "
];
tooltip-format = " {bandwidthUpBits} | {bandwidthDownBits}";
tooltip-format-wifi = " {bandwidthUpBits} | {bandwidthDownBits} | 󱄙 {signalStrength}";
}; };
"group/adjustable" = {
backlight = { orientation = "inherit";
interval = 2; drawer = {
format = "󰖨 {percent}%"; transition-duration = 500;
on-scroll-up = "brightnessctl set +4"; transition-left-to-right = true;
on-scroll-down = "brightnessctl set 4-"; };
modules = ["pulseaudio" "mpris"];
}; };
"custom/weather" = {
wireplumber = { orientation = "horizontal";
format = "{icon} {volume}%"; exec = ''curl wttr.in/?format="%l:%20%t"'';
format-muted = "󰝟 ";
on-click = "pamixer -t";
on-scroll-up = "pamixer set 5%+";
on-scroll-down = "pamixer set 5%-";
format-icons = ["" "" "" "" ""];
};
battery = {
interval = 10; interval = 10;
format = "{icon}{capacity}%";
format-icons = ["󰂎" "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹"];
tooltip = true;
tooltip-format = "{timeTo}";
}; };
disk = {
intervel = 30;
format = "󰋊 {percentage_used}%";
tooltip-format = "{used} used out of {total} on \"{path}\" ({percentage_used}%)";
};
memory = {
interval = 10;
format = " {used}";
tooltip-format = "{used}GiB used of {total}GiB ({percentage}%)";
};
cpu = { cpu = {
interval = 10; interval = 10;
format = " {usage}%"; format = "{usage}% ";
}; };
memory = {
temperature = {
interval = 10; interval = 10;
format = "{percentage}% ";
}; };
# mpris = {
clock = { # format-playing = "  {title} ";
interval = 1; # format-paused = " 󰏤 {title} ";
format = "{:%H:%M:%S}"; # format-stopped = "Nothing Playing";
# };
tray = {spacing = 10;};
clock = {format = "{:%a %b %d, %I:%M %p} ";};
backlight = {
device = "intel_backlight";
format = "{percent}% {icon}";
format-icons = ["󰃞" "󰃠"];
}; };
battery = {
"hyprland/workspaces" = { states = {
show-special = true; good = 95;
persistent-workspaces = { warning = 20;
"*" = [1 2 3 4 5 6 7 8 9 10]; critical = 10;
};
format = "{icon}";
format-icons = {
active = "";
empty = "";
default = "";
urgent = "";
special = "󰠱";
}; };
format = "{capacity}% {icon}";
format-icons = ["󰁻" "󰁽" "󰁿" "󰂀" "󰁹"];
}; };
"hyprland/window" = { "hyprland/window" = {format = "{class}";};
icon = true; network = {
icon-size = 20; format-wifi = "{essid} ";
max-length = 50; format-linked = "{ifname} (No IP) ";
rewrite = { format-disconnected = "Disconnected ";
"(.*) LibreWolf" = "$1"; format-alt = "{ifname}: {ipaddr}/{cidr}";
"^$" = "👾"; };
}; pulseaudio = {
format = "{volume}% {icon} {format_source}";
format-bluetooth = "{volume}% {icon} {format_source}";
format-bluetooth-muted = " {icon} {format_source}";
format-muted = " {format_source}";
format-source = "{volume}% ";
format-source-muted = "";
format-icons = {default = ["" "" ""];};
}; };
}; };
}; };
style = ./waybar.css;
systemd.enable = true;
}; };
} }

View file

@ -1,71 +0,0 @@
window#waybar {
font-family: "CaskaydiaCove Nerd Font";
background-color: rgba(0,0,0,0);
font-size: 0.8rem;
border-radius: 0.5rem;
}
.modules-left, .modules-center {
opacity: 1;
background: linear-gradient(45deg, rgb(214, 39, 200), rgb(5, 83, 252));
border-radius: 0.5rem;
padding: 2px;
}
.modules-right {
opacity: 1;
background-color: rgba(0,0,0,0.5);
border-radius: 0.5rem;
padding: 2px 2px 2px 10px
}
/* label.module {
margin-left: -1px;
} */
#workspaces {
background-color: rgba(0,0,0,0.5);
border-radius: 0.5rem;
padding: 0 2px;
}
#workspaces button {
font-size: 0.6rem;
padding: 0 0.3rem 0 0;
}
#window {
background-color: rgba(0,0,0,0.5);
border-radius: 0.5rem;
padding: 2px 5px;
}
#clock {
font-weight: bolder;
border-radius: 0.5rem;
padding: 0 3px 0 0;
}
#battery {
color: lightgreen;
}
#memory {
color: lightpink;
}
#disk {
color: lightskyblue;
}
#cpu {
color: lightgoldenrodyellow;
}
#temperature {
color: lightslategray;
}
#network {
color: lightsteelblue;
}

View file

@ -0,0 +1,102 @@
* {
font-size: 10px;
font-family: CaskaydiaCove Nerd Font;
}
window#waybar {
border-bottom: 0px solid #ffffff;
background: transparent;
transition-property: none;
transition-duration: 0s;
}
#workspaces {
background: #24273a;
padding: 0px 2px 0px 2px;
margin: 0px 0px 0px 5px;
border-radius: 5px;
}
#workspaces {
background: #24273a;
padding: 0px 5px 0px 5px;
margin: 0px 0px 0px 5px;
border-radius: 5px;
}
#workspaces button,
#workspaces button:hover {
padding: 0;
background-color: #24273a;
/* color: @color4; */
}
#workspaces button.active,
#workspaces button:hover {
/* color: @color8; */
}
#clock,
#pulseaudio,
#network,
#battery,
#tray,
#mpris,
#cpu,
#memory,
#temperature,
#custom-weather,
#window,
#backlight {
background-color: #24273a;
/* color: @color4; */
opacity: 1;
border-radius: 5px;
padding: 1px 10px 1px 10px;
margin: 0px 5px 0px 0px;
}
#backlight {
margin-right: 0px;
padding-right: 3px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
#mpris {
padding-left: 0px;
margin-left: 0px;
margin-right: 5px;
padding-right: 0px;
}
#pulseaudio {
padding-left: 5px;
padding-right: 5px;
margin-left: 0px;
margin-right: 5px;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
#memory,
#cpu {
padding-right: 2px;
/* border-top-right-radius: 0px; */
/* border-bottom-right-radius: 0px; */
/* border-right-width: 0px; */
}
#memory,
#battery {
margin-left: 0px;
padding-left: 2px;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
border-left-width: 0px;
}
#battery {
padding-right: 13px;
}
#custom-weather {
margin-right: 0px;
}
#window {
margin-right: 0px;
margin-left: 0px;
}

View file

@ -1,140 +1,91 @@
{ {
# home.file.".config/waybar/config".source = ./config.jsonc;
programs.waybar = { programs.waybar = {
enable = true; enable = true;
style = ./style.css;
systemd.enable = true;
settings = { settings = {
mainBar = { mainBar = {
name = "bar0";
layer = "top"; layer = "top";
position = "top"; position = "top";
height = 24;
height = 28; # width = 1000;
# "width" = 1920; reload-style-on-change = true;
margin = "5px 0px 0px 0px";
"margin" = "5px 10px 0px 10px"; modules-left = ["hyprland/window" "hyprland/workspaces" "network" "clock"];
"spacing" = 10; modules-right = ["group/hardware" "backlight" "group/adjustable" "custom/weather"];
# modules-center = [ "network" "group/hardware" "clock" ];
"mode" = "top"; "hyprland/workspaces" = {
# "exclusive" = true; active-only = false;
all-outputs = false;
# "output" = "eDP-1";
reload_style_on_change = true;
modules-left = ["hyprland/workspaces" "hyprland/window"];
modules-right = [
"tray"
"idle_inhibitor"
"backlight"
"wireplumber"
"network"
"battery"
"disk"
"memory"
"cpu"
"temperature"
"clock"
];
idle_inhibitor = {
format = "{icon}"; format = "{icon}";
format-icons = { persistent-workspaces = {
activated = "󰛊 "; eDP-1 = [1];
deactivated = "󰾫 "; DP-1 = [2 3 4 5];
}; };
}; };
"group/hardware" = {
network = { orientation = "inherit";
format = "{ifname}"; modules = ["cpu" "battery"];
format-wifi = "{icon}{essid}";
format-ethernet = " {essid}";
format-disconnected = "󰤯 Disconnected";
format-icons = [
"󰤟 "
"󰤢 "
"󰤨 "
];
tooltip-format = " {bandwidthUpBits} | {bandwidthDownBits}";
tooltip-format-wifi = " {bandwidthUpBits} | {bandwidthDownBits} | 󱄙 {signalStrength}";
}; };
"group/adjustable" = {
backlight = { orientation = "inherit";
interval = 2; drawer = {
format = "󰖨 {percent}%"; transition-duration = 500;
on-scroll-up = "brightnessctl set +4"; transition-left-to-right = true;
on-scroll-down = "brightnessctl set 4-"; };
modules = ["pulseaudio" "mpris"];
}; };
"custom/weather" = {
wireplumber = { orientation = "horizontal";
format = "{icon} {volume}%"; exec = ''curl wttr.in/?format="%l:%20%t"'';
format-muted = "󰝟 ";
on-click = "pamixer -t";
on-scroll-up = "pamixer set 5%+";
on-scroll-down = "pamixer set 5%-";
format-icons = ["" "" "" "" ""];
};
battery = {
interval = 10; interval = 10;
format = "{icon} {capacity}%";
format-icons = ["󰂎" "󰁺" "󰁻" "󰁼" "󰁽" "󰁾" "󰁿" "󰂀" "󰂁" "󰂂" "󰁹"];
tooltip = true;
tooltip-format = "{timeTo}";
}; };
disk = {
intervel = 30;
format = "󰋊 {percentage_used}%";
tooltip-format = "{used} used out of {total} on \"{path}\" ({percentage_used}%)";
};
memory = {
interval = 10;
format = " {used}";
tooltip-format = "{used}GiB used of {total}GiB ({percentage}%)";
};
cpu = { cpu = {
interval = 10; interval = 10;
format = " {usage}%"; format = "{usage}% ";
}; };
memory = {
temperature = {
interval = 10; interval = 10;
format = "{percentage}% ";
}; };
# mpris = {
clock = { # format-playing = "  {title} ";
interval = 1; # format-paused = " 󰏤 {title} ";
format = "{:%H:%M:%S}"; # format-stopped = "Nothing Playing";
# };
tray = {spacing = 10;};
clock = {format = "{:%a %b %d, %I:%M %p} ";};
backlight = {
device = "intel_backlight";
format = "{percent}% {icon}";
format-icons = ["󰃞" "󰃠"];
}; };
battery = {
"hyprland/workspaces" = { states = {
show-special = true; good = 95;
persistent-workspaces = { warning = 20;
"*" = [1 2 3 4 5 6 7 8 9 10]; critical = 10;
};
format = "{icon}";
format-icons = {
active = "";
empty = "";
default = "";
urgent = "";
special = "󰠱";
}; };
format = "{capacity}% {icon}";
format-icons = ["󰁻" "󰁽" "󰁿" "󰂀" "󰁹"];
}; };
"hyprland/window" = { "hyprland/window" = {format = "{class}";};
icon = true; network = {
icon-size = 20; format-wifi = "{essid} ";
max-length = 50; format-linked = "{ifname} (No IP) ";
rewrite = { format-disconnected = "Disconnected ";
"(.*) LibreWolf" = "$1"; format-alt = "{ifname}: {ipaddr}/{cidr}";
"^$" = "👾"; };
}; pulseaudio = {
format = "{volume}% {icon} {format_source}";
format-bluetooth = "{volume}% {icon} {format_source}";
format-bluetooth-muted = " {icon} {format_source}";
format-muted = " {format_source}";
format-source = "{volume}% ";
format-source-muted = "";
format-icons = {default = ["" "" ""];};
}; };
}; };
}; };
style = ./waybar.css;
systemd.enable = true;
}; };
} }

View file

@ -1,71 +0,0 @@
window#waybar {
font-family: "CaskaydiaCove Nerd Font";
background-color: rgba(0,0,0,0);
font-size: 0.8rem;
border-radius: 0.5rem;
}
.modules-left, .modules-center {
opacity: 1;
background: linear-gradient(45deg, rgb(214, 39, 200), rgb(5, 83, 252));
border-radius: 0.5rem;
padding: 2px;
}
.modules-right {
opacity: 1;
background-color: rgba(0,0,0,0.5);
border-radius: 0.5rem;
padding: 2px 2px 2px 10px
}
/* label.module {
margin-left: -1px;
} */
#workspaces {
background-color: rgba(0,0,0,0.5);
border-radius: 0.5rem;
padding: 0 2px;
}
#workspaces button {
font-size: 0.6rem;
padding: 0 0.3rem 0 0;
}
#window {
background-color: rgba(0,0,0,0.5);
border-radius: 0.5rem;
padding: 2px 5px;
}
#clock {
font-weight: bolder;
border-radius: 0.5rem;
padding: 0 3px 0 0;
}
#battery {
color: lightgreen;
}
#memory {
color: lightpink;
}
#disk {
color: lightskyblue;
}
#cpu {
color: lightgoldenrodyellow;
}
#temperature {
color: lightslategray;
}
#network {
color: lightsteelblue;
}

View file

@ -0,0 +1,109 @@
* {
font-size: 12px;
font-family: CaskaydiaCove Nerd Font;
}
window#waybar {
border-bottom: 0px solid #ffffff;
background: transparent;
transition-property: none;
transition-duration: 0s;
}
#workspaces {
background: #24273a;
padding: 0px 5px 0px 5px;
margin: 0px 0px 0px 2px;
border-radius: 5px;
}
#workspaces {
background: #24273a;
padding: 0px 5px 0px 5px;
margin: 0px 0px 0px 2px;
border-radius: 5px;
}
#workspaces button,
#workspaces button:hover {
padding: 0;
background-color: #24273a;
/* color: @color4; */
}
#workspaces button.active,
#workspaces button:hover {
/* color: @color8; */
}
#clock,
#pulseaudio,
#network,
#battery,
#tray,
#mpris,
#cpu,
#memory,
#temperature,
#custom-weather,
#window,
#backlight {
background-color: #24273a;
/* color: @color4; */
opacity: 1;
border-radius: 5px;
padding: 1px 10px 1px 10px;
margin: 0px 5px 0px 0px;
}
#backlight {
margin-right: 0px;
padding-right: 3px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
}
#network {
margin-left: 15px;
padding-right: 15px;
}
#mpris {
padding-left: 0px;
margin-left: 0px;
margin-right: 5px;
padding-right: 0px;
}
#pulseaudio {
padding-left: 5px;
padding-right: 5px;
margin-left: 0px;
margin-right: 5px;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
}
#memory,
#cpu {
padding-right: 2px;
border-top-right-radius: 0px;
border-bottom-right-radius: 0px;
border-right-width: 0px;
}
#memory,
#battery {
margin-left: 0px;
padding-left: 2px;
border-top-left-radius: 0px;
border-bottom-left-radius: 0px;
border-left-width: 0px;
}
#cpu {
margin-right: 0px;
}
#battery {
padding-right: 13px;
}
#custom-weather {
margin-right: 10px;
}
#window {
margin-right: 10px;
margin-left: 10px;
}