mylinuxforwork / dotfiles

The ML4W Dotfiles for Hyprland - An advanced and full-featured configuration for the dynamic tiling window manager Hyprland including an easy to use installation script for Arch based Linux distributions.
GNU General Public License v3.0
1.08k stars 81 forks source link

[FEATURE] Quake-like Drop down Terminal using Pyprland term (+other Pyprland stuff [zoom]) #155

Open Somnius opened 2 months ago

Somnius commented 2 months ago

[FEATURE] Quake-like Drop down Terminal using Pyprland term (+other Pyprland stuff [zoom]) I would like to check with @mylinuxforwork if he would like to add a dropdown terminal like yaquake / guake and others. From what i've checked Hyprland supports drop-down stuff since Feb'2023, that is why i searched for it! 😉

Suggestion I would suggest to utilize pyprland scripts in order to make it work.

Implementation It would be used with

bind = $mainMod SHIFT, Return, exec, pypr toggle term   # Quake-like drop-down terminal

Additional context I just like drop-down terminals 😁, and some stuff you can do with Pyprland scripts

but i'd suggest a zoom function from pypr using something like the following

bind = $mainMod SHIFT, Z, exec, pypr zoom   # Toggle Pyprland Zoom

Sorry i forgot, in order to use the above you need to configure scratchpads, the default configuration resides on the path $HOME/.config/hypr/pyprland.toml and for the above you can use the following for testing :

[pyprland]
plugins = [
  "scratchpads",
  "magnify",
]

One for the drop-down terminal and one for the zoom, then start the daemon with pypr & on i don't know exec-once or other way.

mylinuxforwork commented 2 months ago

I will try it out.

Somnius commented 2 months ago

I will try it out.

Did you have some time to play with it pyprland, it's fun! 😊