hyprwm / Hypr

Hypr is a tiling window manager written in modern C++.
BSD 3-Clause "New" or "Revised" License
1.05k stars 32 forks source link

Nothing in the Wiki about logging out #123

Closed Neigdoig closed 5 months ago

Neigdoig commented 5 months ago

My apologies about this, especially in Issue #122, for I am very new to Hypr.

I'm making my configuration use the same hotkeys and keychords as i3 (my main WM), but I don't see anything in the documentation about logging out of Hypr. I'm still learning, so please bear with me on that.

Is there a command one could give to Hypr to log out of it? If not, is it possible for this to happen in the future?

vaxerski commented 5 months ago

killall Xorg?

Neigdoig commented 5 months ago

I'll take a look once I have time.

Edit: So it does work, but I have to sudo it every time. I'll figure out how to get that working.

Edit 2: So all I had to do was echo (PASSWORD) | sudo -S killall Xorg. The confusion didn't last for long. Maybe add that to the Wiki somehow?

vaxerski commented 5 months ago

where?

Neigdoig commented 5 months ago

In my hypr.conf file, I went ahead and added bind=SUPERSHIFT,Q,exec,echo {PASSWORD} | sudo -S killall Xorg. Otherwise, if you're talking about something else (or somewhere else), let me know.

vaxerski commented 5 months ago

I meant where do you want it put in the wiki

Neigdoig commented 5 months ago

I'd say probably under Configuring Hypr would be the best bet. The specific subsection, that I leave to you.

vaxerski commented 5 months ago

image already there tho reading it

Neigdoig commented 5 months ago

Huh, maybe clarify that underneath it as a backup for if it doesn't work.

vaxerski commented 5 months ago

added