Compare commits
No commits in common. "a9671d83900f8268e78b4ed84fffb005b82e5df7" and "f011d83234c0c0ee2d2a0279c8ddca5febd82a53" have entirely different histories.
a9671d8390
...
f011d83234
48
README
48
README
|
@ -1,6 +1,48 @@
|
|||
# Pendragon - dynamic window manager
|
||||
pendragon is a config of dwm, which is an extremely fast, small, and dynamic window manager for X.
|
||||
dwm - dynamic window manager
|
||||
============================
|
||||
dwm is an extremely fast, small, and dynamic window manager for X.
|
||||
|
||||
# Configuration
|
||||
|
||||
Requirements
|
||||
------------
|
||||
In order to build dwm you need the Xlib header files.
|
||||
|
||||
|
||||
Installation
|
||||
------------
|
||||
Edit config.mk to match your local setup (dwm is installed into
|
||||
the /usr/local namespace by default).
|
||||
|
||||
Afterwards enter the following command to build and install dwm (if
|
||||
necessary as root):
|
||||
|
||||
make clean install
|
||||
|
||||
|
||||
Running dwm
|
||||
-----------
|
||||
Add the following line to your .xinitrc to start dwm using startx:
|
||||
|
||||
exec dwm
|
||||
|
||||
In order to connect dwm to a specific display, make sure that
|
||||
the DISPLAY environment variable is set correctly, e.g.:
|
||||
|
||||
DISPLAY=foo.bar:1 exec dwm
|
||||
|
||||
(This will start dwm on display :1 of the host foo.bar.)
|
||||
|
||||
In order to display status info in the bar, you can do something
|
||||
like this in your .xinitrc:
|
||||
|
||||
while xsetroot -name "`date` `uptime | sed 's/.*,//'`"
|
||||
do
|
||||
sleep 1
|
||||
done &
|
||||
exec dwm
|
||||
|
||||
|
||||
Configuration
|
||||
-------------
|
||||
The configuration of dwm is done by creating a custom config.h
|
||||
and (re)compiling the source code.
|
||||
|
|
19
config.def.h
19
config.def.h
|
@ -95,18 +95,13 @@ static const Key keys[] = {
|
|||
{ MODKEY, XK_F3, spawn, SHCMD("pamixer -i 5 -u && notify-send -u normal -a \"volume\" \"$(pamixer --get-volume-human)\"") },
|
||||
{ MODKEY, XK_F4, spawn, SHCMD("brightnessctl -d \"amdgpu_bl1\" set 10%- && notify-send -u normal -a \"brightness\" \"$(brightnessctl -d 'amdgpu_bl1' get)\"") },
|
||||
{ MODKEY, XK_F5, spawn, SHCMD("brightnessctl -d \"amdgpu_bl1\" set +10% && notify-send -u normal -a \"brightness\" \"$(brightnessctl -d 'amdgpu_bl1' get)\"") },
|
||||
{ MODKEY, XK_F6, spawn, SHCMD("$HOME/nixos/scripts/usb_guest.sh") },
|
||||
{ MODKEY, XK_F7, spawn, SHCMD("$HOME/nixos/scripts/susuwatari/client.sh") },
|
||||
{ MODKEY, XK_F8, spawn, SHCMD("$HOME/nixos/scripts/hdmi_paint.sh") },
|
||||
{ MODKEY, XK_F9, spawn, SHCMD("$HOME/nixos/scripts/screen_sleep.sh") },
|
||||
{ MODKEY, XK_Print, spawn, SHCMD("$HOME/nixos/scripts/screenshot.sh") },
|
||||
{ MODKEY, XK_t, spawn, SHCMD("$HOME/nixos/scripts/task_manager.sh") },
|
||||
{ MODKEY, XK_n, spawn, SHCMD("$HOME/nixos/scripts/notes.sh") },
|
||||
{ MODKEY, XK_k, spawn, SHCMD("$HOME/nixos/scripts/code.sh") },
|
||||
{ MODKEY, XK_s, spawn, SHCMD("$HOME/nixos/scripts/susuwatari_call.sh") },
|
||||
{ MODKEY, XK_b, spawn, SHCMD("$HOME/nixos/scripts/bookmarks_get.sh") },
|
||||
{ MODKEY|ShiftMask, XK_b, spawn, SHCMD("$HOME/nixos/scripts/bookmarks_add.sh") },
|
||||
{ MODKEY, XK_p, spawn, SHCMD("$HOME/nixos/scripts/pass_get.sh") },
|
||||
{ MODKEY, XK_F6, spawn, SHCMD("~/nixos/scripts/usb_guest.sh") },
|
||||
{ MODKEY, XK_F7, spawn, SHCMD("~/nixos/scripts/susuwatari/client.sh") },
|
||||
{ MODKEY, XK_F8, spawn, SHCMD("~/nixos/scripts/hdmi_paint.sh") },
|
||||
{ MODKEY, XK_F9, spawn, SHCMD("~/nixos/scripts/screen_sleep.sh") },
|
||||
{ MODKEY, XK_Print, spawn, SHCMD("~/nixos/scripts/screenshot.sh") },
|
||||
{ MODKEY, XK_t, spawn, SHCMD("~/nixos/scripts/task_manager.sh") },
|
||||
{ MODKEY, XK_n, spawn, SHCMD("~/nixos/scripts/notes.sh") },
|
||||
TAGKEYS( XK_ampersand, 0)
|
||||
TAGKEYS( XK_eacute, 1)
|
||||
TAGKEYS( XK_quotedbl, 2)
|
||||
|
|
19
config.h
19
config.h
|
@ -95,18 +95,13 @@ static const Key keys[] = {
|
|||
{ MODKEY, XK_F3, spawn, SHCMD("pamixer -i 5 -u && notify-send -u normal -a \"volume\" \"$(pamixer --get-volume-human)\"") },
|
||||
{ MODKEY, XK_F4, spawn, SHCMD("brightnessctl -d \"amdgpu_bl1\" set 10%- && notify-send -u normal -a \"brightness\" \"$(brightnessctl -d 'amdgpu_bl1' get)\"") },
|
||||
{ MODKEY, XK_F5, spawn, SHCMD("brightnessctl -d \"amdgpu_bl1\" set +10% && notify-send -u normal -a \"brightness\" \"$(brightnessctl -d 'amdgpu_bl1' get)\"") },
|
||||
{ MODKEY, XK_F6, spawn, SHCMD("$HOME/nixos/scripts/usb_guest.sh") },
|
||||
{ MODKEY, XK_F7, spawn, SHCMD("$HOME/nixos/scripts/susuwatari/client.sh") },
|
||||
{ MODKEY, XK_F8, spawn, SHCMD("$HOME/nixos/scripts/hdmi_paint.sh") },
|
||||
{ MODKEY, XK_F9, spawn, SHCMD("$HOME/nixos/scripts/screen_sleep.sh") },
|
||||
{ MODKEY, XK_Print, spawn, SHCMD("$HOME/nixos/scripts/screenshot.sh") },
|
||||
{ MODKEY, XK_t, spawn, SHCMD("$HOME/nixos/scripts/task_manager.sh") },
|
||||
{ MODKEY, XK_n, spawn, SHCMD("$HOME/nixos/scripts/notes.sh") },
|
||||
{ MODKEY, XK_k, spawn, SHCMD("$HOME/nixos/scripts/code.sh") },
|
||||
{ MODKEY, XK_s, spawn, SHCMD("$HOME/nixos/scripts/susuwatari_call.sh") },
|
||||
{ MODKEY, XK_b, spawn, SHCMD("$HOME/nixos/scripts/bookmarks_get.sh") },
|
||||
{ MODKEY|ShiftMask, XK_b, spawn, SHCMD("$HOME/nixos/scripts/bookmarks_add.sh") },
|
||||
{ MODKEY, XK_p, spawn, SHCMD("$HOME/nixos/scripts/pass_get.sh") },
|
||||
{ MODKEY, XK_F6, spawn, SHCMD("~/nixos/scripts/usb_guest.sh") },
|
||||
{ MODKEY, XK_F7, spawn, SHCMD("~/nixos/scripts/susuwatari/client.sh") },
|
||||
{ MODKEY, XK_F8, spawn, SHCMD("~/nixos/scripts/hdmi_paint.sh") },
|
||||
{ MODKEY, XK_F9, spawn, SHCMD("~/nixos/scripts/screen_sleep.sh") },
|
||||
{ MODKEY, XK_Print, spawn, SHCMD("~/nixos/scripts/screenshot.sh") },
|
||||
{ MODKEY, XK_t, spawn, SHCMD("~/nixos/scripts/task_manager.sh") },
|
||||
{ MODKEY, XK_n, spawn, SHCMD("~/nixos/scripts/notes.sh") },
|
||||
TAGKEYS( XK_ampersand, 0)
|
||||
TAGKEYS( XK_eacute, 1)
|
||||
TAGKEYS( XK_quotedbl, 2)
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
# dwm version
|
||||
VERSION = "pendragon-1.9.4"
|
||||
VERSION = "pendragon-1.8"
|
||||
|
||||
# Customize below to fit your system
|
||||
|
||||
|
|
Loading…
Reference in a new issue