Code Monkey home page Code Monkey logo

dtao's People

Contributors

djpohly avatar sevz17 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

dtao's Issues

Render larger buffer for scaled surfaces

If the output on which dtao is displayed has a scale factor, the bar should be rendered at a higher resolution to avoid making the compositor resample it up to size.

-x, -y screen positioning

Dzen allows negative -x and -y values to position from the opposite side, so our -b can be replaced with -y -1.
However, the bar seems to be prevented from starting beyond the bottom border.
So y -$H will, for $H < $HEIGHT, keep the bar right at the bottom, and otherwise leave a $((H - HEIGHT)) gap.

I find this behaviour odd. What we could instead do is reflect the height (i.e. implicitly raise by $HEIGHT if anchored to bottom) such that dtao -y $H and dtao -y -$H will both be $Hpx from their respective edge regardless of $HEIGHT.

Of course, this is incompatible with dzen. There's also the question of whether flipping the y should start from '-1' or '-0', but that's just a minor implementation detail.

will probably implement the offsetting with zwlr_layer_surface_v1 set_margin

Opinions?

cannot have closed parentheses in inline function argument

The first ) after the start of an inline command is interpreted as the end.

For example,
^ca(1, echo "$(tty)" > randomfile)
is interpreted as
^ca( 1, echo "$(tty )
and the remaining " > randomfile) is printed as plaintext.

I haven't looked too deeply into how dzen handles this, probably with something like ^), but that'll burden the parser with more complexity than I'm comfortable with.

Maybe at this point I should be using a shellscript (that doesn't have ) in its name).

No default for PREFIX in the Makefile

There is no default value for PREFIX in the Makefile (e.g. PREFIX ?= /usr/local), so if a user runs make install without specifying a PREFIX value, it will install the binary to /bin and the manpage to /share.

Compile on freebsd.

I'm getting a difficulty to compile dtao on freebsd, I keep getting this error :

make error : exec (client-header) , no such file or directory.

I'm sure all dependencies are satisfied. I suspect Makefile format not fully suitable with freebsd.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.