From 618e5593e735060a40c6e125aed4e056b0d58b17 Mon Sep 17 00:00:00 2001 From: servius Date: Fri, 6 Feb 2026 10:46:10 +0530 Subject: [PATCH] feat: Update hyprland.conf --- home/apps/default.nix | 33 ++++++------- home/services/hyprland.nix | 13 +++--- home/services/hyprpaper.nix | 1 + home/services/ironbar/default.nix | 78 +++++++++++++++---------------- 4 files changed, 63 insertions(+), 62 deletions(-) diff --git a/home/apps/default.nix b/home/apps/default.nix index 3757b34c..0ca90f01 100644 --- a/home/apps/default.nix +++ b/home/apps/default.nix @@ -6,38 +6,39 @@ lib.optionalAttrs device.hasGui { imports = [ # ./audacity.nix - # ./blueman.nix # ./bottles.nix - ./chromium.nix # ./cursor.nix - ./discord.nix - ./firefox.nix - ./ghostty.nix # ./gimp.nix # ./guitarix.nix - ./hyprpicker.nix # ./ida.nix # ./jellyflix.nix # ./kicad.nix - ./kitty.nix - ./lmstudio.nix - ./mpv.nix # ./neovide.nix - ./nextcloud.nix - ./obs-studio.nix # ./openscad.nix - ./orcaslicer.nix # ./pcsx2.nix - ./prismlauncher.nix # ./rpcs3.nix - ./shadps4.nix - ./slack.nix # ./thunderbird.nix # ./tsukimi.nix # ./vial.nix + # ./vscode.nix + + ./blueman.nix + ./chromium.nix + ./discord.nix + ./firefox.nix + ./ghostty.nix + ./hyprpicker.nix + ./kitty.nix + ./lmstudio.nix + ./mpv.nix + ./nextcloud.nix + ./obs-studio.nix + ./orcaslicer.nix + ./prismlauncher.nix + ./shadps4.nix + ./slack.nix ./vicinae.nix ./vlc.nix - # ./vscode.nix ./wezterm.nix ./zathura.nix ./zed.nix diff --git a/home/services/hyprland.nix b/home/services/hyprland.nix index 75145b2b..5b89952e 100644 --- a/home/services/hyprland.nix +++ b/home/services/hyprland.nix @@ -156,21 +156,20 @@ # windowrulev2 = float,class:^(kitty)$,title:^(kitty)$ # See https://wiki.hyprland.org/Configuring/Window-Rules/ for more - windowrulev2 = [ - # "float, title:^(Steam)$" - "float, title:^(Archetype.*)$" - "float, class:(.*nextcloud.*)" - "float, class:org.kde.kdeconnect.app" + windowrule = [ + # "match:title ^(Steam)$ float" + "match:title ^(Archetype.*)$ float" + "match:class (.*nextcloud.*) float" + "match:class org.kde.kdeconnect.app float" ]; - # "misc:vfr" = true; - env = [ "XCURSOR_SIZE,24" "XDG_SESSION_TYPE,wayland" "MOZ_ENABLE_WAYLAND,1" "QT_QPA_PLATFORM,wayland" ]; + exec-once = [ # "${pkgs.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1" "${pkgs.mate.mate-polkit}/libexec/polkit-mate-authentication-agent-1" diff --git a/home/services/hyprpaper.nix b/home/services/hyprpaper.nix index 8477cd0d..3a8e7db0 100644 --- a/home/services/hyprpaper.nix +++ b/home/services/hyprpaper.nix @@ -12,6 +12,7 @@ in { enable = device.is "ryu"; settings = { + splash = false; wallpaper = [ { monitor = device.monitors.primary; diff --git a/home/services/ironbar/default.nix b/home/services/ironbar/default.nix index 9c504d89..925d8503 100644 --- a/home/services/ironbar/default.nix +++ b/home/services/ironbar/default.nix @@ -36,45 +36,45 @@ {type = "clock";} ]; }; - "${device.monitors.primary}" = { - position = "bottom"; - icon_theme = "Papirus-Dark"; - end = [ - { - type = "sys_info"; - format = [ - " CPU {cpu_percent}% | {temp_c:coretemp-Package-id-0}°C" - " RAM {memory_used}GB/{memory_total}GB" - ]; - interval = { - cpu = 1; - temps = 5; - memory = 30; - # disks= 300; - # networks= 3; - }; - } - ]; - start = [ - { - type = "workspaces"; - name_map = { - "1" = "icon:kitty"; - "2" = "icon:code"; - "3" = "icon:firefox"; - "4" = "icon:slack"; - # "5" = "icon:steam"; - # "6" = "icon:foot"; - # "7" = "icon:foot"; - # "8" = "icon:firefox"; - # "9" = "icon:discord"; - # "10" = "icon:spotify"; - }; - favorites = ["1" "2" "3" "4"]; - all_monitors = false; - } - ]; - }; + # "${device.monitors.primary}" = { + # position = "bottom"; + # icon_theme = "Papirus-Dark"; + # end = [ + # { + # type = "sys_info"; + # format = [ + # " CPU {cpu_percent}% | {temp_c:coretemp-Package-id-0}°C" + # " RAM {memory_used}GB/{memory_total}GB" + # ]; + # interval = { + # cpu = 1; + # temps = 5; + # memory = 30; + # # disks= 300; + # # networks= 3; + # }; + # } + # ]; + # start = [ + # { + # type = "workspaces"; + # name_map = { + # "1" = "icon:kitty"; + # "2" = "icon:code"; + # "3" = "icon:firefox"; + # "4" = "icon:slack"; + # # "5" = "icon:steam"; + # # "6" = "icon:foot"; + # # "7" = "icon:foot"; + # # "8" = "icon:firefox"; + # # "9" = "icon:discord"; + # # "10" = "icon:spotify"; + # }; + # favorites = ["1" "2" "3" "4"]; + # all_monitors = false; + # } + # ]; + # }; "${device.monitors.tertiary}" = { position = "bottom"; icon_theme = "Papirus-Dark";