From 99a1eb65a65627575ea03d6ce7cd38022623d806 Mon Sep 17 00:00:00 2001 From: TheSiahxyz <164138827+TheSiahxyz@users.noreply.github.com> Date: Fri, 7 Feb 2025 09:31:03 +0900 Subject: modified dwm/config.h, modified dwm/dwm.1, modified st/config.h, modified st/st.1 --- st/config.h | 7 ++++--- st/st.1 | 36 +++++++++++++++++++++--------------- 2 files changed, 25 insertions(+), 18 deletions(-) (limited to 'st') diff --git a/st/config.h b/st/config.h index 5937625..98fd819 100644 --- a/st/config.h +++ b/st/config.h @@ -260,6 +260,7 @@ static MouseShortcut mshortcuts[] = { #define MODKEY Mod1Mask #define MODKEY2 Mod4Mask #define TERMMOD (MODKEY | ShiftMask) +#define TERMMOD2 (MODKEY | ControlMask) static char *openurlcmd[] = { "/bin/sh", "-c", "st-urlhandler -o", "externalpipe", NULL }; static char *copyurlcmd[] = { "/bin/sh", "-c", "st-urlhandler -c", "externalpipe", NULL }; @@ -296,9 +297,9 @@ static Shortcut shortcuts[] = { { TERMMOD, XK_V, externalpipe, { .v = openurlcmd } }, // PRINTERS - { ShiftMask, XK_Print, printscreen, { .i = 0 } }, - { XK_ANY_MOD, XK_Print, printsel, { .i = 0 } }, - { ControlMask, XK_Print, toggleprinter, { .i = 0 } }, + { MODKEY, XK_Print, printsel, { .i = 0 } }, + { TERMMOD, XK_Print, printscreen, { .i = 0 } }, + { TERMMOD2, XK_Print, toggleprinter, { .i = 0 } }, // TRAVERSALS { MODKEY, XK_y, kscrollup, { .i = 1 } }, diff --git a/st/st.1 b/st/st.1 index 37f7e84..351710b 100644 --- a/st/st.1 +++ b/st/st.1 @@ -125,7 +125,13 @@ and all the remaining arguments are used as a command even without it. .SH SHORTCUTS .TP -.B Alt-j/k or Alt-Up/Down or Alt-Mouse Wheel +.B Alt-a/s +Increase or decrease opacity/alpha value (make window more or less transparent). +.TP +.B Alt-= +Reset to default opacity/alpha value. +.TP +.B Alt-e/y or Alt-Up/Down or Alt-Mouse Wheel Scroll up/down one line at a time. .TP .B Alt-u/d or Alt-Page Up/Page Down @@ -134,46 +140,46 @@ Scroll up/down one screen at a time. .B Alt-Shift-k/j or Alt-Shift-Page Up/Page Down or Alt-Shift-Mouse Wheel Increase or decrease font size. .TP -.B Alt-Home +.B Alt-+ Reset to default font size. .TP -.B Shift-Insert or Alt-v -Paste from clipboard. -.TP .B Alt-c Copy to clipboard. .TP -.B Alt-p -Paste/input primary selection. +.B Alt-C +Show dmenu menu of all URLs on screen and choose one to copy. +.TP +.B Alt-v or Shift-Insert +Paste from clipboard. .TP -.B Alt-l +.B Alt-V Show dmenu menu of all URLs on screen and choose one to open. .TP -.B Alt-y -Show dmenu menu of all URLs on screen and choose one to copy. +.B Alt-p +Paste/input primary selection. .TP .B Alt-o Show dmenu menu of all recently run commands and copy the output of the chosen command to the clipboard. .I xclip required. .TP -.B Alt-a/s -Increase or decrease opacity/alpha value (make window more or less transparent). +.B Alt-I +Cycle fonts. .TP .B Break Send a break in the serial line. Break key is obtained in PC keyboards pressing at the same time control and pause. .TP -.B Ctrl-Print Screen +.B Alt-Ctrl-Print Screen Toggle if st should print to the .I iofile. .TP -.B Shift-Print Screen +.B Alt-Shift-Print Screen Print the full screen to the .I iofile. .TP -.B Print Screen +.B Alt-Print Screen Print the selection to the .I iofile. .SH CUSTOMIZATION -- cgit v1.2.3