sway: snippets: port from fuzzel -> rofi
This commit is contained in:
@@ -109,7 +109,6 @@ in
|
|||||||
"brightnessctl"
|
"brightnessctl"
|
||||||
"conky" # for a nice background
|
"conky" # for a nice background
|
||||||
"fontconfig"
|
"fontconfig"
|
||||||
"fuzzel"
|
|
||||||
# "gnome.gnome-bluetooth" # XXX(2023/05/14): broken
|
# "gnome.gnome-bluetooth" # XXX(2023/05/14): broken
|
||||||
# "gnome.gnome-control-center" # XXX(2023/06/28): depends on webkitgtk4_1
|
# "gnome.gnome-control-center" # XXX(2023/06/28): depends on webkitgtk4_1
|
||||||
"pipewire"
|
"pipewire"
|
||||||
|
@@ -11,13 +11,13 @@ let
|
|||||||
snip_cmd_pkg = writeShellApplication {
|
snip_cmd_pkg = writeShellApplication {
|
||||||
name = "type-snippet";
|
name = "type-snippet";
|
||||||
runtimeInputs = [
|
runtimeInputs = [
|
||||||
prog.fuzzel.package
|
prog.rofi.package
|
||||||
prog.gnused.package
|
prog.gnused.package
|
||||||
prog.wtype.package
|
prog.wtype.package
|
||||||
];
|
];
|
||||||
text = ''
|
text = ''
|
||||||
snippet=$(cat ${./snippets.txt} ~/.config/sane-sway/snippets.txt | \
|
snippet=$(cat ${./snippets.txt} ~/.config/sane-sway/snippets.txt | \
|
||||||
fuzzel -d -i -w 60 | \
|
rofi -dmenu | \
|
||||||
sed 's/ #.*$//')
|
sed 's/ #.*$//')
|
||||||
wtype "$snippet"
|
wtype "$snippet"
|
||||||
'';
|
'';
|
||||||
|
Reference in New Issue
Block a user