From 1b8dc65cf33fb70dee46dcbcdaf14204c5839f1d Mon Sep 17 00:00:00 2001 From: Ivan Dimitrov Date: Mon, 3 Jul 2023 20:27:45 +0300 Subject: [PATCH] bg phonetic keyboard --- cfg/nvim/custom/configs/overrides.lua | 1 + cfg/sway/config | 13 ++++++++++--- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/cfg/nvim/custom/configs/overrides.lua b/cfg/nvim/custom/configs/overrides.lua index 28da231..5101409 100644 --- a/cfg/nvim/custom/configs/overrides.lua +++ b/cfg/nvim/custom/configs/overrides.lua @@ -12,6 +12,7 @@ M.treesitter = { "c", "markdown", "markdown_inline", + "nix", }, indent = { enable = true, diff --git a/cfg/sway/config b/cfg/sway/config index 97d6de6..f2134dc 100644 --- a/cfg/sway/config +++ b/cfg/sway/config @@ -11,7 +11,7 @@ output * bg /run/current-system/sw/share/backgrounds/sway/Sway_Wallpaper_Blue_19 bindsym $mod+Return exec $term # Kill focused window - bindsym $mod+Shift+q kill + bindsym $mod+Shift+c kill # Start your launcher bindsym $mod+p exec $menu @@ -24,10 +24,10 @@ output * bg /run/current-system/sw/share/backgrounds/sway/Sway_Wallpaper_Blue_19 floating_modifier $mod normal # Reload the configuration file - bindsym $mod+Shift+c reload + bindsym $mod+Shift+r reload # Exit sway (logs you out of your Wayland session) - bindsym $mod+Shift+e exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' + bindsym $mod+Shift+q exec swaynag -t warning -m 'You pressed the exit shortcut. Do you really want to exit sway? This will end your Wayland session.' -B 'Yes, exit sway' 'swaymsg exit' # # Moving around: # @@ -159,4 +159,11 @@ bar { } } +input "*" +{ + xkb_layout us,bg + xkb_options grp:win_space_toggle + xkb_variant ,phonetic +} + include /etc/sway/config.d/*