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;
overwrite.enable = true;
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 = {
"bar.layouts" = {
"0" = {
left = ["dashboard" "workspaces" "cava"];
left = ["dashboard" "workspaces" "cava" "hyprsunset"];
middle = ["media"];
right = ["cpu" "ram" "volume" "clock" "systray" "notifications"];
right = ["cpu" "ram" "volume" "clock" "weather" "systray" "notifications"];
};
"1" = {
left = [];

View file

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