dotfiles

Configuration dotfiles
git clone git://git.wimdupont.com/dotfiles.git
Log | Files | Refs | README | LICENSE

commit c40792fa9e6916062c183f75df676c3c1b5253f9
parent 15deb55beb748d044a937c29ac0f392b9dc4a1a7
Author: Wim Dupont <wim@wimdupont.com>
Date:   Wed, 19 Jun 2024 23:10:19 +0200

added more xkeys

Diffstat:
Mdiffs/dwm-config.diff | 8+++++---
1 file changed, 5 insertions(+), 3 deletions(-)

diff --git a/diffs/dwm-config.diff b/diffs/dwm-config.diff @@ -1,5 +1,5 @@ diff --git a/config.def.h b/config.def.h -index cfc6891..0b00ab5 100644 +index cfc6891..bd4d7f5 100644 --- a/config.def.h +++ b/config.def.h @@ -1,14 +1,14 @@ @@ -35,7 +35,7 @@ index cfc6891..0b00ab5 100644 #define TAGKEYS(KEY,TAG) \ { MODKEY, KEY, view, {.ui = 1 << TAG} }, \ { MODKEY|ControlMask, KEY, toggleview, {.ui = 1 << TAG} }, \ -@@ -64,21 +69,70 @@ static const char *termcmd[] = { "st", NULL }; +@@ -64,21 +69,72 @@ static const char *termcmd[] = { "st", NULL }; static const Key keys[] = { /* modifier key function argument */ @@ -65,6 +65,7 @@ index cfc6891..0b00ab5 100644 + { MODKEY1|ControlMask, XK_r, spawn, SHCMD("radio") }, + { MODKEY1|ControlMask|ShiftMask,XK_r, spawn, SHCMD(TERMINAL " -e vim ~/.config/scripts/radiostations") }, + { MODKEY1|ControlMask, XK_l, spawn, SHCMD("gpg-connect-agent reloadagent /bye & ssh-add -D & sudo -K & slock") }, ++ { 0, XF86XK_ScreenSaver, spawn, SHCMD("gpg-connect-agent reloadagent /bye & ssh-add -D & sudo -K & slock") }, + { 0, XK_Print, spawn, SHCMD("maim | tee ~/pictures/screenshot-$(date +\"%F_%m_%S\").png | xclip -selection clipboard -t image/png") }, + { ShiftMask, XK_Print, spawn, SHCMD("maim --select | tee ~/pictures/screenshot-$(date +\"%F_%m_%S\").png | xclip -selection clipboard -t image/png") }, + { MODKEY, XK_i, spawn, SHCMD("mpvpop info") }, @@ -83,6 +84,7 @@ index cfc6891..0b00ab5 100644 + { 0, XF86XK_AudioLowerVolume, spawn, SHCMD("pactl set-sink-volume $(pactl get-default-sink) -5% && dunstify -h string:x-dunst-stack-tag:volume Volume:$(pactl get-sink-volume $(pactl get-default-sink) | cut -d '/' -f2)") }, + { MODKEY1|ControlMask|ShiftMask,XK_v, spawn, SHCMD("pactl set-sink-volume $(pactl get-default-sink) -5% && dunstify -h string:x-dunst-stack-tag:volume Volume:$(pactl get-sink-volume $(pactl get-default-sink) | cut -d '/' -f2)") }, + { MODKEY, XK_m, spawn, SHCMD("pactl set-sink-mute $(pactl get-default-sink) toggle && dunstify -h string:x-dunst-stack-tag:mute $(pactl get-sink-mute $(pactl get-default-sink))") }, ++ { 0, XF86XK_AudioMute, spawn, SHCMD("pactl set-sink-mute $(pactl get-default-sink) toggle && dunstify -h string:x-dunst-stack-tag:mute $(pactl get-sink-mute $(pactl get-default-sink))") }, + { 0, XF86XK_MonBrightnessUp, spawn, SHCMD("light -A 2.5 && dunstify -h string:x-dunst-stack-tag:brightness Brightness:$(light)") }, + { MODKEY1|ControlMask, XK_b, spawn, SHCMD("light -A 2.5 && dunstify -h string:x-dunst-stack-tag:brightness Brightness:$(light)") }, + { 0, XF86XK_MonBrightnessDown, spawn, SHCMD("light -U 2.5 && dunstify -h string:x-dunst-stack-tag:brightness Brightness:$(light)") }, @@ -113,7 +115,7 @@ index cfc6891..0b00ab5 100644 { MODKEY, XK_space, setlayout, {0} }, { MODKEY|ShiftMask, XK_space, togglefloating, {0} }, { MODKEY, XK_0, view, {.ui = ~0 } }, -@@ -96,7 +150,7 @@ static const Key keys[] = { +@@ -96,7 +152,7 @@ static const Key keys[] = { TAGKEYS( XK_7, 6) TAGKEYS( XK_8, 7) TAGKEYS( XK_9, 8)