From 1df3449aa62f3ecebfe3a96677d23e3260012cf1 Mon Sep 17 00:00:00 2001 From: Vladan Popovic Date: Sun, 28 Jul 2019 22:30:44 +0200 Subject: [PATCH] [sway] Add bemenu (dmenu in X) and mk keyboard --- sway/config | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/sway/config b/sway/config index 53da646..b2955fb 100644 --- a/sway/config +++ b/sway/config @@ -17,7 +17,7 @@ set $right l set $term alacritty # Your preferred application launcher # Note: it's recommended that you pass the final command to sway -set $menu dmenu_path | dmenu | xargs swaymsg exec -- +set $menu bemenu-run | xargs swaymsg exec -- ### Output configuration # @@ -58,6 +58,10 @@ output * bg /usr/share/backgrounds/sway/Sway_Wallpaper_Blue_1920x1080.png fill # You can get the names of your inputs by running: swaymsg -t get_inputs # Read `man 5 sway-input` for more information about this section. +input * xkb_layout "us,mk" +input * xkb_variant "typewriter" +input * xkb_options "grp:caps_toggle" + ### Key bindings # # Basics: @@ -205,7 +209,7 @@ bar { # When the status_command prints a new line to stdout, swaybar updates. # The default just shows the current date and time. - status_command while date +'%Y-%m-%d %l:%M:%S %p'; do sleep 1; done + status_command i3status colors { statusline #ffffff