3 Commits

Author SHA1 Message Date
kenji 97d50851f6 feat(hyprbars): add double click to expand with fullscreen 1 2026-01-11 14:53:23 -06:00
kenji 870c8d2df3 fix(waybar): btop now works 2026-01-11 14:52:49 -06:00
kenji 80e38516a6 refactor(cursor): migrate hyprcursor for modularity 2026-01-11 14:52:49 -06:00
4 changed files with 21 additions and 7 deletions
-2
View File
@@ -4,8 +4,6 @@
]; ];
wayland.windowManager.hyprland.settings = { wayland.windowManager.hyprland.settings = {
env = [ env = [
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
"HYPRCURSOR_SIZE,24"
"GUM_CONFIRM_PROMPT_FOREGROUND,6" "GUM_CONFIRM_PROMPT_FOREGROUND,6"
"GUM_CONFIRM_SELECTED_FOREGROUND,0" "GUM_CONFIRM_SELECTED_FOREGROUND,0"
"GUM_CONFIRM_SELECTED_BACKGROUND,2" "GUM_CONFIRM_SELECTED_BACKGROUND,2"
+1
View File
@@ -47,6 +47,7 @@
bar_button_padding = 4; bar_button_padding = 4;
bar_padding = 8; bar_padding = 8;
bar_precedence_over_border = true; bar_precedence_over_border = true;
on_double_click = "hyprctl dispatch fullscreen 1";
hyprbars-button = [ hyprbars-button = [
"$error, 10, , hyprctl dispatch killactive" "$error, 10, , hyprctl dispatch killactive"
"$tertiary, 10, , hyprctl dispatch fullscreen 1" "$tertiary, 10, , hyprctl dispatch fullscreen 1"
+13 -3
View File
@@ -33,7 +33,7 @@
replace() { replace() {
${pkgs.hyprland}/bin/hyprctl dispatch closewindow "class:''${active_popup}" ${pkgs.hyprland}/bin/hyprctl dispatch closewindow "class:''${active_popup}"
sleep 1 sleep 0.3
launch launch
} }
@@ -61,6 +61,8 @@ in {
windowrulev2 = [ windowrulev2 = [
# --- POPUP RULES (Wifi, BT, Audio) --- # --- POPUP RULES (Wifi, BT, Audio) ---
"float, class:^(org\.hakase\.popup\..*)$" "float, class:^(org\.hakase\.popup\..*)$"
"size 900 600, class:^(org\.hakase\.popup\..*)$"
"center, class:^(org\.hakase\.popup\..*)$"
"animation slide right, class:^(org\.hakase\.popup\..*)$" "animation slide right, class:^(org\.hakase\.popup\..*)$"
"dimaround, class:^(org\.hakase\.popup\..*)$" "dimaround, class:^(org\.hakase\.popup\..*)$"
]; ];
@@ -134,12 +136,20 @@ in {
show-special = true; show-special = true;
special-visible-only = true; special-visible-only = true;
all-outputs = true; all-outputs = true;
ignore-workspaces = ["1" "2" "3" "4" "5" "6" "7" "8" "9" "10"]; ignore-workspaces = ["^[0-9]+$"];
format = "{icon}"; format = "{icon}";
format-icons = { format-icons = {
"special:youtube" = "󰗃"; "special:youtube" = "󰗃";
"special:music" = "󰎆"; "special:music" = "󰎆";
"special:steam" = "󰓓"; "special:steam" = "󰓓";
"special:custom" = "󱗼";
"special:preload" = "󱗼";
"youtube" = "󰗃";
"music" = "󰎆";
"steam" = "󰓓";
"custom" = "󱗼";
"preload" = "󱗼";
"default" = "󱗼";
}; };
}; };
@@ -153,7 +163,7 @@ in {
"cpu" = { "cpu" = {
interval = 5; interval = 5;
format = "󰍛"; format = "󰍛";
on-click = "hakase-focus-wrapper btop"; on-click = "hakase-popup-launch btop 800 600";
on-click-right = "xdg-terminal-exec"; on-click-right = "xdg-terminal-exec";
}; };
+7 -2
View File
@@ -1,5 +1,4 @@
{ pkgs, ... }: {pkgs, ...}: {
{
imports = [ imports = [
../../apps/matugen ../../apps/matugen
]; ];
@@ -10,4 +9,10 @@
name = "rose-pine-hyprcursor"; name = "rose-pine-hyprcursor";
size = 24; size = 24;
}; };
wayland.windowManager.hyprland.settings = {
env = [
"HYPRCURSOR_THEME,rose-pine-hyprcursor"
"HYPRCURSOR_SIZE,24"
];
};
} }