diff options
Diffstat (limited to 'modules/graphical/default.nix')
| -rw-r--r-- | modules/graphical/default.nix | 28 |
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 -"; - }; -} |
