fmt(espanso)

This commit is contained in:
steveej 2024-01-31 09:42:16 +01:00
parent b338e78552
commit 4983a27813

View file

@ -1,4 +1,4 @@
{pkgs, ...}: { { pkgs, ... }: {
services.espanso = { services.espanso = {
# package = pkgs.espanso.overrideAttrs(_: { # package = pkgs.espanso.overrideAttrs(_: {
# # src = # # src =
@ -10,10 +10,12 @@
# backend = "Clipboard"; # backend = "Clipboard";
}; };
}; };
matches = let matches =
let
playerctl = '' playerctl = ''
${pkgs.coreutils}/bin/env DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$(${pkgs.coreutils}/bin/id -u)/bus" ${pkgs.playerctl}/bin/playerctl''; ${pkgs.coreutils}/bin/env DBUS_SESSION_BUS_ADDRESS="unix:path=/run/user/$(${pkgs.coreutils}/bin/id -u)/bus" ${pkgs.playerctl}/bin/playerctl'';
in { in
{
default = { default = {
matches = [ matches = [
{ {