noctuid / tdrop

A Glorified WM-Independent Dropdown Creator
BSD 2-Clause "Simplified" License
1.1k stars 43 forks source link

Always on top hook with shortcut #334

Closed ghost closed 3 years ago

ghost commented 3 years ago

I'm using Arch, what is the command that I should run if I want alacritty to always stay on top, thanks

noctuid commented 3 years ago

See the example in the readme. Assuming wmctrl works for your window manager, you can used the -P flag or maybe the -C flag: tdrop -P 'wmctrl -i -r $wid -b add,above'....

ghost commented 3 years ago

THANKS I got the behavior I want, how do I get the behavior like in instantOS terminal ( or the terminal in the gif that opens up in the center with border ), system info : the operating system I'm on is Opensuse Tumbleweed with KDE as window manager and krohnkite extension for kwin

noctuid commented 3 years ago

I'm not familiar with the instantOS terminal. Can you more specifically describe the behavior you want and what tdrop command you tried?

ghost commented 3 years ago

in the middle of the screen like in the gif used for this repo

noctuid commented 3 years ago

I'm not sure what you want. The dropdown is at the top in the gifs, and I believe the gifs are just using the default geometry settings.

ghost commented 3 years ago

I meant the middle of the screen like a centered box apparently in the gif that happened just when the terminal was loading

noctuid commented 3 years ago

If you use percentages, you can center. Something like tdrop -y 25% -h 50% <terminal>