Giter Club home page Giter Club logo

sxiv-flexipatch's People

Contributors

4z3 avatar bakkeby avatar barthalion avatar baskerville avatar bobrippling avatar contyk avatar dwarfmaster avatar dwminer avatar elfring avatar falconindy avatar geneotech avatar hut avatar iagosrodrigues avatar iamleot avatar jwilk avatar mtreca avatar mwgamera avatar naglak avatar octos avatar quite avatar radhermit avatar rck avatar sdx23 avatar shua avatar squibbysquibby avatar sudo-nice avatar vain avatar vaygr avatar vially avatar xyb3rt avatar

Stargazers

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

Watchers

 avatar  avatar  avatar

sxiv-flexipatch's Issues

Transparency for background color?

I know it has no real purpose but would it be easy to implement an alpha channel for background color?
Something like rxvt-unicode has would be cool.
You can just set like [65]#282828 in Xresources and have real transparency that way.. :D

Get thumbnails squared AND normal with the same install?

I am total C illiterate..
I like this program tho and I have two seperate installs..
One for square thumbnails whch I use to pick my wallpaper and one with normal Thumbnails which I use to select games with game covers that are usually 9:16..
Is there a way to get both options in one install so I can get rid of one?
Sorry if this i a stupid question..

Is there an easy way to get negative width margin?

I want to use sxiv for games launching but steam only has 9:16 images for its games so I have to have one build for games launching without the square thumbs patch.
The problem now is, that thumbnail margin width=height regardless of image dimensions...
You see, this looks ugly.
2022-02-02_07-08-38
I tried to find something usefull in the thumbs.c and I can definitively see some math but I wouldn't know how to tell it that want w -20 or so xD
Maybe u're kind and can point me to the right direction where the math is I need to change. thx =)
I guess I would be fine hardcoding a nice 9:16 size for all sorts of covers.. Maybe I'll misuse it for movies as well then..

edit: changed padding with margin as the padding refers to the space between image & frame.
I can set the padding to a negative value.. so margin guess would be possible too xD

Switch to nsxiv

Hi, just wondering if u feel like continuing this flexipatch build. nsxiv v31 just released, so if u have the time maybe u can still play around with this c;

Window.c Missing Argument

When trying to make without the alpha patch i get this error

window.c:79:39: error: macro "DefaultColormap" requires 2 arguments, but only 1 given
   79 |                 DefaultColormap(e->dpy),

tried changing it to DefaultColormap(e->dpy,e->scr), and it seems to work

FIFO patch

I think you might be interested in FIFO/pipe support -- This patch allows you do read from stdin, so you can do something like curl 'https://link.to/image.png' | sxiv /dev/stdin which is much more saner than adding networking to the image viewer itself.

Also the xresources patch in this repo seems to be using NULL as a default fallback, as I mentioned here I believe it's better to use fg/bg as fallback in order to stay consistent with the default sxiv behavior.

Could you add that all images from a directory are loaded?

Someone patched his Sxiv so if you open a picture it automatically loads in all other pictures in the given directory so one can scroll through.. I know there is hacky stuff but this would be a nice addition to flexipatch imho..
https://github.com/qsmodo/sxiv

edit: I might be to stupid to get it to work right..
I know there is an -F option but I have to give it a list.. like -F file filelist.. then it works.. but it's hard to integrate into my filemanager..

One could do something like sxiv file "$(pwd)" but then u have a duplicate. I'd rather have an internal function..

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.