diff options
| author | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-26 22:35:47 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar@gmail.com> | 2026-09-26 22:35:47 +0530 |
| commit | fbb2f71a767ad522c545f09980105fb4846a0b67 (patch) | |
| tree | 97a8ca1e10ae464928b8c34ec648a900b41f7c4f | |
| parent | f47e3cd423eb9cf9e1943d7f14e597e044ee92a9 (diff) | |
| download | home-manager-config-fbb2f71a767ad522c545f09980105fb4846a0b67.tar.gz home-manager-config-fbb2f71a767ad522c545f09980105fb4846a0b67.zip | |
feat: using icons from tera-icon-theme
| -rw-r--r-- | modules/communication/neomutt/default.nix | 2 | ||||
| -rw-r--r-- | modules/desktop/eww/bar/bar.nix | 18 | ||||
| -rw-r--r-- | modules/desktop/eww/bar/bar.yuck | 22 | ||||
| -rw-r--r-- | modules/desktop/niri/default.nix | 4 | ||||
| -rw-r--r-- | modules/desktop/xdg/default.nix | 8 | ||||
| -rw-r--r-- | modules/development/lazygit/default.nix | 4 | ||||
| -rw-r--r-- | modules/development/opencode/default.nix | 6 | ||||
| -rw-r--r-- | modules/office/calcurse/default.nix | 6 | ||||
| -rw-r--r-- | modules/security/gopass/default.nix | 6 | ||||
| -rw-r--r-- | modules/security/gpg-tui/default.nix | 4 | ||||
| -rw-r--r-- | modules/system/systemctl-tui/default.nix | 6 | ||||
| -rw-r--r-- | modules/web/chawan/default.nix | 4 |
12 files changed, 22 insertions, 68 deletions
diff --git a/modules/communication/neomutt/default.nix b/modules/communication/neomutt/default.nix index 365ef32..c379a02 100644 --- a/modules/communication/neomutt/default.nix +++ b/modules/communication/neomutt/default.nix @@ -107,8 +107,6 @@ in xdg.configFile."neomutt/mailcap".text = builtins.replaceStrings [ "@@HTML_VIEWER@@" ] [ (lib.getExe config.web.chawan.package) ] (builtins.readFile ./mailcap); - home.file.".local/share/icons/hicolor/scalable/apps/neomutt.svg".source = - "${config.programs.neomutt.package}/share/neomutt/logo/neomutt.svg"; programs.neomutt = { enable = true; diff --git a/modules/desktop/eww/bar/bar.nix b/modules/desktop/eww/bar/bar.nix index 252811f..3f322e4 100644 --- a/modules/desktop/eww/bar/bar.nix +++ b/modules/desktop/eww/bar/bar.nix @@ -92,28 +92,10 @@ [ "@@niri-status-script@@" "@@system-stats-script@@" - "@@icon-offline@@" - "@@icon-wifi@@" - "@@icon-ethernet@@" - "@@icon-proxy@@" - "@@icon-cpu@@" - "@@icon-ram@@" - "@@icon-audio@@" - "@@icon-calendar@@" - "@@icon-battery@@" ] [ (lib.getExe niri-status) (lib.getExe system-stats) - "${../../../../assets/icons/bar/offline.svg}" - "${../../../../assets/icons/bar/wifi.svg}" - "${../../../../assets/icons/bar/ethernet.svg}" - "${../../../../assets/icons/bar/proxy.svg}" - "${../../../../assets/icons/bar/cpu.svg}" - "${../../../../assets/icons/bar/ram.svg}" - "${../../../../assets/icons/bar/audio.svg}" - "${../../../../assets/icons/bar/calendar.svg}" - "${../../../../assets/icons/bar/battery.svg}" ] (builtins.readFile ./bar.yuck); }; diff --git a/modules/desktop/eww/bar/bar.yuck b/modules/desktop/eww/bar/bar.yuck index 2f314ac..66e552f 100644 --- a/modules/desktop/eww/bar/bar.yuck +++ b/modules/desktop/eww/bar/bar.yuck @@ -88,7 +88,7 @@ :spacing 4 :tooltip "${system_stats.net.tooltip}" (image :class "system-icon" - :path "${system_stats.net.status == 'down' ? '@@icon-offline@@' : system_stats.net.routes[0].type == 'wifi' ? '@@icon-wifi@@' : system_stats.net.routes[0].type == 'ethernet' ? '@@icon-ethernet@@' : system_stats.net.routes[0].type == 'tun' ? '@@icon-proxy@@' : '@@icon-offline@@'}" + :icon "${system_stats.net.status == 'down' ? 'network-offline' : system_stats.net.routes[0].type == 'wifi' ? 'network-wireless' : system_stats.net.routes[0].type == 'ethernet' ? 'network-wired' : system_stats.net.routes[0].type == 'tun' ? 'network-vpn' : 'network-offline'}" :image-width 24 :image-height 24) (label :class "system-label small" @@ -101,7 +101,7 @@ :spacing 4 :tooltip "${system_stats.cpu.tooltip}" (image :class "system-icon" - :path "@@icon-cpu@@" + :icon "cpu" :image-width 24 :image-height 24) (label :class "system-label" :text "${system_stats.cpu.percent}%")) @@ -111,7 +111,7 @@ :spacing 4 :tooltip "${system_stats.ram.tooltip}" (image :class "system-icon" - :path "@@icon-ram@@" + :icon "drive-harddisk" :image-width 24 :image-height 24) (label :class "system-label" :text "${system_stats.ram.percent}%")) @@ -121,7 +121,7 @@ :spacing 4 :tooltip "${system_stats.battery.tooltip}" (image :class "system-icon" - :path "@@icon-battery@@" + :icon "battery" :image-width 24 :image-height 24) (label :class "system-label" @@ -135,19 +135,19 @@ :spacing 4 :class "system-item" :tooltip "${system_stats.sound.tooltip}" - (image :class "system-icon" - :path "@@icon-audio@@" - :image-width 24 - :image-height 24) - (label :class "system-label" - :text "${system_stats.sound.mute ? '-' : (system_stats.sound.percent + '%')}"))) + (image :class "system-icon" + :icon "audio-volume-high" + :image-width 24 + :image-height 24) + (label :class "system-label" + :text "${system_stats.sound.mute ? '-' : (system_stats.sound.percent + '%')}"))) (box :orientation "v" :class "system-item" :space-evenly false :spacing 4 :tooltip "${full_date} ${time} (${date})" (image :class "system-icon" - :path "@@icon-calendar@@" + :icon "calendar" :image-width 24 :image-height 24) (label :class "system-label small" :text time) diff --git a/modules/desktop/niri/default.nix b/modules/desktop/niri/default.nix index 3368766..918a3dc 100644 --- a/modules/desktop/niri/default.nix +++ b/modules/desktop/niri/default.nix @@ -90,8 +90,8 @@ in home.pointerCursor = { enable = true; - package = pkgs.adwaita-icon-theme; - name = "Adwaita"; + package = pkgs.vimix-cursors; + name = "Vimix-cursors"; size = 20; gtk.enable = true; x11.enable = true; diff --git a/modules/desktop/xdg/default.nix b/modules/desktop/xdg/default.nix index 72b0290..d04d697 100644 --- a/modules/desktop/xdg/default.nix +++ b/modules/desktop/xdg/default.nix @@ -45,12 +45,12 @@ in package = pkgs.gnome-themes-extra; }; iconTheme = { - name = "Adwaita"; - package = pkgs.adwaita-icon-theme; + name = "Tela"; + package = pkgs.tela-icon-theme; }; cursorTheme = { - name = "Adwaita"; - package = pkgs.adwaita-icon-theme; + name = "Vimix-cursors"; + package = pkgs.vimix-cursors; size = 20; }; colorScheme = "dark"; diff --git a/modules/development/lazygit/default.nix b/modules/development/lazygit/default.nix index 95d2bf1..a7bfdc6 100644 --- a/modules/development/lazygit/default.nix +++ b/modules/development/lazygit/default.nix @@ -81,10 +81,6 @@ in update.method = "never"; }; }; - - home.file.".local/share/icons/hicolor/scalable/apps/git.svg" = { - source = ../../../assets/icons/apps/git.svg; - }; }) (lib.mkIf (cfg.enable && config.terminal.kitty.enable) { xdg.desktopEntries."lazygit" = { diff --git a/modules/development/opencode/default.nix b/modules/development/opencode/default.nix index 8b61ff9..41e3edf 100644 --- a/modules/development/opencode/default.nix +++ b/modules/development/opencode/default.nix @@ -21,10 +21,6 @@ in config = lib.mkMerge [ (lib.mkIf cfg.enable { - home.file.".local/share/icons/hicolor/scalable/apps/opencode.svg" = { - source = ../../../assets/icons/apps/opencode.svg; - }; - programs.opencode = { enable = true; package = pkgs.opencode; @@ -34,7 +30,7 @@ in xdg.desktopEntries."opencode" = { name = "opencode"; exec = "${lib.getExe config.terminal.kitty.package} --class opencode -e ${lib.getExe cfg.package}"; - icon = "opencode"; + icon = "visualstudiocode"; categories = [ "Development" ]; comment = "AI-powered coding assistant"; terminal = false; diff --git a/modules/office/calcurse/default.nix b/modules/office/calcurse/default.nix index 588cf02..6340cb8 100644 --- a/modules/office/calcurse/default.nix +++ b/modules/office/calcurse/default.nix @@ -92,9 +92,7 @@ in (lib.mkIf cfg.enable { home.packages = [ cfg.package ]; xdg.configFile."calcurse/conf" = { - text = - builtins.replaceStrings [ "@@CALCURSE_ICON@@" ] [ "${../../../assets/icons/apps/calcurse.svg}" ] - (builtins.readFile ./conf); + text = builtins.replaceStrings [ "@@CALCURSE_ICON@@" ] [ "calendar" ] (builtins.readFile ./conf); force = true; }; xdg.configFile."calcurse/keys" = { @@ -106,7 +104,7 @@ in xdg.desktopEntries."calcurse" = { name = "calcurse"; exec = "${lib.getExe config.terminal.kitty.package} --class calcurse -e ${lib.getExe cfg.package}"; - icon = "org.gnome.Calendar-symbolic"; + icon = "calendar"; categories = [ "Office" "Calendar" diff --git a/modules/security/gopass/default.nix b/modules/security/gopass/default.nix index 173318b..1bd63f8 100644 --- a/modules/security/gopass/default.nix +++ b/modules/security/gopass/default.nix @@ -99,10 +99,6 @@ in PASSWORD_STORE_DIR = config.programs.password-store.settings.PASSWORD_STORE_DIR; }; - home.file.".local/share/icons/hicolor/scalable/apps/gopass.svg" = { - source = ../../../assets/icons/apps/gopass.svg; - }; - home.activation.copyCreationTemplatesForGopass = lib.mkIf cfg.creation-templates.enable ( lib.hm.dag.entryAfter [ "writeBoundary" ] '' $DRY_RUN_CMD mkdir -p $VERBOSE_ARG "${config.programs.password-store.settings.PASSWORD_STORE_DIR}/.gopass/create" @@ -115,7 +111,7 @@ in xdg.desktopEntries."gopass" = { name = "gopass"; exec = "${lib.getExe config.terminal.kitty.package} --class gopass -e ${lib.getExe cfg.package}"; - icon = "gopass"; + icon = "password-manager"; comment = "Standard Unix password manager (Go implementation)"; categories = [ "Utility" ]; terminal = false; diff --git a/modules/security/gpg-tui/default.nix b/modules/security/gpg-tui/default.nix index 2a5e61f..412331e 100644 --- a/modules/security/gpg-tui/default.nix +++ b/modules/security/gpg-tui/default.nix @@ -21,10 +21,6 @@ in config = lib.mkMerge [ (lib.mkIf cfg.enable { - home.file.".local/share/icons/hicolor/scalable/apps/gpg.svg" = { - source = ../../../assets/icons/apps/gpg.svg; - }; - home.packages = [ cfg.package ]; }) (lib.mkIf (cfg.enable && config.terminal.kitty.enable) { diff --git a/modules/system/systemctl-tui/default.nix b/modules/system/systemctl-tui/default.nix index 66b23a6..2091c57 100644 --- a/modules/system/systemctl-tui/default.nix +++ b/modules/system/systemctl-tui/default.nix @@ -21,17 +21,13 @@ in config = lib.mkMerge [ (lib.mkIf cfg.enable { - home.file.".local/share/icons/hicolor/scalable/apps/systemd.svg" = { - source = ../../../assets/icons/apps/systemd.svg; - }; - home.packages = [ cfg.package ]; }) (lib.mkIf (cfg.enable && config.terminal.kitty.enable) { xdg.desktopEntries."systemctl-tui" = { name = "systemctl-tui"; exec = "${lib.getExe config.terminal.kitty.package} --class systemctl-tui -e ${lib.getExe cfg.package}"; - icon = "systemd"; + icon = "preferences-system"; categories = [ "System" ]; comment = "TUI for systemctl"; terminal = false; diff --git a/modules/web/chawan/default.nix b/modules/web/chawan/default.nix index 0f1256d..1e56f89 100644 --- a/modules/web/chawan/default.nix +++ b/modules/web/chawan/default.nix @@ -30,10 +30,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 = { |
