Skip to content

misobarisic/dwm

Repository files navigation

Welcome to dwm

License: MIT

About

This is my personal build of dwm.

Patches

  • autostart
  • bar-height
  • fibonacci layout
  • gaps
  • movestack
  • restartsig
  • custom patches (no .diff files)

Custom patches

  • modified drawbar, tile and view functions
  • barpos.c
  • gaps.c
  • tags.c
  • volume.c
  • more but I've forgotten

Expected packages

  • alacritty
  • dmenu
  • firefox
  • ranger
  • nemo
  • nitrogen
  • more (located in my dotfiles repo)

These are the packages which need to be installed on your system for the default keybindings to function properly. All bindings can easily be changed by modifying config.h.

Keybindings

By default MOD refers to the SUPER key.

Programs

Keybinding Action
MOD + P launch dmenu
MOD + O launch rofi
MOD + T launch alacritty
MOD + RETURN launch alacritty
MOD + SHIFT + RETURN launch st
MOD + W launch firefox
MOD + SHIFT + W launch firefox (private)
MOD + CONTROL + W launch brave
MOD + F launch ranger
MOD + SHIFT + F launch nemo
MOD + E launch thunderbird
MOD + R launch libreoffice
MOD + G launch gimp
MOD + V launch pavucontrol
MOD + SHIFT + V launch nitrogen

General keybindings

Keybinding Action
MOD + Q close window with focus
MOD + SHIFT + Q kill dwm
MOD + SHIFT + R restart dwm
MOD + B toggle status bar
MOD + SHIFT + B change status bar position
MOD + [1-9] go to tag [1-9]
MOD + SHIFT + [1-9] push window to tag [1-9]
MOD + K change stack focus by +1
MOD + J change stack focus by -1
MOD + SHIFT + K move window up by one in stack
MOD + SHIFT + J move window down by one in stack
MOD + H change master factor by -0.05
MOD + L change master factor by +0.05

Volume keybindings

Keybinding Action
MOD + SHIFT + M toggle sound on/off
MOD + SHIFT + I increase volume by 5%
MOD + SHIFT + U decrease volume by 5%

Tag keybindings

Keybinding Action
MOD + [1-9] go to tag [1-9]
MOD + SHIFT + [1-9] push window to tag [1-9]
MOD + CONTROL + [1-9] combination of the previous two
MOD + S go to next tag
MOD + A go to previous tag
MOD + SHIFT + S move window to next tag and go there
MOD + SHIFT + A move window to previous tag and go there
MOD + SHIFT + X move window to next tag
MOD + SHIFT + Y move window to previous tag

Layout keybindings

Keybinding Action
MOD + SHIFT + E toggle rounded corners
MOD + C tiling layout
MOD + D floating layout
MOD + X monocle (fullscreen) layout
MOD + SPACE toggle floating mode for window
MOD + M cycle layout +1
MOD + N cycle layout -1
MOD + CONTROL + K increase gap between windows
MOD + CONTROL + J decrease gap between windows
MOD + CONTROL + N reset gap between windows
MOD + CONTROL + I increase gap between layout and sides
MOD + CONTROL + U decrease gap between layout and sides
MOD + CONTROL + M reset gap between layout and sides

Mouse controls

Keybinding Action
LEFT CLICK + DRAG move window (floating mode)
RIGHT CLICK + DRAG resize window (floating mode)

Misc keybindings

Keybinding Action
PRINT SCREEN launch flameshot gui
MOD + PRINT SCREEN capture full screenshot
MOD + SHIFT + P start picom
MOD + SHIFT + O kill picom
MOD + SHIFT + L restart dwmblocks
MOD + SHIFT + Z increase backlight +5
MOD + SHIFT + T increase backlight -5

Author

Mišo Barišić

About

My custom build of dwm

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published