Comments (3)
Glad you like it! I think this is linked to #90 - it's pretty much by design.
Tofi isn't a normal window, it uses the layer-shell protocol. This means it doesn't interact with other windows in the normal way, and is more like part of the desktop - it's required for doing things like positioning itself on the screen.
It is possible to see the window in Hyprland, but not with hyprctl clients
- it's under hyprctl layers
, which should give you something like:
Monitor eDP-1:
Layer level 0 (background):
Layer level 1 (bottom):
Layer level 2 (top):
Layer level 3 (overlay):
Layer 34d7f7e0: xywh: 0 0 2880 1800, namespace: launcher
(though I'm not sure what you can do with that information, I'm not particularly familiar with Hyprland). What are you trying to do by finding the window?
For focus, you shouldn't be able to move keyboard focus away from tofi in the first place, as it asks for exclusive focus 😅 How are you managing to do that / what version of Hyprland are you on?
from tofi.
Oh my! Thanks for pointing all this out to me, is there anyway to make a donation?
It's possible to define layerrules in hyprland :)
This is exactly what I wanted.
For switching focus I simply press the keybinds for movefocus
I am on version 0.23.0beta-2
of hyprland-nvidia,
(from the aur)
I am using tofi version 0.8.1-1
my tofi config:
https://git.craftmenners.men/dotfiles/tree/config/hyprland/tofi/config
You'll find my hyprland config there as well if needed.
from tofi.
Oh my! Thanks for pointing all this out to me, is there anyway to make a donation?
No problem, I'm happy to help! I'm flattered that you'd ask, but no I haven't got anything like that set up. I've got a full-time job that pays pretty well, so there's no need for donations, but thanks for asking!
For switching focus I simply press the keybinds for movefocus
🤦 I'm amazed I didn't try that! For me, that does move focus, but it goes back to tofi as soon as I move the mouse (no clicking required). In either case, I think that's a Hyprland issue - the only thing tofi does is request exclusive keyboard focus, and the rest is up to the compositor.
In Sway, for example, pressing the keybinds to select a different window does nothing when tofi is open. I guess Hyprland should either do the same, or provide a bindable way to select a layer surface.
It's possible to define layerrules in hyprland :)
Ah neat! Useful to know that someone's actually using the namespace: launcher
bit. Just a warning that at some point in the future that'll go away when layer-shell becomes a stable protocol:
https://gitlab.freedesktop.org/wayland/wayland-protocols/-/merge_requests/28#note_1328417
(though probably not for quite a long time, given the current rate of progress).
from tofi.
Related Issues (20)
- che
- --auto-accept-single true should also close if there's nothing HOT 1
- Unable to open flatpak applications
- Segmentation Fault in GNOME HOT 3
- Running no match commands HOT 2
- Fully hide the input prompt + empty space?
- Minimal calculator function for tofi HOT 1
- `tofi-drun` does not list `.desktop`-file-missing apps, including some GUI and console apps
- Specify custom history file HOT 2
- Being able to put a title
- Segmentation fault when cache is not readable
- How do I make the window transparent? HOT 2
- Stretch issue with a taller geometry ratio on niri wm HOT 8
- -selected-row
- Text cuts at the bottom of the screen HOT 1
- Keyboard configurations not respected HOT 1
- Tofi app list not updating HOT 1
- Font size
- Tofi not opening anything HOT 1
- How is this tiny and simple? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tofi.