diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-01 03:00:12 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-08-01 03:00:12 +0530 |
| commit | 225a9368b2b469d5c63e15d3d6a9cad232db23b6 (patch) | |
| tree | 1dc2d48c1e8619d397e86acd00f85764b4949724 /modules | |
| parent | c975ed3ea6404375fe824f697be85474a9f18236 (diff) | |
| download | home-manager-config-225a9368b2b469d5c63e15d3d6a9cad232db23b6.tar.gz home-manager-config-225a9368b2b469d5c63e15d3d6a9cad232db23b6.zip | |
feat: waybar vpn module, heroic launcher desktop entry
- Added a VPN indicator module to waybar
- Added a desktop entry for heroic game launcher, for running through
rofi
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/desktop/hyprland/default.nix | 2 | ||||
| -rw-r--r-- | modules/desktop/waybar/module/workspaces.nix | 1 | ||||
| -rw-r--r-- | modules/gaming/heroic/default.nix | 10 |
3 files changed, 12 insertions, 1 deletions
diff --git a/modules/desktop/hyprland/default.nix b/modules/desktop/hyprland/default.nix index 1e48e3f..b87dca9 100644 --- a/modules/desktop/hyprland/default.nix +++ b/modules/desktop/hyprland/default.nix @@ -117,7 +117,7 @@ in }; scrolling = { - column_width = 0.5; + column_width = 1; explicit_column_widths = "0.5, 1.0"; focus_fit_method = 1; follow_focus = true; diff --git a/modules/desktop/waybar/module/workspaces.nix b/modules/desktop/waybar/module/workspaces.nix index cb64517..a2b05ba 100644 --- a/modules/desktop/waybar/module/workspaces.nix +++ b/modules/desktop/waybar/module/workspaces.nix @@ -34,6 +34,7 @@ "title<Virtual Machine Manager>" = lib.mkIf config.development.qemu.enable icons."VirtManager"; "title<OC \\| (.*)>" = lib.mkIf config.development.opencode.enable icons."Opencode"; + "title<OpenCode>" = lib.mkIf config.development.opencode.enable icons."Opencode"; "title<Swayimg:(.*)>" = lib.mkIf config.media.swayimg.enable icons."Swayimg"; "title<Yazi:(.*)>" = lib.mkIf config.file-management.yazi.enable icons."Yazi"; "title<bluetui>" = lib.mkIf config.networking.bluetui.enable icons."bluetui"; diff --git a/modules/gaming/heroic/default.nix b/modules/gaming/heroic/default.nix index 9c07f17..591e60b 100644 --- a/modules/gaming/heroic/default.nix +++ b/modules/gaming/heroic/default.nix @@ -31,6 +31,16 @@ config = lib.mkIf config.gaming.heroic.enable { home.packages = [ config.gaming.heroic.package ]; + xdg.desktopEntries."heroic" = { + name = "Heroic Games Launcher"; + exec = "${lib.getExe' config.gaming.heroic.package "heroic"} %u"; + icon = "${pkgs.heroic}/share/icons/hicolor/scalable/apps/com.heroicgameslauncher.hgl.svg"; + comment = "An Open Source Launcher for GOG, Epic Games and Amazon Games"; + categories = [ "Game" ]; + mimeType = [ "x-scheme-handler/heroic" ]; + type = "Application"; + }; + xdg.mimeApps.defaultApplications = { "x-scheme-handler/heroic" = "heroic.desktop"; }; |
