: nply/dwhkd

commit 1cdc956be457277e2408aa650c187cce9ba69e0a
parent a6005d8cf36f3bcd19597d9ec64d9e3b790c5047
Author: theSoberSobber <akshatshrivastava0010@gmail.com>
Date: Wed, 20 Dec 2023 01:45:00 +0530

readme
1 file changed, 10 insertions(+), 5 deletions(-)
M
README.md
|
15
++++++++++-----
diff --git a/README.md b/README.md
@@ -1,5 +1,5 @@
 # sxhkd-win32
-sxhkd impl for windows, cus why not.
+Sxhkd impl for Windows with Optional UNIX like workspace support through Native VirtualDesktops!
 
 # Instructions
 - Edit config.h and actions.h according to what you want

@@ -8,7 +8,9 @@ sxhkd impl for windows, cus why not.
 - Run `make clean` in the working directory to clean it
 
 # Virtual Desktop Features
-Please see [VD-Action.md](./VD-action.md).
+- Please see [VD-Action.md](./VD-action.md).
+- The optimal way of using VDA with sxhkd is after setting the taskbar as hidden and toggling explorer by Alt+E (see config), this prevents any weird flickering behaviour that the taskbar has when VDs are switched too fast
+- PS: You can use Bing Wallpaper and set on every VD for a truly awesome VD experience!
 
 # Sample config.h
 

@@ -23,9 +25,10 @@ Please see [VD-Action.md](./VD-action.md).
 
 // command, argument
 static const char *termcmd[]  = {NULL, "wt.exe", NULL };
+static const char *adminCmd[] = {"runas", "wt.exe", NULL};
 static const char *vscode[] = {NULL, "code", "D:/code"};
-static const char * codeforces[] = {"open", "https://codeforces.com", NULL};
-static const char * leetcode[] = {"open", "https://leetcode.com", NULL};
+static const char *codeforces[] = {"open", "https://codeforces.com", NULL};
+static const char *leetcode[] = {"open", "https://leetcode.com", NULL};
 
 #define NUMKEY(x) \
 		{MODKEY,	x+'0',	GoToDesktopNumberW, 	{.i= x ? x : 10}}, \

@@ -34,11 +37,13 @@ static const char * leetcode[] = {"open", "https://leetcode.com", NULL};
 static Key keys[] = {
 	/* modifier                     key        function        argument */
 	{ MODKEY,                       'B',       test,          {0} },
-	{ MODKEY,                       'P',       spawn,      	  {.v = vscode} },
+	{ MODKEY,                       'O',       spawn,      	  {.v = vscode} },
 	{ MODKEY,                     VK_RETURN, spawn,         {.v = termcmd } },
+	{ MODKEY | MOD_SHIFT,         VK_RETURN, spawn,         {.v = adminCmd } },
 	{ MODKEY,                     	'C', spawn,         {.v = codeforces } },
 	{ MODKEY,                     	'L', spawn,         {.v = leetcode } },
 	{ MODKEY,                       'E',       toggleexplorer, {0} },
+	{ MODKEY,                       'Q',       killForeground,          {0} },
 	{ MODKEY | MOD_SHIFT,                       'Q',       quit,          {0} },
 	#ifdef VDA_FEATURES
 	NUMKEY(1),