[go: up one dir, main page]

Skip to content
/ fwm Public

wmutils based shell scripts for window management

Notifications You must be signed in to change notification settings

lwilletts/fwm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

fwm

wmutils scripts to be used by themselves to provide a full environment or with a simple window manager that doesn't get in the way.

Dependencies:

Known good WMs:

Optional:

adjust

Adjusts position of window in a direction by the $JUMP amount set in fwmrc.

autotile

Quick and dirty script to autotile a monitor in a particular way.

closer

Focuses the closest window in a given direction. If no window is currently focused, mouse x y coordinates to find closest window.

cmdmenu

Mouse centric workflow menu. Create new terminals, move, resize and delete windows and their processes. Control clipboard and load from clipboard. Hardcoded wm font size for now.

drun

Open programs using dmenu either as a bar or as a floating window placed in the center of current screen.

envreact

Dynamic program launching / stopping based on other programs. Reads $HOME/.autoreact. Example configuration file:

cwm_run MidairCE
snip_run obs
picom_end MidairCE Tribes.exe DOOM ShadowOfTheTombRaider

focus

Focus a window id, or cycle through the ordered stack of windows on screen.

fwmrc

Sets various environment variables like colours, gaps, borderwidth etc.

group

Group script to hide and show windows. Reads $HOME/.autogroup. Example configuration file:

2 qutebrowser
3 discord
5 midair-win64-test.exe
7 obs

move

Move and position windows on a multihead setup. Follows mouse pointer for monitor information if no monitor given.

sshmenu

Dmenu populated list of hostnames to connect to. Defaults to using mosh, with ssh as backup.

under

Prints the id of the window currently underneath the cursor. If no window is found and has an argument passed to it, the given command will be executed. Useful for running dmenu scripts based on selection of the root window. You'll need to use the following example in your sxhkd if you want to bind to the mouse:

~button3
    under wmenu

tile

Tile windows on a given screen in a variety of manners. Still under development.

watcher

A window id event watcher wrapper around wew to provide added functionality:

  • sloppy focus
  • window placement
  • autogrouping of windows

Add watcher & to your xinitrc to load on X11 start.

Autogrouping is possible by populating $HOME/.autogroup with WM_CLASS and a group:

2 qutebrowser
3 discord
4 gl

wid

Find any visible window id whose WM_NAME or WM_CLASS properties fuzzy match a given string.

wmenu

dmenu selection menu for visible windows. Functions either as a bar, floating window based on mouse location, or as a floating window placed in the center of current screen.

src

A directory for small C programs and testing of ideas.

xwait

Infinite loop, used to hold X connection open.

patch

Small wmutils and other util patches I have collected.

About

wmutils based shell scripts for window management

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages