https://github.com/boneill02/dwmtemplate
A macro system for dwm using xdotool
https://github.com/boneill02/dwmtemplate
dwm linux suckless tiling-window-manager x11
Last synced: about 2 months ago
JSON representation
A macro system for dwm using xdotool
- Host: GitHub
- URL: https://github.com/boneill02/dwmtemplate
- Owner: boneill02
- License: mit
- Created: 2023-02-01T21:12:23.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2023-02-06T21:53:29.000Z (over 2 years ago)
- Last Synced: 2025-01-24T20:43:48.518Z (4 months ago)
- Topics: dwm, linux, suckless, tiling-window-manager, x11
- Language: Makefile
- Homepage:
- Size: 10.7 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dwmtemplate: Macro system for dwm
This program allows dwm users to create, store, and run macros in dwm,
which are useful if the user switches between similar programs and window
layouts often.## Usage
* `sudo make install`
* Create the directory `~/.local/share/dwmtemplate` and store template files in
there.
* Each macro template is a list of `xdotool` commands, which will be run at
once.
* Run a macro by executing `dwmtemplate [filename]` (using relative path to
`~/.local/share/dwmtemplate`).## 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
```