5digits / dactyl

Pentadactyl and other related Gecko extensions
Other
467 stars 98 forks source link

Is there a way to hide the "passthrough" status bar upon fullscreen of an embedded youtube video from passthrough mode? #193

Open krompus opened 7 years ago

krompus commented 7 years ago

Here's a screenshot of what I'm referring to: https://ptpb.pw/3b0T.png (that woman's hand is not inside that panda's bum).

The escape key will exit fullscreen, but Ctrl-[ will remove the bar. I'd just like to automate this if possible.

Cheers!

ntnn commented 7 years ago
    au! Fullscreen * if <state> != true
                \   set guioptions+=s
                \ else
                \   set guioptions-=s
                \ endif

Hides the status bar at the bottom in fullscreen mode when you enter it and shows it again when you leave it.

krompus commented 7 years ago

Ah, very nice, thank you! Where would I put this?

ntnn commented 7 years ago

In your .pentadactylrc.

On 2016-11-05 19:08, krompus wrote:

Ah, very nice, thank you! Where would I put this?

You are receiving this because you commented. Reply to this email directly or view it on GitHub: https://github.com/5digits/dactyl/issues/193#issuecomment-258655537

/"\ ASCII Ribbon Campaign \ / - against HTML emails X - against proprietory attachments / \ http://en.wikipedia.org/wiki/ASCII_Ribbon_Campaign

krompus commented 7 years ago

Ah, sorry for taking so long to respond; I've popped this in my .pentadactylrc, but it doesn't seem to do anything?

madand commented 7 years ago

@krompus please try this version, witch works for me:

autocmd! Fullscreen *
\ set guioptions-=s
\ if <state> != true
\   set guioptions+=s
\ endif

After editing the .pentadactylrc you have to restart the browser.

krompus commented 7 years ago

Thanks for your response, but alas, this does not work either.