diff options
| author | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-11-29 00:27:09 +0530 |
|---|---|---|
| committer | Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> | 2025-11-29 00:27:09 +0530 |
| commit | 012f5fc45afc81e18b4ae564ab8207b8c4e02d2a (patch) | |
| tree | c0319a82c986d117ecccf58e9e6a54fad1236cd8 /modules/desktop/bspwm/default.nix | |
| parent | 170461002890d55718618bec64feaa8856c3a6d4 (diff) | |
| download | home-manager-config-012f5fc45afc81e18b4ae564ab8207b8c4e02d2a.tar.gz home-manager-config-012f5fc45afc81e18b4ae564ab8207b8c4e02d2a.zip | |
Added a convenience script system-monitor that runs both bottom (for cpu + cpu temps + network monitoring) and nvtop for graphics card mintoring with tmux.
Diffstat (limited to 'modules/desktop/bspwm/default.nix')
| -rw-r--r-- | modules/desktop/bspwm/default.nix | 6 |
1 files changed, 5 insertions, 1 deletions
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}\""} ''; }; } |
