hyprland settings rework
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
};
|
||||
modules.helium = settings: {
|
||||
homeManager =
|
||||
{ pkgs, ... }:
|
||||
{ pkgs, lib, ... }:
|
||||
let
|
||||
heliumPkg = inputs.heliumFlake.packages.${pkgs.stdenv.hostPlatform.system}.helium;
|
||||
# The upstream `helium` launcher is a plain Nix wrapper that ignores any
|
||||
@@ -53,15 +53,9 @@
|
||||
xdg.configFile."net.imput.helium/WidevineCdm/latest-component-updated-widevine-cdm" = {
|
||||
text = ''{"Path":"${pkgs.widevine-cdm}/share/google/chrome/WidevineCdm"}'';
|
||||
};
|
||||
wayland.windowManager.hyprland.extraLuaFiles = lib.mkIf settings.default {
|
||||
"helium-bind.lua" = {
|
||||
autoLoad = true;
|
||||
content = ''
|
||||
-- Helium launcher bind (lua config: settings.bind cannot express dispatchers)
|
||||
hl.bind("SUPER + E", hl.dsp.exec_cmd("helium"))
|
||||
'';
|
||||
};
|
||||
};
|
||||
wayland.windowManager.hyprland.settings.bind = lib.mkIf settings.default [
|
||||
{ _args = [ "SUPER + E" (lib.generators.mkLuaInline ''hl.dsp.exec_cmd("helium")'') ]; }
|
||||
];
|
||||
};
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user