Code Monkey home page Code Monkey logo

hwwm's Introduction

Halfwit's Window Manager

Set of scripts around wmutils/wmgroup/watom that form my window manager Running wm

NOTE:

For this to work as expected, everything you use must have a dependable title. This is difficult in certain browsers, for example Surf. I set the window class for anything I invoke with shell; in st it looks like this: st -c "mytitle" -e myprogram.

CAUTION:

This will break in mysterious and wonderful ways. Welcome to X11!

Startup

xinitrc

# all things you start before
inotifybar &
exec hwwm

Installation

Requires watom, wmgroup, wmutils

PREFIX=myprefix make install

The inotifybar is very specific to my system, but serves as an interesting example of what is possible, with the various *bar scripts being ran on hooks or at the ends of scripts only, such that polling doesn't take too much CPU time. It currently works with battery and groups, but it is simple to add other items as well, see my dotfiles for examples.

Configuration

This presumes $XDG_CONFIG_HOME/x11 exists, with the following files:

tags

# name autofocus group
mpv false 1
firefox true 2
vim true 3
irc true 4
zathura true 5

size

width=1363
height=751
gaps=6
fulw=1354
fulh=743

window

weechat '%s %s %s %s' "350" "224" "454" "261"
# Any valid sh here to emit something in the form of
# See my dotfiles for examples
# <nameofwindow> '%s %s %s %s' <minx> <miny> <maxx> <maxy>

hwwm's People

Contributors

halfwit avatar

Watchers

James Cloos 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.