aboutsummaryrefslogtreecommitdiffstats
path: root/modules/graphical/default.nix
diff options
context:
space:
mode:
authorArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-11-28 00:01:27 +0530
committerArpit Chakladar <54011232+arpitchakladar@users.noreply.github.com>2025-11-28 00:01:27 +0530
commit170461002890d55718618bec64feaa8856c3a6d4 (patch)
tree39828106660958fc9de2c8c8d1fc972c8e2320cb /modules/graphical/default.nix
parent547bf872cbf85f4718576e1ac3a0eab094ccd26a (diff)
downloadhome-manager-config-170461002890d55718618bec64feaa8856c3a6d4.tar.gz
home-manager-config-170461002890d55718618bec64feaa8856c3a6d4.zip
Organised the configuration to allow for different options for different users.
Diffstat (limited to 'modules/graphical/default.nix')
-rw-r--r--modules/graphical/default.nix28
1 files changed, 0 insertions, 28 deletions
diff --git a/modules/graphical/default.nix b/modules/graphical/default.nix
deleted file mode 100644
index 9e18ce0..0000000
--- a/modules/graphical/default.nix
+++ /dev/null
@@ -1,28 +0,0 @@
-{ lib, config, pkgs, ... }:
-
-{
- imports = [
- ./bspwm
- ./polybar
- ./sxhkd
- ];
-
- options.graphical = {
- enable = lib.mkEnableOption "Enables graphical interface.";
- };
-
- config = lib.mkIf config.graphical.enable {
- xdg.enable = true;
- xsession.enable = true;
-
- xsession.windowManager.command = lib.mkForce "
-#!/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 &
-exec ${pkgs.bspwm}/bin/bspwm
-";
- };
-}