From 170461002890d55718618bec64feaa8856c3a6d4 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar <54011232+arpitchakladar@users.noreply.github.com> Date: Fri, 28 Nov 2025 00:01:27 +0530 Subject: Organised the configuration to allow for different options for different users. --- modules/graphical/default.nix | 28 ---------------------------- 1 file changed, 28 deletions(-) delete mode 100644 modules/graphical/default.nix (limited to 'modules/graphical/default.nix') 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 -"; - }; -} -- cgit v1.2.3