nwg-wrapper
Wrapper to display a script output or a text file content on the desktop in sway or other wlroots-based compositors (by nwg-piotr)
Waybar
Highly customizable Wayland bar for Sway and Wlroots based compositors. :v: :tada: (by Alexays)
Our great sponsors
nwg-wrapper | Waybar | |
---|---|---|
22 | 92 | |
131 | 5,424 | |
- | - | |
2.6 | 9.7 | |
2 months ago | 4 days ago | |
Python | C++ | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
nwg-wrapper
Posts with mentions or reviews of nwg-wrapper.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-07-04.
-
Using nwg-wrapper for a HUD of help for sway modes
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; }
-
Digital overlay clock?
Here's a script that uses nwg-wrapper to display a countdown - it would be easy to modify it to display a digital clock.
-
How can I use a terminal/application as wallpaper?
Maybe take a look at nwg-wrapper
-
Counting down before gtklock or suspend
The countdown into gtklock is created by my script sway-count which uses nwg-wrapper.
-
Mucking about with layers
For example, this works using nwg-wrapper :
-
is a good practice to put ANY idea on github?
Nope. https://github.com/nwg-piotr/nwg-wrapper/commit/f4c4dc6e9a568ade8b3bce02d73f528a50b02928
-
Any tip on optimizing this?
Here's my script. It forks off a playerctl --follow with a custom format to work around read skipping empty items (like a song without an artist). You don't have to do that, I just prefer that so I can add nwg-wrapper to view album art and song title on my desktop without spinning up another playerctl read loop.
- Is there some app that lets you launch a simple text overlay?
-
Show local IP permanent on desktop
If your compositor supports layer-shell (i.e., not Gnome) then maybe nwg-wrapper would work.
-
gtklock and nwg-wrapper - let's rice the lock!
I had a play with gtklock today and wondered if it would work with nwg-wrapper to enhance the lock screen. It turns out that they work together very well - see screenshot. I've also modified my script for various styles of locking so that it supports gtklock: mylock
Waybar
Posts with mentions or reviews of Waybar.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-11-09.
- Hyprland waybar custom modules on-click never works
-
How to disable some itens in Waybar?
If I understand https://github.com/Alexays/Waybar/wiki/Configuration correctly, what is to be displayed is defined in a JSON file that can be located in one of the directories mentioned.
-
Waybar, how to show hour without leading zero?
GNU calls their extensions "equivalent to" things I'd have suggested trying ($_I or $-l), but I'm not sure if the equivalents are themselves GNU extensions, too. Regardless, reading this Waybar Github issue about %OI, I get the impression there was a regression at some point, in any case on March 27th 2022 someone says it "used to work fine until recently".
- [Waybar] Add workspace styles for multiple monitors
-
Error installing waybar on arch
hope it helps. source btw: https://github.com/Alexays/Waybar/issues/2177
- How to get workspaces showing in default waybar-hyprland-git
-
Issue with patching package with pull request
{ config, pkgs, ... }: { wayland.windowManager.sway = let patchedWaybar = pkgs.waybar.overrideAttrs(prev: final: { patches = [ (pkgs.fetchpatch { url = "https://github.com/Alexays/Waybar/pull/2134.diff"; sha256 = "1hzdv3b8zzps50pdcb8pj9cxwaix4q2d4gsqb9dl9vflgl429hq3"; }) ]; }); in { enable = true; config.bars = [{ statusCommand = "${patchedWaybar}/bin/waybar"; }]; };
-
Hyprland with Waybar Config Reloading
See this issue. CSS and only new properties in config are reloaded when SIGUSR2 is triggered.
-
Persistent workspaces?
I think this has just been added to waybar (wlr/workspaces) to work in a similar manner to how it is in sway/workspaces. No need for fake empty terminals. Something was merged for wwlr/workspaces in the waybar github. See - https://github.com/Alexays/Waybar/pull/2089.
-
How do I set Waybar’s font?
Ah, well in looking at their git, it appears some do have fallback font issues. See here - https://github.com/Alexays/Waybar/issues/215
What are some alternatives?
When comparing nwg-wrapper and Waybar you can also consider the following projects:
nwg-shell - Installer & meta-package for the nwg-shell project: a GTK3-based shell for sway and Hyprland Wayland compositors
eww - ElKowars wacky widgets
nwg-dock - GTK3-based dock for sway
i3status-rust - Very resourcefriendly and feature-rich replacement for i3status, written in pure Rust
azote - Wallpaper manager for wlroots-based compositors and some other WMs
sway - i3-compatible Wayland compositor
nwg-panel - GTK3-based panel for sway and Hyprland Wayland compositors
pywal - 🎨 Generate and change color-schemes on the fly.
i3wm-Cheatsheet - i3wm Cheatsheet
nwg-shell-config - nwg-shell configuration utility
plata-theme