Compare commits

...

10 commits

Author SHA1 Message Date
WanderingPenwing a9671d8390 removed binary 2024-08-08 15:14:39 +02:00
WanderingPenwing ba911e65f1 changed to HOME 2024-08-08 14:29:52 +02:00
WanderingPenwing 1d957b7d2d added bookmarks shortcut 2024-08-07 19:00:29 +02:00
WanderingPenwing 80d4ec55be test 2024-08-07 17:37:17 +02:00
WanderingPenwing bb12cb6598 edited config.def 2024-08-07 17:36:55 +02:00
WanderingPenwing 0ee6d2248b added susuwatari query 2024-08-07 17:36:18 +02:00
WanderingPenwing 613a7930f3 trying to leave binary 2024-08-07 02:02:26 +02:00
WanderingPenwing f4524fcddd updated readme 2024-08-07 02:00:53 +02:00
WanderingPenwing 68563b5cda changed version 2024-08-06 12:19:46 +02:00
WanderingPenwing 341a59b199 added code shortcut 2024-08-06 12:18:54 +02:00
5 changed files with 28 additions and 60 deletions

48
README
View file

@ -1,48 +1,6 @@
dwm - dynamic window manager
============================
dwm is an extremely fast, small, and dynamic window manager for X.
# Pendragon - dynamic window manager
pendragon is a config of dwm, which is an extremely fast, small, and dynamic window manager for X.
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
-------------
# Configuration
The configuration of dwm is done by creating a custom config.h
and (re)compiling the source code.

View file

@ -95,13 +95,18 @@ 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("~/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") },
{ 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") },
TAGKEYS( XK_ampersand, 0)
TAGKEYS( XK_eacute, 1)
TAGKEYS( XK_quotedbl, 2)

View file

@ -95,13 +95,18 @@ 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("~/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") },
{ 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") },
TAGKEYS( XK_ampersand, 0)
TAGKEYS( XK_eacute, 1)
TAGKEYS( XK_quotedbl, 2)

View file

@ -1,5 +1,5 @@
# dwm version
VERSION = "pendragon-1.8"
VERSION = "pendragon-1.9.4"
# Customize below to fit your system

BIN
dwm.o

Binary file not shown.