summaryrefslogtreecommitdiff
path: root/nix/programs/wofi
diff options
context:
space:
mode:
authorFreya Murphy <freya@freyacat.org>2025-06-17 21:57:53 -0400
committerFreya Murphy <freya@freyacat.org>2025-06-17 21:57:53 -0400
commite0f2eb724245e02cb247b644f0947261d8665318 (patch)
tree13f929df40059d37165cbe46be95a6404a1bbecb /nix/programs/wofi
parentrefactor styles to new color scheme basis (diff)
downloaddotfiles-nix-e0f2eb724245e02cb247b644f0947261d8665318.tar.gz
dotfiles-nix-e0f2eb724245e02cb247b644f0947261d8665318.tar.bz2
dotfiles-nix-e0f2eb724245e02cb247b644f0947261d8665318.zip
remove nix dir and move out all sub modules
Diffstat (limited to 'nix/programs/wofi')
-rw-r--r--nix/programs/wofi/default.nix24
-rw-r--r--nix/programs/wofi/style.nix81
2 files changed, 0 insertions, 105 deletions
diff --git a/nix/programs/wofi/default.nix b/nix/programs/wofi/default.nix
deleted file mode 100644
index cb08b43..0000000
--- a/nix/programs/wofi/default.nix
+++ /dev/null
@@ -1,24 +0,0 @@
-{ config, lib, ... }:
-
-{
- 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/nix/programs/wofi/style.nix b/nix/programs/wofi/style.nix
deleted file mode 100644
index 40fb861..0000000
--- a/nix/programs/wofi/style.nix
+++ /dev/null
@@ -1,81 +0,0 @@
-{ theme }:
-
-let
-
- fg = "#${theme.colors.fg}";
- bg = "#${theme.colors.bg}";
- surface-fg = "#${theme.colors.surface.fg}";
- surface-bg = "#${theme.colors.surface.bg}";
- 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: ${bg};
-}
-
-/* Outer Box */
-#outer-box {
- padding: ${outerGap};
-}
-
-/* Scroll */
-#scroll {
- margin: 0px;
- padding: ${innerGap};
- border: none;
-}
-
-/* Input */
-#input {
- margin: ${innerGap};
- padding: ${innerGap};
- border: none;
- color: ${surface-fg};
- background-color: ${surface-bg};
- 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: ${fg};
-}
-
-/* Selected Entry */
-#entry:selected {
- background-color: ${primary};
- border-radius: ${outerRadius};
-}
-
-#entry:selected #text {
- color: ${bg};
-}
-
-''
-