2022-12-16 07:46:06 +00:00
|
|
|
# borrows from:
|
|
|
|
# - default config: <https://github.com/cspeterson/splatmoji/blob/master/splatmoji.config>
|
|
|
|
# - wayland: <https://github.com/cspeterson/splatmoji/issues/32#issuecomment-830862566>
|
2023-01-06 16:13:51 +00:00
|
|
|
{ pkgs, sane-lib, ... }:
|
2022-12-16 07:46:06 +00:00
|
|
|
|
|
|
|
{
|
2023-01-30 10:35:03 +00:00
|
|
|
sane.user.persist.plaintext = [ ".local/state/splatmoji" ];
|
2023-01-30 09:27:19 +00:00
|
|
|
sane.user.fs.".config/splatmoji/splatmoji.config" = sane-lib.fs.wantedText ''
|
|
|
|
history_file=~/.local/state/splatmoji/history
|
2023-01-06 16:13:51 +00:00
|
|
|
history_length=5
|
|
|
|
# TODO: wayland equiv
|
|
|
|
paste_command=xdotool key ctrl+v
|
|
|
|
# rofi_command=${pkgs.wofi}/bin/wofi --dmenu --insensitive --cache-file /dev/null
|
|
|
|
rofi_command=${pkgs.fuzzel}/bin/fuzzel -d -i -w 60
|
|
|
|
xdotool_command=${pkgs.wtype}/bin/wtype
|
|
|
|
# TODO: wayland equiv
|
|
|
|
xsel_command=xsel -b -i
|
|
|
|
'';
|
2022-12-16 07:46:06 +00:00
|
|
|
}
|