Comments (12)
I use Hyprland, and even if I dispatch "togglefloating" to it, it stays floating always.
I don't use Hyprland, so I can only guess the reason, maybe it requires window to be resizable to tile it? Unfortunately currently I set it to false, I have a testing branch that removes resizable as a side effect, but not released yet, I don't know if you are interested to build and try it: https://github.com/AlynxZhou/showmethekey/tree/click-through-switch.
from showmethekey.
I use Hyprland, and even if I dispatch "togglefloating" to it, it stays floating always.
I don't use Hyprland, so I can only guess the reason, maybe it requires window to be resizable to tile it? Unfortunately currently I set it to false, I have a testing branch that removes resizable as a side effect, but not released yet, I don't know if you are interested to build and try it: https://github.com/AlynxZhou/showmethekey/tree/click-through-switch.
Yep that tiles it. Thanks! :)
from showmethekey.
Even if I turn off the "Clickable" switch, the "Clickable" text is gone, but the keys still take up the same space as before, with taking up the empty space that was occupied by the "Clickable" text.
Is there a way to have the keys occupy all the available space?
from showmethekey.
Even if I turn off the "Clickable" switch, the "Clickable" text is gone, but the keys still take up the same space as before, with taking up the empty space that was occupied by the "Clickable" text.
Is there a way to have the keys occupy all the available space?
I am sorry, no solution, it's the title bar, window must have a title bar (so you could drag it). See #17 (comment).
from showmethekey.
I use Hyprland, and even if I dispatch "togglefloating" to it, it stays floating always.
I don't use Hyprland, so I can only guess the reason, maybe it requires window to be resizable to tile it? Unfortunately currently I set it to false, I have a testing branch that removes resizable as a side effect, but not released yet, I don't know if you are interested to build and try it: https://github.com/AlynxZhou/showmethekey/tree/click-through-switch.
Yep that tiles it. Thanks! :)
It should be easy to allow this in master, but I am thinking about merging the branch into master, if you have time please read #17 (comment) and give some opinion (because you just used the branch), thanks.
from showmethekey.
Even if I turn off the "Clickable" switch, the "Clickable" text is gone, but the keys still take up the same space as before, with taking up the empty space that was occupied by the "Clickable" text.
Is there a way to have the keys occupy all the available space?I am sorry, no solution, it's the title bar, window must have a title bar (so you could drag it). See #17 (comment).
Thank you.
I don't understand this point.
For instance, as an image viewer I use feh, which does not seem to have a title bar? Also mpv does not seem to have one? Also kitty does not have one?
I think I render all of those without window decorations.
I can drag them / move them (not sure if they are exactly the same) with mouse bindings
from showmethekey.
Even if I turn off the "Clickable" switch, the "Clickable" text is gone, but the keys still take up the same space as before, with taking up the empty space that was occupied by the "Clickable" text.
Is there a way to have the keys occupy all the available space?I am sorry, no solution, it's the title bar, window must have a title bar (so you could drag it). See #17 (comment).
Thank you.
I don't understand this point.
For instance, as an image viewer I use feh, which does not seem to have a title bar? Also mpv does not seem to have one? Also kitty does not have one?
I think I render all of those without window decorations.
I can drag them / move them (not sure if they are exactly the same) with mouse bindings
It may be OK to remove titlebar from a GtkWindow, but not all people use Hyprland and get used to move window with a key pressed, for most people dragging window with titlebar is naturally, so I decide to keep it.
from showmethekey.
It may be OK to remove titlebar from a GtkWindow, but not all people use Hyprland and get used to move window with a key pressed, for most people dragging window with titlebar is naturally, so I decide to keep it.
I think it's a feature of all tiling window managers, not only Hyprland (i3, sway, bspwm, etc.).
Maybe we can have a command line switch that remove windows decoration. So who uses a floating window manager can have the decorations.
from showmethekey.
It may be OK to remove titlebar from a GtkWindow, but not all people use Hyprland and get used to move window with a key pressed, for most people dragging window with titlebar is naturally, so I decide to keep it.
I think it's a feature of all tiling window managers, not only Hyprland (i3, sway, bspwm, etc.).
The problem is most users are using floating window manager.
Maybe we can have a command line switch that remove windows decoration. So who uses a floating window manager can have the decorations.
It could, but I don't want to take time on this, the title bar is little and should not waste too much screen space. Maybe I could make it smaller, but I have little interests on removing it.
from showmethekey.
It may be OK to remove titlebar from a GtkWindow, but not all people use Hyprland and get used to move window with a key pressed, for most people dragging window with titlebar is naturally, so I decide to keep it.
I think it's a feature of all tiling window managers, not only Hyprland (i3, sway, bspwm, etc.).
The problem is most users are using floating window manager.
Maybe we can have a command line switch that remove windows decoration. So who uses a floating window manager can have the decorations.
It could, but I don't want to take time on this, the title bar is little and should not waste too much screen space. Maybe I could make it smaller, but I have little interests on removing it.
Would you consider a PR that creates a new switch "Show Title Bar" in the main window?
from showmethekey.
It may be OK to remove titlebar from a GtkWindow, but not all people use Hyprland and get used to move window with a key pressed, for most people dragging window with titlebar is naturally, so I decide to keep it.
I think it's a feature of all tiling window managers, not only Hyprland (i3, sway, bspwm, etc.).
The problem is most users are using floating window manager.
Maybe we can have a command line switch that remove windows decoration. So who uses a floating window manager can have the decorations.
It could, but I don't want to take time on this, the title bar is little and should not waste too much screen space. Maybe I could make it smaller, but I have little interests on removing it.
Would you consider a PR that creates a new switch "Show Title Bar" in the main window?
I personally don't consider it, because many people don't use it. The initial design is a floating window, it happens to be able to tile now, but not the main goal. Sorry.
from showmethekey.
The window is resizable so user should be able to tile it, and I won't consider to remove window decorations (because I am a floating WM user), so I'll close this.
from showmethekey.
Related Issues (20)
- ../meson.build:87:8: ERROR: Program 'gtk4-update-icon-cache' not found or not executable HOT 2
- Custom keyboard layout HOT 4
- [Bug] Settings schema 'one.alynx.showmethekey' is not installed Trace/breakpoint trap HOT 1
- /usr/local HOT 2
- Option to hide boxes around keys HOT 4
- Doesn't understand Capslock bound to Escape HOT 2
- Meson fails to build on Debian 12 with `undefined reference to g_ptr_array_sort_values` error HOT 20
- Suggestion for mouse clicks HOT 2
- 如何调整字体大小? HOT 1
- Please add shortcut to toggle pause feature HOT 1
- Mapped key shown wrong. HOT 4
- clickable margin/padding is staing after i remove clickable tick from setting its look weird HOT 2
- Integrate with Mechvibes [Feature Request] HOT 1
- Fails to display non-standard buttons HOT 4
- 单独的 ctrl+shift 没有被视为组合键 HOT 2
- disabled Width and Height HOT 3
- Compact view HOT 2
- Hide "clickable" HOT 3
- 不适配系统浅色模式,文字和窗口背景撞色 HOT 1
- [Feature Request] Show only invisible keys HOT 2
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 showmethekey.