aboutsummaryrefslogtreecommitdiffstats
path: root/modules/web
diff options
context:
space:
mode:
Diffstat (limited to 'modules/web')
-rw-r--r--modules/web/aria2/default.nix9
-rw-r--r--modules/web/chawan/default.nix7
2 files changed, 7 insertions, 9 deletions
diff --git a/modules/web/aria2/default.nix b/modules/web/aria2/default.nix
index b9b00f5..49ee618 100644
--- a/modules/web/aria2/default.nix
+++ b/modules/web/aria2/default.nix
@@ -6,6 +6,7 @@
}:
let
cfg = config.web.aria2;
+ icons = config.desktop.icons.apps;
in
{
options.web.aria2 = {
@@ -31,14 +32,14 @@ in
(lib.mkIf (cfg.enable && config.desktop.enable) {
desktop.rofi.action.actions = [
{
- name = "aria2 Start";
+ name = "aria2 Service Start";
command = "systemctl --user start aria2";
- icon = "folder-download";
+ icon = icons.aria2Start;
}
{
- name = "aria2 Stop";
+ name = "aria2 Service Stop";
command = "systemctl --user stop aria2";
- icon = "folder-download";
+ icon = icons.aria2Stop;
}
];
})
diff --git a/modules/web/chawan/default.nix b/modules/web/chawan/default.nix
index 0f1256d..61a8aab 100644
--- a/modules/web/chawan/default.nix
+++ b/modules/web/chawan/default.nix
@@ -7,6 +7,7 @@
}:
let
cfg = config.web.chawan;
+ icons = config.desktop.icons.apps;
in
{
imports = [
@@ -30,10 +31,6 @@ in
config = lib.mkMerge [
(lib.mkIf cfg.enable {
- home.file.".local/share/icons/hicolor/scalable/apps/internet-web-browser.svg" = {
- source = ../../../assets/icons/apps/internet-web-browser.svg;
- };
-
programs.chawan = {
enable = true;
settings = {
@@ -61,7 +58,7 @@ in
xdg.desktopEntries."chawan" = {
name = "Chawan";
exec = "${lib.getExe config.terminal.kitty.package} --class chawan -e ${lib.getExe cfg.package} ${cfg.home-url}";
- icon = "internet-web-browser";
+ icon = icons.browser;
categories = [ "Network" ];
comment = "Text-based web browser";
terminal = false;