~ersen/dotfiles

b6173c9c355dded371fef05d8196677a6a69aa3b — Oğuz Ersen 13 days ago 3c19d4d
sway: add keyboard layouts
3 files changed, 8 insertions(+), 3 deletions(-)

M .config/sway/config
M .config/waybar/config
M .config/waybar/style.css
M .config/sway/config => .config/sway/config +2 -2
@@ 6,9 6,9 @@ set $gray "#6c6c6c"
set $white "#bcbcbc"

input type:keyboard {
    xkb_layout "tr"
    xkb_layout "tr,tr(f),us"
    xkb_numlock enabled
    xkb_options "caps:escape"
    xkb_options "caps:escape,grp:win_space_toggle"
}

output * bg ~/Pictures/wallpaper fill

M .config/waybar/config => .config/waybar/config +5 -1
@@ 1,7 1,11 @@
{
    "height": 30,
    "modules-left": ["sway/workspaces", "sway/mode", "wlr/taskbar"],
    "modules-right": ["memory", "cpu", "temperature", "battery", "backlight", "pulseaudio#source", "pulseaudio", "clock", "idle_inhibitor", "tray"],
    "modules-right": ["memory", "cpu", "temperature", "battery", "backlight", "pulseaudio#source", "pulseaudio", "idle_inhibitor", "sway/language", "clock", "tray"],
    "sway/language": {
        "format": "{long}",
        "tooltip": false
    },
    "sway/mode": {
        "format": "{} ✳"
    },

M .config/waybar/style.css => .config/waybar/style.css +1 -0
@@ 29,6 29,7 @@ label:focus {
#clock,
#cpu,
#idle_inhibitor,
#language,
#memory,
#mode,
#pulseaudio,