diff --git a/modules/home-manager/splatmoji.nix b/modules/home-manager/splatmoji.nix index b34363fd..57335df5 100644 --- a/modules/home-manager/splatmoji.nix +++ b/modules/home-manager/splatmoji.nix @@ -1,20 +1,18 @@ # borrows from: # - default config: # - wayland: -{ pkgs, ... }: +{ pkgs, sane-lib, ... }: { - home-manager.users.colin = { - xdg.configFile."splatmoji/splatmoji.config".text = '' - history_file=/home/colin/.local/state/splatmoji/history - 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 - ''; - }; + sane.fs."/home/colin/.config/splatmoji/splatmoji.config" = sane-lib.fs.wantedText '' + history_file=/home/colin/.local/state/splatmoji/history + 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 + ''; }