summaryrefslogtreecommitdiff
path: root/modules/apps/wofi
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-09-17 22:07:16 -0400
committerFreya Murphy <freya@freyacat.org>2025-09-17 22:07:16 -0400
commit68d03fe362b7e0df11662d8d6a1e01eac0bfae77 (patch)
treea76abd05f662f73b4083ddb0d8bf0d72c29e5a74 /modules/apps/wofi
parentupdate commits (diff)
downloaddotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.tar.gz
dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.tar.bz2
dotfiles-nix-68d03fe362b7e0df11662d8d6a1e01eac0bfae77.zip
refactor: remove modules folder, fully split home and system modules
Diffstat (limited to 'modules/apps/wofi')
-rw-r--r--modules/apps/wofi/default.nix29
-rw-r--r--modules/apps/wofi/style.nix73
2 files changed, 0 insertions, 102 deletions
diff --git a/modules/apps/wofi/default.nix b/modules/apps/wofi/default.nix
deleted file mode 100644
index 6036dd1..0000000
--- a/modules/apps/wofi/default.nix
+++ /dev/null
@@ -1,29 +0,0 @@
-{
- config,
- lib,
- ...
-}: let
- inherit (lib) mkIf;
- cfg = config.apps;
-in {
- config = mkIf cfg.wofi {
- default.appLauncher = lib.mkDefault "wofi --show drun --prompt 'Seach Programs'";
-
- home-manager.users.${config.user} = {
- programs.wofi = {
- enable = true;
-
- settings = {
- key_expand = "Tab";
- term = "kitty";
- matching = "multi-contains";
- insensitive = true;
- gtk_dark = true;
- hide_scroll = true;
- };
-
- style = import ./style.nix {theme = config.theme;};
- };
- };
- };
-}
diff --git a/modules/apps/wofi/style.nix b/modules/apps/wofi/style.nix
deleted file mode 100644
index 75a0a21..0000000
--- a/modules/apps/wofi/style.nix
+++ /dev/null
@@ -1,73 +0,0 @@
-{theme}: let
- text = "#${theme.colors.text}";
- base = "#${theme.colors.base}";
- surface = "#${theme.colors.surface}";
- primary = "#${theme.colors.primary}";
- fontSize = "${toString theme.font.size}px";
- outerGap = "${toString theme.outerGap}px";
- innerGap = "${toString theme.innerGap}px";
- outerRadius = "${toString theme.outerRadius}px";
- innerRadius = "${toString theme.innerRadius}px";
- borderWidth = "${toString theme.borderWidth}px";
-in ''
- * {
- font-family: ${theme.font.monospace};
- font-size: ${fontSize};
- }
-
- /* Window */
- window {
- margin: 0px;
- border: ${borderWidth} solid ${primary};
- border-radius: ${outerRadius};
- background-color: ${base};
- }
-
- /* Outer Box */
- #outer-box {
- padding: ${outerGap};
- }
-
- /* Scroll */
- #scroll {
- margin: 0px;
- padding: ${innerGap};
- border: none;
- }
-
- /* Input */
- #input {
- margin: ${innerGap};
- padding: ${innerGap};
- border: none;
- color: ${text};
- background-color: ${surface};
- border-radius: ${outerRadius};
- }
-
- #input:focus,
- #input:active {
- border: ${borderWidth} solid ${primary};
- box-shadow: none;
- outline: none;
- }
-
- /* Text */
- #text {
- margin: ${innerGap};
- padding: ${innerGap};
- border: none;
- color: ${text};
- }
-
- /* Selected Entry */
- #entry:selected {
- background-color: ${primary};
- border-radius: ${outerRadius};
- }
-
- #entry:selected #text {
- color: ${base};
- }
-
-''