marcinjahn / gnome-peek-top-bar-on-fullscreen-extension

Gnome Extension that triggers top panel to show up on full screen apps when cursor hovers the top edge of the screen
MIT License
22 stars 0 forks source link

Option for bottom screen trigger #6

Open aasril opened 1 year ago

aasril commented 1 year ago

Hi, @marcinjahn. Thanks for the extension!

I'm using Dash to Panel extension and place the panel at the bottom of the screen. So, it'll be more intuitive and less awkward if the target for the mouse is at the bottom of the screen.

marcinjahn commented 1 year ago

Hi, thanks for your feedback. Yeah, I guess it makes sense to have configurable choice of trigger edge. I’ll have a look at that

peter-lyons-kehl commented 8 months ago

Thank you for Peek Top Bar on Fullscreen.

A use case for having the Panel at the bottom: Firefox in Full Screen mode (F11), where moving the mouse to the top shows the Firefox tabs & toolbar.

An alternative way to have the Panel at the bottom (instead of "Dash to Panel" extension) is with "Just Perfection" extension https://extensions.gnome.org/extension/3843/just-perfection/ (https://gitlab.gnome.org/jrahmatzadeh/just-perfection). There select Profile > Custom, and then at the bottom > tab > Customize > Panel Position > Bottom.

@aasril Side note: Why don't you use Dash To Panel's Intellihide? "Extensions" application > Dash to Panel > Panel Intellihide. It also has extra pressure settings (the wheel-like icon). (I'm new to Dash To Panel, so I don't have experience with it.)

@marcinjahn The above use case (without Dash To Panel's built-in Intellihide) is still useful (because Dash To Panel can get crowded).

Happy New Year.

momoRaza commented 7 months ago

Hi, @marcinjahn. Thanks for the extension!

I'm using Dash to Panel extension and place the panel at the bottom of the screen. So, it'll be more intuitive and less awkward if the target for the mouse is at the bottom of the screen.

Here is the modified extension.js.txt file to change the trigger from top to bottom just backup your original file, rename .txt to just .js and drop it in.

/home/[user_name]/.local/share/gnome-shell/extensions/peek-top-bar-on-fullscreen@marcinjahn.com

extension.js.txt

Logout and log back in and it should work. Cheers

aasril commented 5 months ago

@peter-kehl I'm aware with the Intellihe option but I was prefer to have the panel always visible.

@momoRaza thanks for sharing this. I'll try it later on. I'm on different machine with different DE and I don't have the previous laptop with me for now.

marcinjahn commented 5 months ago

I'm reopening, since it'd be great to have this configurable. I know I said I'd look into this, but I didn't really find time for that, and I doubt I would in the near future. If anyone wants to take this, PRs are welcome.