From 038c2d9ed675dc1286ab6a20bfbaba2c8ccb7041 Mon Sep 17 00:00:00 2001 From: Ryan Pandya Date: Tue, 28 Jan 2025 08:48:50 -0800 Subject: [PATCH] Switch language with meta+space; keyboard repeat rate 200 --- modules/apps/hyprland/default.nix | 8 ++++---- modules/profiles/desktop.nix | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/modules/apps/hyprland/default.nix b/modules/apps/hyprland/default.nix index 136f7b0..b2ffd52 100644 --- a/modules/apps/hyprland/default.nix +++ b/modules/apps/hyprland/default.nix @@ -67,9 +67,10 @@ with lib; no_hardware_cursors = true } input { + repeat_delay = 200 kb_layout = us, in kb_variant = , hin-wx - kb_options = grp:shift_caps_toggle + kb_options = grp:win_space_toggle kb_options = caps:super follow_mouse = 1 touchpad { @@ -142,11 +143,12 @@ with lib; bind = ${modifier}SHIFT,Q,exit, bind = ${modifier},ESCAPE,killactive, bind = ${modifier},GRAVE,toggleSpecialWorkspace + bind = ${modifier}SHIFT,GRAVE,movetoworkspace,special bind = ${modifier},Return,exec,${terminal} bind = ${modifier},R,exec,rofi-launcher bind = ${modifier}SHIFT,W,exec,web-search bind = ${modifier}ALT,W,exec,wallsetter - bind = ${modifier}SHIFT,N,exec,swaync-client -rs + bind = ${modifier},SPACE,exec,hyprctl switchxkblayout all next bind = ${modifier},W,exec,${browser} bind = ${modifier},E,exec,emopicker9000 bind = ${modifier},S,exec,screenshootin @@ -187,8 +189,6 @@ with lib; bind = ${modifier},8,workspace,8 bind = ${modifier},9,workspace,9 bind = ${modifier},0,workspace,10 - bind = ${modifier}SHIFT,SPACE,movetoworkspace,special - bind = ${modifier},SPACE,togglespecialworkspace bind = ${modifier}SHIFT,1,movetoworkspace,1 bind = ${modifier}SHIFT,2,movetoworkspace,2 bind = ${modifier}SHIFT,3,movetoworkspace,3 diff --git a/modules/profiles/desktop.nix b/modules/profiles/desktop.nix index 3ee5e3e..6472cfa 100644 --- a/modules/profiles/desktop.nix +++ b/modules/profiles/desktop.nix @@ -114,6 +114,7 @@ in filezilla spotify anki-bin + zoom-us # Utilities networkmanagerapplet