diff --git a/dotfiles/sway/config b/dotfiles/sway/config index c2a76dd..4fdd32b 100644 --- a/dotfiles/sway/config +++ b/dotfiles/sway/config @@ -115,6 +115,19 @@ mode "resize" { } bindsym $mod+r mode "resize" +mode "umlaut" { + bindsym s exec wtype ß + bindsym a exec wtype ä + bindsym o exec wtype ö + bindsym u exec wtype ü + bindsym Shift+a exec wtype Ä + bindsym Shift+o exec wtype Ö + bindsym Shift+u exec wtype Ü + bindsym Return mode "default" + bindsym Escape mode "default" +} +bindsym $mod+u mode "umlaut" + bar { font $font position bottom diff --git a/roles/desktop.nix b/roles/desktop.nix index c4a159e..36313d3 100644 --- a/roles/desktop.nix +++ b/roles/desktop.nix @@ -186,7 +186,7 @@ in xdg_utils xfce.thunar xfce.thunar-volman - ydotool + wtype (pkgs.writeTextFile { name = "startsway"; destination = "/bin/startsway";