Giter Site home page Giter Site logo

Comments (5)

apprehensions avatar apprehensions commented on August 26, 2024

nvm i see now

from xfiles.

apprehensions avatar apprehensions commented on August 26, 2024
		case 'a':
			hide = 0;
			break;

IMO this should be configured by variables/Xresources as well.

from xfiles.

phillbush avatar phillbush commented on August 26, 2024

The "show all mode" to show hidden files can be set just like in ls(1) with the -a option:

$ xfiles -a

from xfiles.

apprehensions avatar apprehensions commented on August 26, 2024

i know!! but what about an option so i dont have to make a bin script override for a flag

from xfiles.

phillbush avatar phillbush commented on August 26, 2024

Idk. Showing hidden files is not a setting that is constant through invocations like the theme (configurable via X resources) or the name of the opener command (configurable via environment variables). Listing hidden entries is a setting highly probable to change between invocations, which is what command-line options are for.

If you want to always show hidden files, you can do like people do in ~/.bashrc and set up an alias for xfiles -a, or if you invoke XFiles from a keybinding or menu entry, just specify the -a option in the invocation.

In any case, you can change the hardcoded default in the code and install your modified version.
It is at the top of xfiles.c. Just change

static int hide = 1;

into

static int hide = 0;

from xfiles.

Related Issues (20)

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.