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
+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";