GithubHelp home page GithubHelp logo

axyolotl / sw Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 11 KB

๐Ÿ™ˆ Automatic window hiding daemon/supervisor for X11.

License: MIT License

Makefile 17.42% Roff 9.72% C 72.86%

sw's Introduction

sw

Automatic window hiding daemon/supervisor for X11. It works by listening to X11 remap and destroy events and comparing the PID of parent windows to decide if a window should be hidden or not until the child window is destroyed.

Dependencies

  • libxcb
  • make, cc or any other compiler/linker

You also need libxcb-res on Linux

Installation

On Linux, OpenBSD, and NetBSD, you need to uncomment two OS-specific lines in config.mk before compiling this.

FreeBSD does not need any changes.

$ git clone https://code.axyria.dev/sw.git && cd sw
$ doas make clean install

Since this is a background process, you should add it to your startup script or any other supervisor method. By default, only applications with the st-256color class name are going to be swallowed. You can change this by editing the config.h file.

Untested on Linux and OpenBSD. Please report any issues, if any are found.

Manual

This is also available as a manual page. You may want to read it through man sw.

sw's People

Watchers

 avatar

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.