Skip to content
This repository has been archived by the owner on Mar 1, 2022. It is now read-only.

Port to rofi #6

Open
RossComputerGuy opened this issue Oct 12, 2020 · 8 comments
Open

Port to rofi #6

RossComputerGuy opened this issue Oct 12, 2020 · 8 comments

Comments

@RossComputerGuy
Copy link

Currently working on another port but this time its for rofi, can be found here. I can't get a screenshot of rofi easily but you can try it yourself. Like the other one, if there's any changes needed please tell me.

@zatchheems
Copy link

@RossComputerGuy Hello! Not an official contributor to this repo but I made the Alacritty port.

Unfortunately, it looks like you listed a dead link. I think a screenshot would be best in this situation since rofi is pretty specific to i3vm and seems like a lot of work to try out (considering the entire window manager required to test this).

@RossComputerGuy
Copy link
Author

RossComputerGuy commented Oct 17, 2020

@zatchheems New link is this since I merged a branch in my dotfiles. And I can't get a screenshot as I've already explained:

I can't get a screenshot of rofi easily but you can try it yourself. Like the other one, if there's any changes needed please tell me.

@zatchheems
Copy link

zatchheems commented Oct 18, 2020

@RossComputerGuy My main gripe here is that other rofi theme creators can get screenshots, and you didn't explain why so much as say you wouldn't do it—I won't fight you on this though.

In the meantime, you can put your theme in its own repo instead of your dotfiles so any links to your theme won't break again.

@RossComputerGuy
Copy link
Author

maim, the screenshot tool I'm using just doesn't work when trying to run rofi. I think rofi does some sort of keyboard blocking preventing other apps and stuff from working when rofi is running.

@ghifarit53
Copy link
Owner

ghifarit53 commented Oct 18, 2020

@RossComputerGuy I think you can delay maim with sleep before it takes screenshot (something like sleep 5 && maim). So you can open rofi in the delayed time. Also, I haven't tested it myself because I'm still busy this few days, so a screenshot will be really helpful

@RossComputerGuy
Copy link
Author

Yeah, that doesn't work. This is all I can get
screenshot

@ghifarit53
Copy link
Owner

@RossComputerGuy Apparently rofi working as an overlay (Therefore it's not managed by wm i guess). I get the screenshot working by specifying -modi window, the full command looks like this

rofi -dmenu -modi window -i & sleep 5 && maim screenshot.png (try changing the 5 to something if rofi takes longer to load)

@RossComputerGuy
Copy link
Author

screenshot
Now it worked

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

No branches or pull requests

3 participants