hyprpanel

This commit is contained in:
Miguel Palhas
2025-02-04 11:40:06 +00:00
parent c1419de69c
commit db327aa6d7
5 changed files with 77 additions and 46 deletions
Generated
+3 -3
View File
@@ -480,11 +480,11 @@
]
},
"locked": {
"lastModified": 1737793455,
"narHash": "sha256-sVy0QU4fpZsUWj5B8t6jUNZHzVLC22+HYqcFG9pKPik=",
"lastModified": 1738658103,
"narHash": "sha256-7yoK8ueD9wzWQF/wuPDIGZHVWz9sa3YBAiSpDvMH2Ac=",
"owner": "Jas-SinghFSU",
"repo": "HyprPanel",
"rev": "74065af3d2aa576e8b183d720033c3eece3deb70",
"rev": "537a9653edb377230ff3c9e8308e7648cb38225f",
"type": "github"
},
"original": {
+44 -8
View File
@@ -22,20 +22,29 @@
];
home.sessionVariables = {
# LIBVA_DRIVER_NAME = "nvidia";
XDG_SESSION_TYPE = "wayland";
# GDM_BACKEND = "nvidia-drm";
# __GLX_VENDOR_LIBRARY_NAME = "nvidia";
};
wayland.windowManager.hyprland.settings = {
monitor = [
"eDP-1, 1920x1200, 0x0, 1"
"DP-1, preferred, -320x-1200, 1"
];
workspace = [
"1, monitor:DP-1"
"2, monitor:eDP-1"
"3, monitor:eDP-1"
"4, monitor:eDP-1"
];
windowrulev2 = [
# ethui-dev
"workspace 2 silent, class:ethui"
"float, class:ethui"
"size 800 800, class:ethui"
"move 100%-800 100%-800, class:ethui"
"noinitialfocus, class:ethui"
# "workspace 2 silent, class:ethui"
# "float, class:ethui"
# "size 800 800, class:ethui"
# "move 100%-800 100%-800, class:ethui"
# "noinitialfocus, class:ethui"
];
env = [
@@ -43,6 +52,33 @@
];
};
programs.hyprpanel.layout = {
"bar.layouts" = {
"0" = {
"left" = [
"dashboard"
"workspaces"
"windowtitle"
];
"middle" = [ "media" ];
"right" = [
"volume"
"network"
"power"
"bluetooth"
"systray"
"clock"
"notifications"
];
};
"*" = {
"left" = [ ];
"middle" = [ ];
"right" = [ ];
};
};
};
home = {
username = lib.mkDefault "naps62";
stateVersion = lib.mkDefault "24.05";
+1 -1
View File
@@ -76,7 +76,7 @@ in
"exec-once" = [
"dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP"
# "hyprpanel"
"hyprpanel"
"nm-applet"
"hyprsunset"
];
+3 -34
View File
@@ -1,50 +1,19 @@
{
inputs,
pkgs,
...
}:
{
imports = [ inputs.hyprpanel.homeManagerModules.hyprpanel ];
home.packages = with pkgs; [ upower ];
programs.hyprpanel = {
enable = true;
overlay.enable = true;
systemd.enable = true;
overwrite.enable = true;
layout = {
bar = {
layouts = {
"1" = {
"left" = [
"dashboard"
"workspaces"
"windowtitle"
];
"middle" = [ "media" ];
"right" = [
"volume"
"network"
"bluetooth"
"systray"
"clock"
"notifications"
];
};
"0" = {
"left" = [ ];
"middle" = [ ];
"right" = [ ];
};
"2" = {
"left" = [ ];
"middle" = [ ];
"right" = [ ];
};
};
};
};
settings = {
theme.bar.transparent = true;
theme.font = {
+26
View File
@@ -45,6 +45,32 @@
];
};
programs.hyprpanel.layout = {
"bar.layouts" = {
"1" = {
"left" = [
"dashboard"
"workspaces"
"windowtitle"
];
"middle" = [ "media" ];
"right" = [
"volume"
"network"
"bluetooth"
"systray"
"clock"
"notifications"
];
};
"*" = {
"left" = [ ];
"middle" = [ ];
"right" = [ ];
};
};
};
programs.kitty.settings.font_size = 12;
home = {