dotfiles

My PC Dotfiles & Website
commit 27f571a4e284db2c92acc70280fb68ab15190a46
parent b0f560137bf0e06cfc1a32d7a2cbb0f439887912
Author: maydayv7 <maydayv7@gmail.com>
Date:   Thu, 25 Sep 2025 20:57:55 +0530

feat: Update Hyprland to v0.51

Drop Hyprspace as it is unmaintained

Diffstat:

Mfiles/hyprland/kebihelp.json | 4++--
Mfiles/hyprland/waycorner.toml | 2+-
Mflake.lock | 125++++++++++++++++++++++++++++++++-----------------------------------------------
Mflake.nix | 12++----------
Mmodules/gui/desktop/hyprland/apps/launcher.nix | 78++++++++++++++++++++++++++++++++++++------------------------------------------
Mmodules/gui/desktop/hyprland/settings/default.nix | 7++++---
Mmodules/gui/desktop/hyprland/settings/plugins.nix | 38++++++++++++--------------------------
Mmodules/gui/desktop/pantheon/default.nix | 2+-
Mpackages/flake.nix | 3+--
9 files changed, 109 insertions(+), 162 deletions(-)

diff --git a/files/hyprland/kebihelp.json b/files/hyprland/kebihelp.json @@ -151,8 +151,8 @@ "label": "Application Launcher and Overview" }, { - "value": "$mod [SHIFT] `", - "label": "Show workspace overview for monitor[s]" + "value": "$mod `", + "label": "Show workspace overview" }, { "value": "ALT [SHIFT] Tab", diff --git a/files/hyprland/waycorner.toml b/files/hyprland/waycorner.toml @@ -1,5 +1,5 @@ [overview] -command = [ "hyprctl", "dispatch", "overview:toggle" ] +command = [ "hyprctl", "dispatch", "hyprexpo:expo", "on" ] locations = [ "top_left" ] size = 10 timeout_ms = 200 diff --git a/flake.lock b/flake.lock @@ -20,11 +20,11 @@ ] }, "locked": { - "lastModified": 1752743471, - "narHash": "sha256-4izhj1j7J4mE8LgljCXSIUDculqOsxxhdoC81VhqizM=", + "lastModified": 1755946532, + "narHash": "sha256-POePremlUY5GyA1zfbtic6XLxDaQcqHN6l+bIxdT5gc=", "owner": "hyprwm", "repo": "aquamarine", - "rev": "e31b575d19e7cf8a8f4398e2f9cffe27a1332506", + "rev": "81584dae2df6ac79f6b6dae0ecb7705e95129ada", "type": "github" }, "original": { @@ -165,11 +165,11 @@ }, "crane_2": { "locked": { - "lastModified": 1750266157, - "narHash": "sha256-tL42YoNg9y30u7zAqtoGDNdTyXTi8EALDeCB13FtbQA=", + "lastModified": 1757183466, + "narHash": "sha256-kTdCCMuRE+/HNHES5JYsbRHmgtr+l9mOtf5dpcMppVc=", "owner": "ipetkov", "repo": "crane", - "rev": "e37c943371b73ed87faf33f7583860f81f1d5a48", + "rev": "d599ae4847e7f87603e7082d73ca673aa93c916d", "type": "github" }, "original": { @@ -228,11 +228,11 @@ "flake-compat_2": { "flake": false, "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "lastModified": 1747046372, + "narHash": "sha256-CIVLLkVgvHYbgI2UpXvIIBJ12HWgX+fjA8Xf8PUmqCY=", "owner": "edolstra", "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "rev": "9100a0f413b0c601e0533d1d94ffd501ce2e7885", "type": "github" }, "original": { @@ -526,11 +526,11 @@ ] }, "locked": { - "lastModified": 1749155331, - "narHash": "sha256-XR9fsI0zwLiFWfqi/pdS/VD+YNorKb3XIykgTg4l1nA=", + "lastModified": 1753964049, + "narHash": "sha256-lIqabfBY7z/OANxHoPeIrDJrFyYy9jAM4GQLzZ2feCM=", "owner": "hyprwm", "repo": "hyprcursor", - "rev": "45fcc10b4c282746d93ec406a740c43b48b4ef80", + "rev": "44e91d467bdad8dcf8bbd2ac7cf49972540980a5", "type": "github" }, "original": { @@ -549,11 +549,11 @@ ] }, "locked": { - "lastModified": 1752187517, - "narHash": "sha256-nKsdPPUQx+E8KW6i7OvGOpfpnZqRReZQpSo+cN2wiAM=", + "lastModified": 1756718721, + "narHash": "sha256-2JQ/KxMEVDjauaFU62T0udjKXKSiCyKO5frjVf4b4A8=", "owner": "VirtCode", "repo": "hypr-dynamic-cursors", - "rev": "cb39e89fc3e6d2113dc098c0c69a762b55004fd4", + "rev": "0e11ed12dbd4d0c62b362dda2559c2e374814d56", "type": "github" }, "original": { @@ -578,11 +578,11 @@ ] }, "locked": { - "lastModified": 1752149140, - "narHash": "sha256-gbh1HL98Fdqu0jJIWN4OJQN7Kkth7+rbkFpSZLm/62A=", + "lastModified": 1757542864, + "narHash": "sha256-8i9tsVoOmLQDHJkNgzJWnmxYFGkJNsSndimYpCoqmoA=", "owner": "hyprwm", "repo": "hyprgraphics", - "rev": "340494a38b5ec453dfc542c6226481f736cc8a9a", + "rev": "aa9d14963b94186934fd0715d9a7f0f2719e64bb", "type": "github" }, "original": { @@ -611,11 +611,11 @@ "xdph": "xdph" }, "locked": { - "lastModified": 1752936500, - "narHash": "sha256-StLLgYbL3U2iDezMbfr/QjUtd2a0Mb+pScDSQxFElTg=", + "lastModified": 1757606048, + "narHash": "sha256-dFBJfeSbXRi1hn0oeBfDUaPaM5Ym/zPXtmMffLVLvdg=", "owner": "hyprwm", - "repo": "Hyprland", - "rev": "91d8a629ebfffaa46290331a74a54e249dec64fe", + "repo": "hyprland", + "rev": "231b800784e2bd9bc168070d6769e97f93ff53b2", "type": "github" }, "original": { @@ -704,11 +704,11 @@ ] }, "locked": { - "lastModified": 1750371812, - "narHash": "sha256-D868K1dVEACw17elVxRgXC6hOxY+54wIEjURztDWLk8=", + "lastModified": 1757508108, + "narHash": "sha256-bTYedtQFqqVBAh42scgX7+S3O6XKLnT6FTC6rpmyCCc=", "owner": "hyprwm", "repo": "hyprland-qtutils", - "rev": "b13c7481e37856f322177010bdf75fccacd1adc8", + "rev": "119bcb9aa742658107b326c50dcd24ab59b309b7", "type": "github" }, "original": { @@ -733,11 +733,11 @@ ] }, "locked": { - "lastModified": 1750371198, - "narHash": "sha256-/iuJ1paQOBoSLqHflRNNGyroqfF/yvPNurxzcCT0cAE=", + "lastModified": 1756810301, + "narHash": "sha256-wgZ3VW4VVtjK5dr0EiK9zKdJ/SOqGIBXVG85C3LVxQA=", "owner": "hyprwm", "repo": "hyprlang", - "rev": "cee01452bca58d6cadb3224e21e370de8bc20f0b", + "rev": "3d63fb4a42c819f198deabd18c0c2c1ded1de931", "type": "github" }, "original": { @@ -763,11 +763,11 @@ ] }, "locked": { - "lastModified": 1752254688, - "narHash": "sha256-XJJ+frO4NOxVkoSGc1Mag8ESumzx2FmVRspOgFlMqF8=", + "lastModified": 1758532737, + "narHash": "sha256-6uFpblzo481LBtLGSMHrd7bjco7LbfD6Xxvsi143UcQ=", "owner": "hyprwm", "repo": "hyprland-plugins", - "rev": "d723e5b153b7990d36e62a425bda3768c41dd9eb", + "rev": "4717ecd3c4b0cbb7811408753e7cad29e04f1ada", "type": "github" }, "original": { @@ -786,47 +786,23 @@ "home" ], "nixpkgs": [ - "nixpkgs" + "unstable" ] }, "locked": { - "lastModified": 1750983993, - "narHash": "sha256-AfOG2MCHRp/p894mJhCRRGTLd+DpWKAp3Epf5dR7S/E=", + "lastModified": 1758663065, + "narHash": "sha256-+dmDEOtMOkZVc7Ue2tgTl4Q8iYAb/Wdok0JVaGDmCos=", "owner": "H3rmt", "repo": "hyprshell", - "rev": "601c7eb1a61854d0d70b257447e9ddc044810855", + "rev": "5545fdaf81bbfdd616ddc9b5ec05db494dd9e693", "type": "github" }, "original": { "owner": "H3rmt", - "ref": "hyprshell-release", "repo": "hyprshell", "type": "github" } }, - "hyprspace": { - "inputs": { - "hyprland": [ - "hyprland" - ], - "systems": [ - "systems" - ] - }, - "locked": { - "lastModified": 1752663231, - "narHash": "sha256-rTItuAWpzICMREF8Ww8cK4hYgNMRXJ4wjkN0akLlaWE=", - "owner": "KZDKM", - "repo": "Hyprspace", - "rev": "0a82e3724f929de8ad8fb04d2b7fa128493f24f7", - "type": "github" - }, - "original": { - "owner": "KZDKM", - "repo": "Hyprspace", - "type": "github" - } - }, "hyprsplit": { "inputs": { "hyprland": [ @@ -834,11 +810,11 @@ ] }, "locked": { - "lastModified": 1752017780, - "narHash": "sha256-AidMiaqcXqTeLFWsutZZvB9zpqSttZyIBv3d2alhV+Y=", + "lastModified": 1758656567, + "narHash": "sha256-7cnfq7fXgJHkmHyvRwx8UsUdUwUEN4A1vUGgsSb4SmI=", "owner": "shezdy", "repo": "hyprsplit", - "rev": "e655de2ef61b19ca28aa9976104f1733ea57cdea", + "rev": "aa9519b94f598a2497d9ef09615a54963d65df75", "type": "github" }, "original": { @@ -859,11 +835,11 @@ ] }, "locked": { - "lastModified": 1752252310, - "narHash": "sha256-06i1pIh6wb+sDeDmWlzuPwIdaFMxLlj1J9I5B9XqSeo=", + "lastModified": 1756117388, + "narHash": "sha256-oRDel6pNl/T2tI+nc/USU9ZP9w08dxtl7hiZxa0C/Wc=", "owner": "hyprwm", "repo": "hyprutils", - "rev": "bcabcbada90ed2aacb435dc09b91001819a6dc82", + "rev": "b2ae3204845f5f2f79b4703b441252d8ad2ecfd0", "type": "github" }, "original": { @@ -884,11 +860,11 @@ ] }, "locked": { - "lastModified": 1751897909, - "narHash": "sha256-FnhBENxihITZldThvbO7883PdXC/2dzW4eiNvtoV5Ao=", + "lastModified": 1755184602, + "narHash": "sha256-RCBQN8xuADB0LEgaKbfRqwm6CdyopE1xIEhNc67FAbw=", "owner": "hyprwm", "repo": "hyprwayland-scanner", - "rev": "fcca0c61f988a9d092cbb33e906775014c61579d", + "rev": "b3b0f1f40ae09d4447c20608e5a4faf8bf3c492d", "type": "github" }, "original": { @@ -1186,11 +1162,11 @@ ] }, "locked": { - "lastModified": 1750779888, - "narHash": "sha256-wibppH3g/E2lxU43ZQHC5yA/7kIKLGxVEnsnVK1BtRg=", + "lastModified": 1757588530, + "narHash": "sha256-tJ7A8mID3ct69n9WCvZ3PzIIl3rXTdptn/lZmqSS95U=", "owner": "cachix", "repo": "git-hooks.nix", - "rev": "16ec914f6fb6f599ce988427d9d94efddf25fe6d", + "rev": "b084b2c2b6bc23e83bbfe583b03664eb0b18c411", "type": "github" }, "original": { @@ -1262,7 +1238,6 @@ "hyprland": "hyprland", "hyprplugins": "hyprplugins", "hyprshell": "hyprshell", - "hyprspace": "hyprspace", "hyprsplit": "hyprsplit", "impermanence": "impermanence", "index": "index", @@ -1721,11 +1696,11 @@ ] }, "locked": { - "lastModified": 1751300244, - "narHash": "sha256-PFuv1TZVYvQhha0ac53E3YgdtmLShrN0t4T6xqHl0jE=", + "lastModified": 1755354946, + "narHash": "sha256-zdov5f/GcoLQc9qYIS1dUTqtJMeDqmBmo59PAxze6e4=", "owner": "hyprwm", "repo": "xdg-desktop-portal-hyprland", - "rev": "6115f3fdcb2c1a57b4a80a69f3c797e47607b90a", + "rev": "a10726d6a8d0ef1a0c645378f983b6278c42eaa0", "type": "github" }, "original": { diff --git a/flake.nix b/flake.nix @@ -218,19 +218,11 @@ }; }; - hyprspace = { - url = "github:KZDKM/Hyprspace"; - inputs = { - hyprland.follows = "hyprland"; - systems.follows = "systems"; - }; - }; - # Launcher hyprshell = { - url = "github:H3rmt/hyprshell?ref=hyprshell-release"; + url = "github:H3rmt/hyprshell"; inputs = { - nixpkgs.follows = "nixpkgs"; + nixpkgs.follows = "unstable"; flake-parts.follows = "framework"; home-manager.follows = "home"; }; diff --git a/modules/gui/desktop/hyprland/apps/launcher.nix b/modules/gui/desktop/hyprland/apps/launcher.nix @@ -14,60 +14,54 @@ programs.hyprshell = { enable = true; systemd.enable = true; + hyprland = config.programs.hyprland.package; styleFile = util.build.theme { inherit (config.lib.stylix) colors; file = files.hyprland.hyprshell; }; - settings = { - layerrules = false; - kill_bind = "ctrl+shift, r"; + settings.windows = { + enable = true; + scale = 9.0; + items_per_row = 3; - windows = { + overview = { enable = true; - scale = 9.0; - items_per_row = 3; + modifier = "super"; + key = "tab"; - overview = { - enable = true; - modifier = "super"; - key = "tab"; - strip_html_from_workspace_title = true; - - launcher = { - enable = true; - launch_modifier = "alt"; - default_terminal = "kitty"; - width = 700; - max_items = 4; - show_when_empty = true; - plugins = { - applications = { - run_cache_weeks = 4; - show_execs = true; - show_actions_submenu = true; - }; - websearch.engines = [ - { - url = "https://www.google.com/search?q={}"; - name = "Google"; - key = "g"; - } - { - url = "https://en.wikipedia.org/wiki/Special:Search?search={}"; - name = "Wikipedia"; - key = "w"; - } - ]; + launcher = { + launch_modifier = "alt"; + default_terminal = "kitty"; + width = 700; + max_items = 4; + show_when_empty = true; + plugins = { + applications = { + run_cache_weeks = 4; + show_execs = true; + show_actions_submenu = true; }; + websearch.engines = [ + { + url = "https://www.google.com/search?q={}"; + name = "Google"; + key = "g"; + } + { + url = "https://en.wikipedia.org/wiki/Special:Search?search={}"; + name = "Wikipedia"; + key = "w"; + } + ]; }; }; + }; - switch = { - enable = true; - modifier = "alt"; - filter_by = [ "current_workspace" ]; - }; + switch = { + enable = true; + modifier = "alt"; + filter_by = [ "current_workspace" ]; }; }; }; diff --git a/modules/gui/desktop/hyprland/settings/default.nix b/modules/gui/desktop/hyprland/settings/default.nix @@ -58,11 +58,12 @@ in workspace_back_and_forth = true; }; + gesture = [ + "3, horizontal, workspace" + ]; + # Touchpad Gestures gestures = { - workspace_swipe = true; - workspace_swipe_fingers = 3; - workspace_swipe_forever = true; workspace_swipe_use_r = false; workspace_swipe_create_new = false; }; diff --git a/modules/gui/desktop/hyprland/settings/plugins.nix b/modules/gui/desktop/hyprland/settings/plugins.nix @@ -10,7 +10,7 @@ plugins = with pkgs.hyprworld; [ hyprsplit hypr-dynamic-cursors - Hyprspace + hyprexpo ]; settings = { @@ -32,33 +32,19 @@ tilt.function = "negative_quadratic"; }; - # Workspace Overview - overview = - with sys.lib.stylix.colors; - let - gaps = builtins.toString config.wayland.windowManager.hyprland.settings.general.gaps_in; - in - { - autoDrag = true; - dragAlpha = 0.4; - exitOnClick = true; - centerAligned = true; - hideTopLayers = true; - hideOverlayLayers = false; - showNewWorkspace = false; - showEmptyWorkspace = true; - overrideGaps = true; - gapsIn = gaps; - gapsOut = gaps; - panelBorderWidth = 0; - panelBorderColor = "rgb(${base0A})"; - workspaceActiveBorder = "rgb(${base0D})"; - }; + # Overview + hyprexpo = { + columns = 3; + workspace_method = "first 1"; + bg_col = "rgb(${sys.lib.stylix.colors.base00})"; + gap_size = builtins.toString config.wayland.windowManager.hyprland.settings.general.gaps_in; + }; }; - bind = [ - "$mod, grave, overview:toggle" - "$mod SHIFT, grave, overview:toggle, all" + bind = [ "$mod, grave, hyprexpo:expo, toggle" ]; + hyprexpo-gesture = [ + "4, up, expo, on" + "4, down, expo, off" ]; }; }; diff --git a/modules/gui/desktop/pantheon/default.nix b/modules/gui/desktop/pantheon/default.nix @@ -57,7 +57,7 @@ in # Panel Indicators environment.pathsToLink = [ "/libexec" ]; services.xserver.desktopManager.pantheon.extraWingpanelIndicators = with pkgs; [ - # monitor # ! # https://github.com/NixOS/nixpkgs/issues/408811 + monitor wingpanel-indicator-ayatana ]; diff --git a/packages/flake.nix b/packages/flake.nix @@ -45,8 +45,7 @@ in hyprland.packages."${system}" // hyprplugins.packages."${system}" // hyprsplit.packages."${system}" - // hyprcursors.packages."${system}" - // hyprspace.packages."${system}"; + // hyprcursors.packages."${system}"; }) minecraft.overlay niri.overlays.niri