Comments (3)
@Lindenk thank you for this. I think I just made what you want but I really would like to see what tools would benefit from this (I tried to test it using a tool named maim
but it was just a meaningless test). I added $YABAR_BLOCK_X
, $YABAR_BLOCK_Y
, $YABAR_BLOCK_WIDTH
because $YABAR_BLOCK_HEIGHT
is the same as the bar height. X and Y env variables are currently the absolute values on the screen.
from yabar.
I changed YABAR_BLOCK_X
to be always the start absolute x of the block instead of the exact press position. Also YABAR_BLOCK_Y
is the absolute y position just below the block in case of top bar or just above the block in case of bottom bar. This, I guess, makes more sense to draw your window-on-button-press just below or above the bar and consequently not drawing it inside yabar area.
from yabar.
Sweet. That looks like exactly what I was thinking. Some of the inspiration for the idea came from configurations for calendars or volume sliders that appeared when a block was clicked on (for example, this calendar made with dzen2)
from yabar.
Related Issues (20)
- Transparency Problem HOT 5
- Support for playerctl 2.0 HOT 1
- Battery not showing on mac
- ya_int_get_wireless_info returns weird numbers HOT 1
- cleaning yabar
- Yabar background not work correctly
- Is Yabar aware Locale? HOT 1
- Yabar dumped core
- Random frequent crashes : malloc(): mismatching next->prev_size (unsorted) HOT 5
- Is it possible to set bar height as a percentage of the current resolution height?
- coredump: ya_draw_pango_text HOT 5
- Yabar messes up windows in Herbstluftwm HOT 1
- is this project still alive or is is more or less dead?
- Do not hide when fullscreen in bspwm
- failing to compile
- yabar causing problems when home-manager in nixos reload systemd
- Configure yabar to show 9 workspaces in i3
- YABAR_VOLUME HOT 1
- Yabar fails bottom placement HOT 2
- Drop-down Terminals Fail while Yabar is Active
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 yabar.