aboutsummaryrefslogtreecommitdiff
path: root/Common/sway
diff options
context:
space:
mode:
Diffstat (limited to 'Common/sway')
-rw-r--r--Common/sway/config5
-rw-r--r--Common/sway/keyboard2
2 files changed, 3 insertions, 4 deletions
diff --git a/Common/sway/config b/Common/sway/config
index 31aed6a..c5c59b9 100644
--- a/Common/sway/config
+++ b/Common/sway/config
@@ -57,7 +57,6 @@ bindswitch lid:off output $laptop enable
# kill focused window
bindsym $Mod+Shift+q kill
-bindsym Mod1+q kill
bindsym Mod1+F4 kill
# core applications
@@ -103,8 +102,8 @@ bindsym $Mod+Shift+c reload
bindsym $Mod+Shift+Return exec /home/jakob/.local/bin/tt-g
# Keyboard layout
-bindsym $Mod+Shift+F1 exec "swaymsg input 1:1:AT_Translated_Set_2_keyboard xkb_layout no"
-bindsym $Mod+Shift+F2 exec "swaymsg input 1:1:AT_Translated_Set_2_keyboard xkb_layout us"
+bindsym $Mod+Shift+Space input "1:1:AT_Translated_Set_2_keyboard" xkb_switch_layout next
+
########### Workspace Bindings ###############
diff --git a/Common/sway/keyboard b/Common/sway/keyboard
index 935ef70..6b2c442 100644
--- a/Common/sway/keyboard
+++ b/Common/sway/keyboard
@@ -1,5 +1,5 @@
input "type:keyboard" {
- xkb_layout us
+ xkb_layout us,no
repeat_delay 300
repeat_rate 40
xkb_capslock disabled