Using nwg-wrapper for a HUD of help for sway modes

This page summarizes the projects mentioned and recommended in the original post on /r/swaywm

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  1. dotfiles

    As a geriatric user of sway, I don't always remember the keystrokes in the more esoteric corners of my configuration. I find that my script sway-menu helps with the bulk of the uncommon key bindings. But when I drop into a 'mode' (eg "move" mode) I don't always remember all the clever things I programed into it.

  2. CodeRabbit

    CodeRabbit: AI Code Reviews for Developers. Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.

    CodeRabbit logo
  3. nwg-wrapper

    Wrapper to display a script output or a text file content on the desktop in sway or other wlroots-based compositors

    Usage: sway-mode [-c,--config config-file] [-C,--css css-file] mode Puts sway into mode 'mode' and displays some help by extracting a section from the config file. Options: -c,--config config_file location of your config file (/home/bhepple/.config/sway/config) -C,--css css_file location of your css file (/home/bhepple/.config/nwg-wrapper/mode-help.css) Requires nwg-wrapper https://github.com/nwg-piotr/nwg-wrapper Assumes modes are defined in the config file like this: mode "foobar" { ... } To use this, reassign the bindkey command for the mode like this: bindsym $mod+s exec sway-mode "swap" and in the mode definition, change the mode ending keys to # back to default mode bindsym q exec pkill nwg-wrapper; mode "default" bindsym Return exec pkill nwg-wrapper; mode "default" bindsym Escape exec pkill nwg-wrapper; mode "default" Here's a sample CSS file: window { font-family: "Monospace"; color: rgba (255, 255, 255, 1.0); background-color: rgba (255, 255, 255, 0.1); } #box-inner { background-color: rgba (23, 53, 63, 0.7); border-radius: 5px; border-style: dotted; border-width: 1px; border-color: rgba (156, 142, 122, 0.7); padding: 10px; }

  4. wlr-which-key

    Keymap manager for wlroots-based compositors

    Here is what i found: https://github.com/MaxVerevkin/wlr-which-key

  5. sway

    i3-compatible Wayland compositor

    I've added it to https://github.com/swaywm/sway/wiki/Useful-add-ons-for-sway

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • What do you guys use to manage monitors?

    4 projects | /r/swaywm | 15 Mar 2023
  • (WIP) Working on a GUI for configuring displays

    5 projects | /r/swaywm | 27 Mar 2022
  • Announcing shikane: a dynamic output configuration tool for Wayland compositors

    4 projects | /r/rust | 29 Apr 2023
  • Moving from Plasma, to Sway, some

    3 projects | /r/swaywm | 25 Mar 2023
  • How to connect a Sway session to a projector?

    2 projects | /r/wayland | 28 Nov 2022