From 012f5fc45afc81e18b4ae564ab8207b8c4e02d2a Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Sat, 29 Nov 2025 00:27:09 +0530 Subject: Added a convenience script system-monitor that runs both bottom (for cpu + cpu temps + network monitoring) and nvtop for graphics card mintoring with tmux. --- modules/desktop/bspwm/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'modules/desktop/bspwm') diff --git a/modules/desktop/bspwm/default.nix b/modules/desktop/bspwm/default.nix index d402035..2dc3f91 100644 --- a/modules/desktop/bspwm/default.nix +++ b/modules/desktop/bspwm/default.nix @@ -36,7 +36,11 @@ for monitor in $(xrandr -q | grep -w 'connected' | cut -d' ' -f1); do bspc monitor "$monitor" -d '1' '2' '3' '4' '5' '6' done -polybar-msg cmd restart + +${config.services.polybar.script} +${if config.tools.feh.enable then + "${pkgs.feh}/bin/feh --bg-scale ${../../../assets/skeleton-mage.png}" +else "xsetroot -solid \"${config.scheme.withHashtag.base00}\""} ''; }; } -- cgit v1.2.3