diff options
Diffstat (limited to 'modules/desktop/popup-manager')
| -rw-r--r-- | modules/desktop/popup-manager/default.nix | 14 | ||||
| -rw-r--r-- | modules/desktop/popup-manager/rofi/default.nix | 16 | ||||
| -rw-r--r-- | modules/desktop/popup-manager/rofi/theme.mustache.rasi | 82 |
3 files changed, 0 insertions, 112 deletions
diff --git a/modules/desktop/popup-manager/default.nix b/modules/desktop/popup-manager/default.nix deleted file mode 100644 index c34d29d..0000000 --- a/modules/desktop/popup-manager/default.nix +++ /dev/null @@ -1,14 +0,0 @@ -{ lib, ... }: - -{ - imports = [ - ./rofi - ]; - - options.desktop.popup-manager = { - application-launcher.command = lib.mkOption { - type = lib.types.str; - description = "Command for default application launcher program."; - }; - }; -} diff --git a/modules/desktop/popup-manager/rofi/default.nix b/modules/desktop/popup-manager/rofi/default.nix deleted file mode 100644 index 1ddc208..0000000 --- a/modules/desktop/popup-manager/rofi/default.nix +++ /dev/null @@ -1,16 +0,0 @@ -{ config, lib, pkgs, ... }: - -{ - options.desktop.popup-manager.rofi = { - enable = lib.mkEnableOption "Enables rofi."; - }; - - config = lib.mkIf config.desktop.popup-manager.rofi.enable { - desktop.popup-manager.application-launcher.command = "${pkgs.rofi}/bin/rofi -show run"; - programs.rofi.enable = true; - programs.rofi.font = "${config.fonts.normal} ${toString config.fonts.size}"; - programs.rofi.theme = config.scheme { - template = builtins.readFile ./theme.mustache.rasi; - }; - }; -} diff --git a/modules/desktop/popup-manager/rofi/theme.mustache.rasi b/modules/desktop/popup-manager/rofi/theme.mustache.rasi deleted file mode 100644 index 02cdaf3..0000000 --- a/modules/desktop/popup-manager/rofi/theme.mustache.rasi +++ /dev/null @@ -1,82 +0,0 @@ -configuration { - drun { - display-name: " "; - } - - run { - display-name: " "; - } - - window { - display-name: " "; - } - - ssh { - display-name: " "; - } - - timeout { - delay: 10; - action: "kb-cancel"; - } -} - -* { - border: 1; - margin: 0; - padding: 0; - spacing: 0; - - bg: #{{base00-hex}}; - bg-alt: #{{base01-hex}}; - fg: #{{base07-hex}}; - fg-alt: #{{base03-hex}}; - - background-color: @bg; - text-color: @fg; -} - -window { - transparency: "real"; - border-color: #{{base03-hex}}; -} - -mainbox { - children: [inputbar, listview]; -} - -inputbar { - background-color: @bg-alt; - children: [prompt, entry]; -} - -entry { - background-color: inherit; - padding: 12px 3px; -} - -prompt { - background-color: inherit; - padding: 12px; -} - -listview { - lines: 8; -} - -element { - children: [element-text]; -} - -element-icon { - padding: 10px 10px; -} - -element-text { - padding: 10px 10px; - text-color: @fg-alt; -} - -element-text selected { - text-color: @fg; -} |
