ghifarit53 / tokyonight-vim

A clean, dark vim colorscheme that celebrates the lights of downtown Tokyo at night, based on a VSCode theme by @enkia with the same name [Archived because I'm no longer using this]
MIT License
553 stars 49 forks source link

Port to rofi #6

Open RossComputerGuy opened 3 years ago

RossComputerGuy commented 3 years ago

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 commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

@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 commented 3 years ago

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 commented 3 years ago

@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 commented 3 years ago

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

ghifarit53 commented 3 years ago

@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 commented 3 years ago

screenshot Now it worked