You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems like it's not currently possible to get replies to notifications on Ubuntu at the moment. It would be awesome if I could! Same for buttons on Linux notifs.
#!/usr/bin/env node
import{execa}from'execa';import{Notification}from'node-notifier';constjrnl=(...args)=>execa("jrnl",args);(async()=>{constdesiredFrequency="1 minute"constrecentEntries=(awaitjrnl(`-from "${desiredFrequency} ago"`)).stdout;if(recentEntries!=""){console.log(`jrnl has entries within the last ${desiredFrequency}`);return;}Notification().notify({title: "jrnl reminder",message: "You haven't added a jrnl entry in a while. Write one now?",closeLabel: "Not now",reply: true,wait: true,timeout: 60},function(err,response,metadata){jrnl(response);});})();
Missing reply box, and custom button text.
Example notification with a button:
The text was updated successfully, but these errors were encountered:
It seems like it's not currently possible to get replies to notifications on Ubuntu at the moment. It would be awesome if I could! Same for buttons on Linux notifs.
Missing reply box, and custom button text.
Example notification with a button:
The text was updated successfully, but these errors were encountered: