Skip to content

character escapes work differenetly #7839

Open
@ghost

Description

Please read the following before submitting:

  • The following either do not make sense for Wayland or we have decided against supporting:
    • restart
    • resource
    • saving and loading layouts
    • the i3 sync protocol

Please fill out the following:

  • i3 PR:

    • If this is new i3 functionality, please add a link to the i3 pull request.
  • Description:

    • Please describe in plain English how Sway and i3's behaviors differ or what functionality Sway is lacking.
# following line works in sway, but not in i3
bindsym $mod+Alt+Right exec temp=$(echo "let data=$($msg -t get_workspaces);console.log(data.filter(e=>e.focused)[0].num+1)" | node -) && $msg workspace number $temp
# following line works in i3, but not in sway
bindsym $mod+Alt+Left exec "temp=$(echo \\"let data=$($msg -t get_workspaces);console.log(data.filter(e=>e.focused)[0].num-1)\\" | node -) && $msg workspace number $temp"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

No one assigned

    Labels

    i3-compatSway doesn't match i3's behavior

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions