From 4c6c470c8613ccb33e448b12be13a009abeea1f1 Mon Sep 17 00:00:00 2001 From: Colin Date: Wed, 28 Feb 2024 01:26:22 +0000 Subject: [PATCH] sway: snippets: port from fuzzel -> rofi --- hosts/common/programs/sway/default.nix | 1 - hosts/common/programs/sway/sway-config.nix | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/hosts/common/programs/sway/default.nix b/hosts/common/programs/sway/default.nix index bcb550eb0..5ee96cad5 100644 --- a/hosts/common/programs/sway/default.nix +++ b/hosts/common/programs/sway/default.nix @@ -109,7 +109,6 @@ in "brightnessctl" "conky" # for a nice background "fontconfig" - "fuzzel" # "gnome.gnome-bluetooth" # XXX(2023/05/14): broken # "gnome.gnome-control-center" # XXX(2023/06/28): depends on webkitgtk4_1 "pipewire" diff --git a/hosts/common/programs/sway/sway-config.nix b/hosts/common/programs/sway/sway-config.nix index d23fb953e..04b91fb58 100644 --- a/hosts/common/programs/sway/sway-config.nix +++ b/hosts/common/programs/sway/sway-config.nix @@ -11,13 +11,13 @@ let snip_cmd_pkg = writeShellApplication { name = "type-snippet"; runtimeInputs = [ - prog.fuzzel.package + prog.rofi.package prog.gnused.package prog.wtype.package ]; text = '' snippet=$(cat ${./snippets.txt} ~/.config/sane-sway/snippets.txt | \ - fuzzel -d -i -w 60 | \ + rofi -dmenu | \ sed 's/ #.*$//') wtype "$snippet" '';