Git Product home page Git Product logo

dwm's Introduction

Eorus dwm Build - dynamic window manager

For Thinkpad X220 I've tried to keep dwm as minimal as I can to use screen real estate and keyboard actions.

Patches I've Used

Font

static const char *fonts[] = { "Source Code Pro:size=12:style=Bold:antialias=true:autohint=false" };

Main Keybindings

MODKEY = Super

Keybinding Action
MODKEY + RETURN opens terminal (st)
MODKEY + d opens dmenu
MODKEY + SHIFT + d opens passmenu
MODKEY + SHIFT + RETURN cycle master/stack
MODKEY + q quits window/program
MODKEY + BACKSPACE powermenu (opens sysact locak, logout, restart dwm)
MODKEY + SHIFT + q quits dwm
MODKEY + b hides the bar
MODKEY + 1-9 switch focus to workspace (1-9)
MODKEY + SHIFT + 1-9 send focused window to workspace (1-9)
MODKEY + j focus stack +1 (switches focus between windows in the stack)
MODKEY + k focus stack -1 (switches focus between windows in the stack)
MODKEY + h expands size of window
MODKEY + l shrinks size of window
MODKEY + z gapps -1 decrease the gap size
MODKEY + x gapps +1 increase the gap size

Layout Controls

Keybinding Action
MODKEY + SHIFT + i row layout
MODKEY + i column layout
MODKEY + TAB cycle layout (-1)
MODKEY + SHIFT + TAB cycle layout (+1)
MODKEY + SPACE change layout
MODKEY + SHIFT + SPACE toggle floating windows
MODKEY + t layout 1
MODKEY + f layout 2
MODKEY + m layout 3
MODKEY + a layout 4

Application Controls

Keybinding Action
MODKEY + w open brave browser
MODKEY + SHIFT + w open nmtui as root
MODKEY + r open ranger file manager
MODKEY + SHIFT + r open htop system monitor
MODKEY + e open neomutt mail client
MODKEY + SHIFT + e open abook addressbook
MODKEY + n open newsboat rss reader
MODKEY + v open vimwiki personal note taking wiki
MODKEY + SHIFT + m open ncmpcpp music player
MODKEY + c open calcurse personal calendar, organizer
MODKEY + SHIFT + c volume mute to default sink
MODKEY + p mpc toggle (mute for mpd)

Xsetroot Scripts for Status

Simple dwm statusbar shows brightness, volume, battery, date and time. Save it in an executable and start before exec dwm in xinitrc.


#!/bin/sh

# dwm statusbar
status () {

	echo -n "BAT: $(acpi -b | awk '{ split($5,a,":"); print substr($3,0,2), $4, "["a[1]":"a[2]"]" }' | tr -d ',') | $(date '+%Y-%m-%d %H:%M:%S')"
}

while :; do

xsetroot -name "🞼 $(expr $(cat /sys/class/backlight/intel_backlight/brightness) / 49) 奄 $(pactl list sinks | grep '^[[:space:]]Volume:' | head -n $(( $SINK + 1 )) | tail -n 1 | sed -e 's,.* \([0-9][0-9]*\)%.*,\1,')% $(status)"

	sleep 1

done &

more will be added...

dwm's People

Contributors

eorus avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.