Skip to content

The repo used for generating the "Default Tag Apps" dwm patch, as seen on the suckless.org website.

License

Notifications You must be signed in to change notification settings

NlGHT/dwm-default-tag-apps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

default tag applications

This repo is for the default tag apps patch as seen on the official dwm.suckless.org patch list. It is here to serve as an easy way to try dwm with the patch applied but also for submitting issues and pull requests.

If you are new to dwm, you can find out what it is and read more about how it works here.

Description

The patch's purpose is for those who dedicate each tag to certain general tasks. Tag 1 might be the tag used for all terminal tasks, tag 2 might be for internet/browser things etc. When you have these tags already mapped out, generally you open one application more than any other in each tag. This patch aims at harnessing this workflow for improvement of speed and practicality.

Usage

Setting a key to spawndefault will launch the default application set for the tag you are currently on. You can set the applications to be run for each tag in config.h as seen here:

*defaulttagapps[] = { "st", "librewolf", "onlyoffice-desktopeditors", "nautilus", NULL, "lutris", "krita", "ardour", "mirage" };

The example keyboard shortcut included is Mod+s but of course feel free to change it to whatever you want.

Currently multi-monitor is supported up to 8. You can change this by changing the size of lastchosentag[8] and previouschosentag[8] in dwm.c.

You can quickly try out the patch by compiling with sudo make install in the project directory.

Download

Please see the repo releases for the latest patch. Alternatively you will find all the major patch versions on the official suckless patch page.