From a10803a01590744b8ec3bcc56a42aee5b0d093a0 Mon Sep 17 00:00:00 2001 From: pml68 Date: Mon, 5 Aug 2024 12:27:24 +0200 Subject: feat(dwm): add laptop specific options --- laptop.diff | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/laptop.diff b/laptop.diff index 2225da4..2cb3f1c 100644 --- a/laptop.diff +++ b/laptop.diff @@ -56,3 +56,29 @@ index 438dc96..56521ed 100644 static int borderpx = 0; /* +diff --git a/dwm/config.def.h b/dwm/config.def.h +index 31a82aa..95a2583 100644 +--- a/dwm/config.def.h ++++ b/dwm/config.def.h +@@ -78,7 +78,7 @@ static const char *dmenucmd[] = { + "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL}; + static const char *termcmd[] = {"st", NULL}; + static const char *prtscrcmd[] = {"flameshot", "gui", NULL}; +-static const char *kblayoutcmd[] = {"setxkbmap", "hu", NULL}; ++static const char *kblayoutcmd[] = {"setxkbmap", "hu", "-option", "caps:escape", NULL}; + static const char *firefoxcmd[] = {"firefox", NULL}; + static const char *discordcmd[] = {"discord", NULL}; + static const char *adbscreencmd[] = {"screenshot", NULL}; +diff --git a/dwm/config.h b/dwm/config.h +index 31a82aa..95a2583 100644 +--- a/dwm/config.h ++++ b/dwm/config.h +@@ -78,7 +78,7 @@ static const char *dmenucmd[] = { + "-nf", col_gray3, "-sb", col_cyan, "-sf", col_gray4, NULL}; + static const char *termcmd[] = {"st", NULL}; + static const char *prtscrcmd[] = {"flameshot", "gui", NULL}; +-static const char *kblayoutcmd[] = {"setxkbmap", "hu", NULL}; ++static const char *kblayoutcmd[] = {"setxkbmap", "hu", "-option", "caps:escape", NULL}; + static const char *firefoxcmd[] = {"firefox", NULL}; + static const char *discordcmd[] = {"discord", NULL}; + static const char *adbscreencmd[] = {"screenshot", NULL}; -- cgit v1.2.3