Added wayland, hyprland and eww
This commit is contained in:
@@ -3,6 +3,7 @@
|
||||
let
|
||||
cfg = config.samfelag.modules.app.firefox;
|
||||
i3Cfg = config.samfelag.modules.desktop.i3;
|
||||
hyprCfg = config.samfelag.modules.desktop.hyprland;
|
||||
in
|
||||
{
|
||||
options.samfelag.modules.app.firefox = {
|
||||
@@ -13,10 +14,6 @@ in
|
||||
firefox
|
||||
];
|
||||
|
||||
samfelag.modules.desktop.i3.extraKeybindings = lib.mkIf i3Cfg.enable {
|
||||
"${i3Cfg.mod}+Shift+i" = "exec ${pkgs.firefox}/bin/firefox";
|
||||
};
|
||||
|
||||
hm.programs.firefox = {
|
||||
enable = true;
|
||||
# extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
@@ -30,5 +27,12 @@ in
|
||||
};
|
||||
};
|
||||
|
||||
samfelag.modules.desktop.i3.extraKeybindings = lib.mkIf i3Cfg.enable {
|
||||
"${i3Cfg.mod}+Shift+i" = "exec ${pkgs.firefox}/bin/firefox";
|
||||
};
|
||||
|
||||
samfelag.modules.desktop.hyprland.extraKeybindings = lib.mkIf hyprCfg.enable [
|
||||
"${hyprCfg.mod} SHIFT, i, exec, ${pkgs.firefox}/bin/firefox"
|
||||
];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user