forked from poz/niksos
hmCfg in hyprland module
This commit is contained in:
parent
9ee8028e9b
commit
da690bb8cf
1 changed files with 4 additions and 3 deletions
|
@ -7,6 +7,7 @@
|
|||
}: with lib; let
|
||||
cfg = config.myOptions.programs.hyprland;
|
||||
username = config.myOptions.other.system.username;
|
||||
hmCfg = config.home-manager.users.${username};
|
||||
osuCfg = config.myOptions.programs.osu;
|
||||
|
||||
inherit (inputs.nixpkgs-wayland.packages.${pkgs.system}) foot wl-clipboard swww wlsunset swaylock;
|
||||
|
@ -101,9 +102,9 @@ in {
|
|||
# and make this file stop hanging my neovim every 2 seconds
|
||||
# and figure out why it triggers E79 every single time I edit something
|
||||
extraConfig = ''
|
||||
bind=$mainMod, W, exec, ${removeSuffix " %U" config.home-manager.users.${username}.xdg.desktopEntries.firefox-schizo.exec}
|
||||
bind=$mainMod SHIFT, W, exec, ${removeSuffix " %U" config.home-manager.users.${username}.xdg.desktopEntries.firefox-unschizo.exec}
|
||||
${if (cfg.startupSound != "") then "exec-once=${pkgs.mpv}/bin/mpv --no-video --volume=100 ${config.home-manager.users.${username}.xdg.dataHome}/hypr/startup_sound" else ""}
|
||||
bind=$mainMod, W, exec, ${removeSuffix " %U" hmCfg.xdg.desktopEntries.firefox-schizo.exec}
|
||||
bind=$mainMod SHIFT, W, exec, ${removeSuffix " %U" hmCfg.xdg.desktopEntries.firefox-unschizo.exec}
|
||||
${if (cfg.startupSound != "") then "exec-once=${pkgs.mpv}/bin/mpv --no-video --volume=100 ${hmCfg.xdg.dataHome}/hypr/startup_sound" else ""}
|
||||
'';
|
||||
settings = {
|
||||
"$mainMod" = "SUPER";
|
||||
|
|
Loading…
Reference in a new issue