Hi guys,

I saw this very informative post talking about how ready Wayland is so I thought to share some info that might be useful for people on i3wm+Polybar who are willing to switch to Sway. Keep in mind I am just a hobbyist that like to tinker with stuff. If you know what you are doing you might want to skip this post and check i3wm Migration Guide and useful addons (I recommend you check those anyway if you are reading this post).

Likely you have heard about Sway but if you haven’t Sway is a Wayland compositor(forget picom) based on i3wm that will make you feel at home as an i3 user. Sway has almost all i3 functionalities and some improvements as well but you will have to drop some of the programs like Polybar that you have been running on i3 for Wayland compatible ones. Do check what programs are not Wayland native and look for their replacements.

Ones which make life easier:

  • nwg-panel (see picture): Great panel/bar if you do not want to spend much time editing config files since it allows you to do it graphically plus it comes with great defaults. If you want to add a menu like usual DEs you can get nwg-menu. Or a dock too nwg-dock. This guys work is wonderful!
  • nwg-displays: Graphical displays manager that automatically export config files for you.
  • nwg-look: Simple graphical way of setting GTK3 themes. If you want to create custom gtk themes get gradience
  • yofi: Yofi is a launcher that works very fast for me and is customizable. (could not get icons to work but that seems to be a me problem. If you would like a super minimal, blazing fast launcher then tofi is for you. Personally I use wofi but its not being actively maintained.
  • For your graphical file manager thunar, pcmanfm and nemo work fine but you will have to do some tweaking to get some of the functionalities they offered in their respective Desktop Environments.
  • gammastep: Like redshift but better and for wayland, just configure, set and forget about it.

Little tips:

  • Electron apps like Freetube and Obsidian will not work on Wayland unless you use flags either on Electron’s config file or specify environment variables.
  • Touchpad gestures are supported directly in Sway and you can configure those in the main config file or include it externally.
  • When configuring your Sway input options in the config file I suggest making a global option that will catch all devices for a given type and then if you wish you can specify unique behavior for different devices specifying their id. Like this:
input type:keyboard {
$your_options_here  
}
  • If you want to immediately focus the workspace of a window you moved you can do so like this:
bindsym $mod+Shift+5 move container to workspace number 5, workspace number 5
  • SwayFX: Extends Sway to some UI functions like one could have achieved with Picom on i3 that are not available in Sway.
  • autotiling: This lets you achieve the autotiling that Hyprland has by default.

There is much more to it than this post, go check the respective links. Anyway, I hope you find this useful. Peace!

  • Quantum Cog@lemmy.world
    link
    fedilink
    arrow-up
    15
    ·
    6 months ago

    Rofi also has a wayland fork which I use rofi-lbonn-wayland. All of the previous rofi configs work fine with this.

  • 1984@lemmy.today
    link
    fedilink
    arrow-up
    9
    ·
    6 months ago

    Unfortunately Jetbrains editors are still blurry on both Sway and Gnome in 4k. Only Plasma can handle it and shows sharp text. Not sure what they are doing that the others can’t.

        • deadbeef79000@lemmy.nz
          link
          fedilink
          arrow-up
          2
          ·
          6 months ago

          I use gnome at 4k and avoided fractional scaling by setting gnome to large text and increasing the ide’s font sizes.

          Nice crisp fonts, but annoying settings (but only set once).

  • slacktoid@lemmy.ml
    link
    fedilink
    English
    arrow-up
    3
    ·
    edit-2
    6 months ago

    If youre a terminal user you no longer need to use kitti3 for a dropdown terminal. You can yoink Kitty back and forth a scratch space.

    also great post OP