aboutsummaryrefslogtreecommitdiffstats
path: root/modules/desktop
diff options
context:
space:
mode:
authorArpit Chakladar <arpitchakladar@gmail.com>2026-09-26 22:35:47 +0530
committerArpit Chakladar <arpitchakladar@gmail.com>2026-09-26 22:35:47 +0530
commitfbb2f71a767ad522c545f09980105fb4846a0b67 (patch)
tree97a8ca1e10ae464928b8c34ec648a900b41f7c4f /modules/desktop
parentf47e3cd423eb9cf9e1943d7f14e597e044ee92a9 (diff)
downloadhome-manager-config-fbb2f71a767ad522c545f09980105fb4846a0b67.tar.gz
home-manager-config-fbb2f71a767ad522c545f09980105fb4846a0b67.zip
feat: using icons from tera-icon-theme
Diffstat (limited to 'modules/desktop')
-rw-r--r--modules/desktop/eww/bar/bar.nix18
-rw-r--r--modules/desktop/eww/bar/bar.yuck22
-rw-r--r--modules/desktop/niri/default.nix4
-rw-r--r--modules/desktop/xdg/default.nix8
4 files changed, 17 insertions, 35 deletions
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";