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

Integrate shutdown_menu #45

Open
moritz-weber opened this issue Jun 19, 2019 · 9 comments

Comments

@moritz-weber
Copy link

commented Jun 19, 2019

https://github.com/vivien/i3blocks-contrib/tree/master/shutdown_menu

This thing makes shutdown, reboot etc. much easier. Instead of memorizing different key combinations, I just open this menu:
bindsym $mod+Shift+Delete exec ~/.config/i3blocks/shutdown_menu/shutdown_menu

Btw: It looks amazing with your Rofi theme.

@kgilmer

This comment has been minimized.

Copy link
Member

commented Jun 19, 2019

Dope! I will try it out this weekend and let you know what I think. Thank you!

@kgilmer kgilmer added the enhancement label Jun 19, 2019

@dustinromey

This comment has been minimized.

Copy link

commented Jun 19, 2019

For what it’s worth, I have this set up on my machines. Works with the keyboard, not the mouse. To be specific, I can open the menu with the mouse, but the options in the menu only work with keyboard.

It could be a config mistake on my part.

I was able to pair it with the Font Awesome power icon very easily. Looks pretty good pretty easily.

@im7FFY

This comment has been minimized.

Copy link

commented Jun 23, 2019

Why don't you just use the commands poweroff, reboot? I think (tell me if I'm wrong), that the more you implement features, the more your system will be slower, and for the small (non existent?) improvement with this menu I don't think it's a great move .

PS: English is not my native language, so sry if I write like a 7 years old kid that might sound aggressive cause I'm def not, I just want to share opinion.

@moritz-weber

This comment has been minimized.

Copy link
Author

commented Jun 23, 2019

Why don't you just use the commands poweroff, reboot?

It really looks nice 😄 Then the actions became muscle memory. I just open it, hit the arrow keys a few times, then hit enter. I think, it's less (mental) effort than opening a terminal and typing the commands.

the more you implement features, the more your system will be slower

In general, yes. If you open this menu only via keyboard shortcut though, it is only being called, when you need it. I am pretty sure, it won't affect general system performance.

(I just had to attach a screenshot, because I really like it 😄)
shutdown_menu

@kgilmer

This comment has been minimized.

Copy link
Member

commented Jul 1, 2019

It does look very nice @moritz-weber . I'm heads down on the Xresources effort but will look more closely at this once that's complete.

@kgilmer

This comment has been minimized.

Copy link
Member

commented Aug 18, 2019

I have found that on some computers, pressing the power button causes a shutdown menu to appear, presumably from gnome-flashback. I will do some more research into how we maybe able to use this built-in feature consistently, or integrate the rofi menu if not.

@kgilmer

This comment has been minimized.

Copy link
Member

commented Aug 19, 2019

gnome-session-quit has options to specify logout, shutdown, and reboot. When run we get a confirmation dialog that looks like this:

Screenshot from 2019-08-18 22-46-39

If I add desktop shortcuts for these three options, they are selectable from the standard Rofi menu.

What I like about this approach

  • confirmation dialog with timeout, option to lock screen
  • uses system UI
  • simple

What I don't like

  • not as slick as a dedicated rofi menu

It would be also possible to add keybindings to these actions to perform the same activity. In fact, the existing lout-out keybinding is not ideal because at times I hit it by accident and am instantly logged out of my session.

@brandondees

This comment has been minimized.

Copy link

commented Aug 22, 2019

I'd greatly appreciate a built in GUI or rofi menu for all these things, because out of the box I seem not to have trivial access to standby/hibernate options, locking screen with a keybinding is fine but I keep having to look it up each time because I don't have to do it often, etc.

It's touches like these that make regolith a way nicer option for me than a DIY i3wm config, since I really don't always have the time for tinkering with that.

@kgilmer

This comment has been minimized.

Copy link
Member

commented Aug 22, 2019

Thanks for the feedback @brandondees! Yes, we're working on this just this week in fact. We should have something soon.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.