mirror of
https://github.com/kmein/niveum
synced 2026-03-16 10:11:08 +01:00
remove pkgs.niveum.lib.defaultApplications
This commit is contained in:
@@ -187,7 +187,7 @@ in
|
|||||||
dconf.enable = true;
|
dconf.enable = true;
|
||||||
dconf.settings = {
|
dconf.settings = {
|
||||||
# Change the default terminal for Nemo
|
# Change the default terminal for Nemo
|
||||||
"org/cinnamon/desktop/applications/terminal".exec = pkgs.lib.niveum.defaultApplications.terminal;
|
"org/cinnamon/desktop/applications/terminal".exec = lib.getExe pkgs.niveum-terminal;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ in {
|
|||||||
sticky_history = true;
|
sticky_history = true;
|
||||||
history_length = 20;
|
history_length = 20;
|
||||||
dmenu = "${pkgs.rofi}/bin/rofi -display-run dunst -show run";
|
dmenu = "${pkgs.rofi}/bin/rofi -display-run dunst -show run";
|
||||||
browser = pkgs.lib.niveum.defaultApplications.browser;
|
browser = lib.getExe pkgs.niveum-browser;
|
||||||
verbosity = "mesg";
|
verbosity = "mesg";
|
||||||
corner_radius = 0;
|
corner_radius = 0;
|
||||||
mouse_left_click = "do_action";
|
mouse_left_click = "do_action";
|
||||||
|
|||||||
@@ -216,9 +216,9 @@ in {
|
|||||||
"${modifier}+w" = "layout tabbed";
|
"${modifier}+w" = "layout tabbed";
|
||||||
"${modifier}+q" = "exec ${config.services.clipmenu.package}/bin/clipmenu";
|
"${modifier}+q" = "exec ${config.services.clipmenu.package}/bin/clipmenu";
|
||||||
|
|
||||||
"${modifier}+Return" = "exec ${pkgs.lib.niveum.defaultApplications.terminal}";
|
"${modifier}+Return" = "exec ${lib.getExe pkgs.niveum-terminal}";
|
||||||
"${modifier}+t" = "exec ${pkgs.lib.niveum.defaultApplications.fileManager}";
|
"${modifier}+t" = "exec ${lib.getExe pkgs.niveum-filemanager}";
|
||||||
"${modifier}+y" = "exec ${pkgs.lib.niveum.defaultApplications.browser}";
|
"${modifier}+y" = "exec ${lib.getExe pkgs.niveum-browser}";
|
||||||
|
|
||||||
"${modifier}+d" = "exec ${pkgs.writers.writeDash "run" ''exec rofi -modi run,ssh,window -show run''}";
|
"${modifier}+d" = "exec ${pkgs.writers.writeDash "run" ''exec rofi -modi run,ssh,window -show run''}";
|
||||||
"${modifier}+Shift+d" = "exec ${pkgs.notemenu}/bin/notemenu";
|
"${modifier}+Shift+d" = "exec ${pkgs.notemenu}/bin/notemenu";
|
||||||
|
|||||||
@@ -155,6 +155,10 @@
|
|||||||
};
|
};
|
||||||
|
|
||||||
overlays.default = final: prev: {
|
overlays.default = final: prev: {
|
||||||
|
niveum-terminal = prev.alacritty;
|
||||||
|
niveum-browser = prev.firefox;
|
||||||
|
niveum-filemanager = prev.pcmanfm;
|
||||||
|
|
||||||
# wrapped from upstream
|
# wrapped from upstream
|
||||||
wrapScript =
|
wrapScript =
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -69,12 +69,6 @@ in
|
|||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
defaultApplications = {
|
|
||||||
terminal = "alacritty";
|
|
||||||
browser = "${pkgs.firefox}/bin/firefox";
|
|
||||||
fileManager = "${pkgs.pcmanfm}/bin/pcmanfm";
|
|
||||||
};
|
|
||||||
|
|
||||||
retiolumAddresses = lib.mapAttrs (_: v: { inherit (v.retiolum) ipv4 ipv6; }) (
|
retiolumAddresses = lib.mapAttrs (_: v: { inherit (v.retiolum) ipv4 ipv6; }) (
|
||||||
lib.filterAttrs (_: v: v ? "retiolum") systems
|
lib.filterAttrs (_: v: v ? "retiolum") systems
|
||||||
);
|
);
|
||||||
|
|||||||
Reference in New Issue
Block a user