aboutsummaryrefslogtreecommitdiff
path: root/laptop.diff
diff options
context:
space:
mode:
authorpml68 <pml31@protonmail.com>2024-08-05 12:27:24 +0200
committerpml68 <pml31@protonmail.com>2024-08-05 12:27:24 +0200
commita10803a01590744b8ec3bcc56a42aee5b0d093a0 (patch)
tree4f70dfa4adb6cf63bebcde6f565efdf6e09b0708 /laptop.diff
parentfix(tmux): colors (diff)
downloadsuckless-setup-a10803a01590744b8ec3bcc56a42aee5b0d093a0.tar.gz
feat(dwm): add laptop specific options
Diffstat (limited to '')
-rw-r--r--laptop.diff26
1 files changed, 26 insertions, 0 deletions
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};