aboutsummaryrefslogtreecommitdiffstats
path: root/modules/web
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@gmail.com>2026-09-26 23:18:20 +0530
committerArpit Chakladar <arpitchakladar@gmail.com>2026-09-26 23:18:20 +0530
commit768b32e38701874b6b722c6647ee5c2c49a8e164 (patch)
tree878c961c2e429939e3ff19cda989cf403df7a224 /modules/web
parentf47e3cd423eb9cf9e1943d7f14e597e044ee92a9 (diff)
parentfa46338b1bf59f9bd2c56c0fe56e86f002f0890d (diff)
downloadhome-manager-config-768b32e38701874b6b722c6647ee5c2c49a8e164.tar.gz
home-manager-config-768b32e38701874b6b722c6647ee5c2c49a8e164.zip
Merge branch 'using-icon-pack'
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;