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/default.nix | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) (limited to 'modules/desktop/default.nix') diff --git a/modules/desktop/default.nix b/modules/desktop/default.nix index dbb8087..bdf29ae 100644 --- a/modules/desktop/default.nix +++ b/modules/desktop/default.nix @@ -15,14 +15,17 @@ xdg.enable = true; xsession.enable = true; - xsession.windowManager.command = lib.mkForce " + home.file.".xinitrc" = { + text = '' #!/bin/sh -${if config.tools.feh.enable then - "${pkgs.feh}/bin/feh --bg-scale ${../../assets/skeleton-mage.png}" -else "xsetroot -solid \"${config.scheme.withHashtag.base00}\""} -pkill sxhkd -sxhkd & + +[ -f ~/.Xresources ] && xrdb -merge ~/.Xresources +[ -f ~/.profile ] && . ~/.profile +[ -f ~/.xsession ] && . ~/.xsession + exec ${pkgs.bspwm}/bin/bspwm -"; +''; + executable = true; + }; }; } -- cgit v1.2.3