hyprpanel: update bar

This commit is contained in:
notohh 2025-02-09 02:18:25 -05:00
parent 9cf3ccfa04
commit 2835c14347
Signed by: notohh
GPG key ID: BD47506D475EE86D
2 changed files with 36 additions and 6 deletions
home/programs/hyprpanel

View file

@ -11,12 +11,22 @@
hyprland.enable = false; hyprland.enable = false;
overwrite.enable = true; overwrite.enable = true;
theme = "catppuccin_mocha"; theme = "catppuccin_mocha";
override = {
"theme.bar.buttons.workspaces.hover" = "#7f849c";
"theme.bar.buttons.workspaces.active" = "#f5c2e7";
"theme.bar.buttons.workspaces.occupied" = "#f5c2e7";
"theme.bar.buttons.workspaces.available" = "#585b70";
"theme.bar.buttons.workspaces.border" = "#f9e2af";
"theme.bar.buttons.dashboard.icon" = "#74c7ec";
"theme.bar.buttons.media.icon" = "#1ED760";
"bar.customModules.cava.showIcon" = false;
};
layout = { layout = {
"bar.layouts" = { "bar.layouts" = {
"0" = { "0" = {
left = ["dashboard" "workspaces" "cava"]; left = ["dashboard" "workspaces" "cava" "hyprsunset"];
middle = ["media"]; middle = ["media"];
right = ["cpu" "ram" "volume" "clock" "systray" "notifications"]; right = ["cpu" "ram" "volume" "clock" "weather" "systray" "notifications"];
}; };
"1" = { "1" = {
left = []; left = [];

View file

@ -1,12 +1,31 @@
_: { {
pkgs,
inputs,
...
}: {
programs.hyprpanel.settings = { programs.hyprpanel.settings = {
bar = { bar = {
autoHide = "fullscreen";
launcher.autoDetectIcon = true; launcher.autoDetectIcon = true;
clock = { clock = {
format = "%a %b %d %H:%M"; format = "%m/%d/%y %H:%M";
};
media = {
truncation = true;
truncation_size = 40;
}; };
workspaces = { workspaces = {
workspaces = 4;
show_icons = true; show_icons = true;
showWsIcons = false;
showApplicationIcons = false;
monitorSpecific = false;
};
customModules = {
hyprsunset = {
temperature = "3000k";
};
weather.unit = "metric";
}; };
}; };
notifications = { notifications = {
@ -17,10 +36,10 @@ _: {
clock = { clock = {
time = { time = {
military = true; military = true;
hideSeconds = true; hideSeconds = false;
}; };
weather = { weather = {
enabled = true; enabled = false;
key = "13b77bbcf0dc420782005246250902"; key = "13b77bbcf0dc420782005246250902";
unit = "metric"; unit = "metric";
location = "New York"; location = "New York";
@ -34,6 +53,7 @@ _: {
directories.enabled = false; directories.enabled = false;
shortcuts.enabled = false; shortcuts.enabled = false;
powermenu = { powermenu = {
sleep = "${inputs.hyprland.packages.${pkgs.system}.hyprland}/bin/hyprctl dispatch dpms off";
avatar = { avatar = {
image = "/home/notoh/dev/assets/pfps/pfp2.jpg"; image = "/home/notoh/dev/assets/pfps/pfp2.jpg";
name = "notohh"; name = "notohh";