Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plugin: Allow command executions after starting/finishing a pomodoro #18

Closed
vsund opened this issue Apr 6, 2017 · 10 comments
Closed

Plugin: Allow command executions after starting/finishing a pomodoro #18

vsund opened this issue Apr 6, 2017 · 10 comments

Comments

@vsund
Copy link

vsund commented Apr 6, 2017

Hey, first of all, I really like tomate-gtk. Imo it's the perfect mixture of simplicity and functionality for pomodoros.

But one thing I miss: When a pomodoro starts, I'd like to do some things (shut off all distractions etc) and when it finishes putting everything back to normal again. Since these things change often it doesn't make sense to do that as specific plugins, so a general plugin that allows executing some commands in a shell environment would solve all these things together.

Is such a plugin in scope of this project?

@eliostvs
Copy link
Owner

eliostvs commented May 2, 2017

I just create the plugin. I expect to do the release this week.

@eliostvs
Copy link
Owner

eliostvs commented May 9, 2017

I did the release yesterday. Tell me if you have any problems.

@vsund
Copy link
Author

vsund commented May 9, 2017

Yeah, installed it a few hours ago from the AUR. I wonder how I configure commands, and I can't find documentation on that :)

And besides, the link that points to the issues at the exec repository points to the issues of the alarm repository ;)

@eliostvs
Copy link
Owner

eliostvs commented May 9, 2017

Ow. I'll fix later today. In the Preferences > Extensions active the plugin. In the same window you'll see a new settings button that will be selectable when the plugin is selected. Click it and you'll the plugin settings window.

screen shot 2017-05-09 at 16 29 14

screen shot 2017-05-09 at 16 30 01

@vsund
Copy link
Author

vsund commented May 9, 2017

Interesting, I have no such little button in the right-bottom corner.
(I'm on Archlinux with i3.)

@eliostvs
Copy link
Owner

I'm using Arch with Gnome/Mate and the button do show for me. Can you open the app from the command line with the paramenter -v? When you click in the plugin it should display a message Activating settings for plugin Run Command in the terminal.

@vsund
Copy link
Author

vsund commented May 10, 2017

When I open the preferences window I get

DEBUG:2017-05-10 11:15:35,474:tomate_gtk.dialogs.preference:plugin StatusIcon added
DEBUG:2017-05-10 11:15:35,475:tomate_gtk.dialogs.preference:plugin Run Command added
DEBUG:2017-05-10 11:15:35,475:tomate_gtk.dialogs.preference:plugin Alarm added
DEBUG:2017-05-10 11:15:35,475:tomate_gtk.dialogs.preference:plugin Notify added

but nothing more when clicking on an extension or navigating between the two tabs.

@eliostvs
Copy link
Owner

I installed i3 and it seems to be working.
captura de tela de 2017-05-11 20-42-19

@vsund
Copy link
Author

vsund commented May 12, 2017

I installed it on my laptop (also Archlinux+i3) and it worked there. Then I tried it on my desktop pc and I couldn't reprocude the error, I think it was something with an old version that got used (I updated but it opened the old version though).

Now it works :) Sorry for the inconveniences. And thanks again for creating that plugin!


And btw: The link that points to the issues at the exec repository still points to the issues of the alarm repository ;)

@eliostvs
Copy link
Owner

Great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants