summaryrefslogtreecommitdiff
path: root/other
diff options
context:
space:
mode:
authorNoobie99 <noob999noob999@gmail.com>2023-11-22 11:50:55 +0100
committerNoobie99 <noob999noob999@gmail.com>2023-11-22 11:50:55 +0100
commita6ad321613090410da9f00265366fe0627e8440f (patch)
tree292eebb3e111d5e4888cf75a9d2c84bdce8342ae /other
parent4752062fb38d9392dfdef5b0a46215cc98e1f4ff (diff)
add layout toggle command
Diffstat (limited to 'other')
-rw-r--r--other/stress.sh2
-rw-r--r--other/stuff.cpp3
2 files changed, 3 insertions, 2 deletions
diff --git a/other/stress.sh b/other/stress.sh
index 4856b1a..657b173 100644
--- a/other/stress.sh
+++ b/other/stress.sh
@@ -2,6 +2,6 @@ for i in {1..1000}; do
printf "\r$i"
python3 gen.py > input # generate test with gen.py
./a.out < input > out # execute ./a.out
- ./a2.out < input > out2 # execute ./a2.out
+ ./b.out < input > out2 # execute ./a2.out
diff out out2 || break
done
diff --git a/other/stuff.cpp b/other/stuff.cpp
index 31498ac..38fde78 100644
--- a/other/stuff.cpp
+++ b/other/stuff.cpp
@@ -1,8 +1,9 @@
// Alles-Header.
#include <bits/stdc++.h>
-// Setzt das deutsche Tastaturlayout.
+// Setzt deutsche Tastaturlayout / toggle mit alt + space
setxkbmap de
+setxkbmap de,us -option grp:alt_space_toggle
// Schnelle Ein-/Ausgabe mit cin/cout.
ios::sync_with_stdio(false);