Skip to content

lfw/dwm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DWM 6.0_1.0

My modifications to [DWM] available at [suckless.org]. These mods are mostly around target code execution that allows me to run multiple virtual systems in a headless format and use X forwarding to unify them in 1 enviroment.

Features

  • Added function to set active target
  • Added array to set available targets (config.h)
  • Modified spawn() function to execute on remote target if applicable.
  • Added localSpawn() function to execute on local system regardless of target selected.
  • Appends status text with target name with multi-monitor support.

Using Local Spawn

For keybindings that you want to always run on the local system, use the localSpawn() function as follows:

{ MODKEY,   XK_n,	localSpawn,	{.v = (const char*[]){"amixer", "sset", "Master", "toggle", NULL} } },

Sample .ssh/config

I keep all my SSH XForwarding settings in my .ssh/config file so i can modify them on witout restarting DWM. I have fond the following settings to be optimal with my setup.

Host Remote1 
  ForwardX11 yes
  ForwardX11Trusted yes
  ForwardAgent yes

Host Remote2
  ForwardX11 yes
  ForwardX11Trusted yes
  ForwardAgent yes

Host Remote3
  User OtherUser
  IdentityFile ~/.ssh/OtherUser_rsa
  ForwardX11 yes
  ForwardX11Trusted yes
  ForwardAgent yes

Thoughts

Since the target configuration does nothing more then offer a prefixed command to anything being spawed, you might find some other uses for this suck as torifying commands. If you think of other ideas, let me know.

About

My tweaks to Suckless.org's DWM.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages