added hyprpanel

This commit is contained in:
biscuit
2025-05-14 06:05:40 -05:00
parent 697be1193f
commit 2ec8cd6aaa
4 changed files with 163 additions and 22 deletions
+2
View File
@@ -5,6 +5,7 @@
# See https://wiki.hyprland.org/Configuring/Keywords/
$mainMod = SUPER # Sets "Windows" key as main modifier
$terminal = kitty
$browser = firefox
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Return, exec, $terminal
@@ -15,6 +16,7 @@ bind = $mainMod, V, togglefloating,
bind = $mainMod, R, exec, $menu
bind = $mainMod, P, pseudo, # dwindle
bind = $mainMod, B, togglesplit, # dwindle
bind = $mainMod, W, exec, $browser
# Move focus with mainMod + arrow keys
bind = $mainMod, H, movefocus, l
+78
View File
@@ -0,0 +1,78 @@
{ inputs, ... }: {
imports = [ inputs.hyprpanel.homeManagerModules.hyprpanel ];
programs.hyprpanel = {
# Enable the module.
# Default: false
enable = true;
# Automatically restart HyprPanel with systemd.
# Useful when updating your config so that you
# don't need to manually restart it.
# Default: false
systemd.enable = true;
# Add '/nix/store/.../hyprpanel' to your
# Hyprland config 'exec-once'.
# Default: false
hyprland.enable = true;
# Fix the overwrite issue with HyprPanel.
# See below for more information.
# Default: false
overwrite.enable = true;
# Import a theme from './themes/*.json'.
# Default: ""
theme = "gruvbox_split";
# Override the final config with an arbitrary set.
# Useful for overriding colors in your selected theme.
# Default: {}
override = {
theme.bar.menus.text = "#123ABC";
};
# Configure bar layouts for monitors.
# See 'https://hyprpanel.com/configuration/panel.html'.
# Default: null
layout = {
"bar.layouts" = {
"0" = {
left = [ "dashboard" "workspaces" ];
middle = [ "media" ];
right = [ "volume" "systray" "notifications" ];
};
};
};
# Configure and theme almost all options from the GUI.
# Options that require '{}' or '[]' are not yet implemented,
# except for the layout above.
# See 'https://hyprpanel.com/configuration/settings.html'.
# Default: <same as gui>
settings = {
bar.launcher.autoDetectIcon = true;
bar.workspaces.show_icons = true;
menus.clock = {
time = {
military = true;
hideSeconds = true;
};
weather.unit = "metric";
};
menus.dashboard.directories.enabled = false;
menus.dashboard.stats.enable_gpu = true;
theme.bar.transparent = true;
theme.font = {
name = "CaskaydiaCove NF";
size = "16px";
};
};
};
}