Skip to content

bmoneill/dwmtemplate

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dwmtemplate: Macro system for dwm

This program allows dwm users to create, store, and run macros (templates) in dwm (or any other window manager).

Building

sudo make install

Usage

dwmtemplate [-d directory] template
  • Each template is a list of xdotool commands, which will be run at once.
  • Use the -d flag to change the directory to look for templates in.
  • Templates are stored in ~/.local/share/dwmtemplate by default

Example

The following will open the default browser in tag 1 (using Super key as default modifier and default keybindings) and open github.com:

key Super_L+1 # switch to tag 1
exec $BROWSER "https://github.com" # open github.com in default browser

Further Reading

xdotool(1) on Ubuntu manuals

Bugs

If you find a bug, submit an issue, PR, or email me with a description and/or patch.

License

Copyright (c) 2025 Ben O'Neill ben@oneill.sh. This work is released under the terms of the MIT License. See LICENSE for the license terms.

About

A macro system for Linux window managers

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •