From f233f11b2c5bfccd71a6ac9ad4e9ad4b6775c33f Mon Sep 17 00:00:00 2001 From: Leon Vatthauer Date: Fri, 25 Oct 2024 16:25:40 +0200 Subject: [PATCH] tofi theme --- absol/hypr/hyprland.nix | 2 +- absol/leonv.nix | 17 ++++++++++++++++- 2 files changed, 17 insertions(+), 2 deletions(-) diff --git a/absol/hypr/hyprland.nix b/absol/hypr/hyprland.nix index 84d1a9e..b9f7e04 100644 --- a/absol/hypr/hyprland.nix +++ b/absol/hypr/hyprland.nix @@ -64,7 +64,7 @@ bind = [ # opening programs "$mod, Return, exec, foot" - "$mod, D, exec, tofi-drun --font /run/current-system/sw/share/X11/fonts/NotoMonoNerdFont-Regular.ttf" + "$mod, D, exec, tofi-drun | xargs hyprctl dispatch exec --" "$mod, M, exit, " "$mod, Q, killactive, " diff --git a/absol/leonv.nix b/absol/leonv.nix index 5f73b10..ed864f5 100755 --- a/absol/leonv.nix +++ b/absol/leonv.nix @@ -16,7 +16,6 @@ ausweisapp # stuff - tofi jq vlc openvpn @@ -142,5 +141,21 @@ home.sessionVariables.GTK_THEME = "Orchis-Dark-Compact"; home.sessionPath = [ "$HOME/.config/emacs/bin" ]; + programs.tofi = { + enable = true; + settings = { + width = "100%"; + height = "100%"; + border-width = 0; + outline-width = 0; + padding-left = "35%"; + padding-top = "35%"; + result-spacing = 25; + num-results = 5; + font = "monospace"; + background-color = "#000A"; + }; + }; + services.mpris-proxy.enable = true; }