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/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/default.nix')
| -rw-r--r-- | modules/desktop/default.nix | 17 |
1 files changed, 10 insertions, 7 deletions
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; + }; }; } |
