Skip to content

Instantly share code, notes, and snippets.

View mcepl's full-sized avatar

Matěj Cepl mcepl

View GitHub Profile
@mcepl
mcepl / README.md
Last active November 11, 2026 16:53
Rofi Wayland second-menu startup: dummy-data trace, configuration and investigation

Rofi Wayland second-menu startup investigation

Environment and attachments

  • Reproduced by the reporter in a live SomeWM session on openSUSE MicroOS, x86_64.
  • rofi -v: Version: 1.7.9+wayland1.
  • Package: rofi-wayland-1.7.9+wayland1+git.1757683229.9b0363ca-1.6.x86_64.
  • SomeWM package: somewm-2.1.2-4.1.x86_64; wlroots 0.20.2.
  • Native Wayland, two outputs: 1920x1200 and 1920x1080, both scale 1.
  • The configuration selects the Arc theme. Dumps of configuration, theme and rofi -help are attached. This older build does not document the current -info option.

Could you find me some deeper studies comparing JSON and HJSON? Are there any other "JSON which can be used by humans" alternatives?

It appears that formal, "deeper studies" in the academic sense (like peer-reviewed research papers) specifically comparing JSON and HJSON are rare. However, the design rationales, feature breakdowns, and formal specifications serve as the most detailed comparisons available.

Here is a synthesis of the key differences and an overview of other "human-friendly JSON" alternatives.


HJSON vs. Standard JSON: A Comparison

#!/usr/bin/python3
# usage: import-gsettings
import configparser
import os
import os.path
from gi import require_version
require_version('Gio', '2.0')
from gi.repository import Gio
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
diff -ru vim70.orig/src/Makefile vim70.hunspell/src/Makefile
--- vim70.orig/src/Makefile 2006-12-15 12:29:41.000000000 +0000
+++ vim70.hunspell/src/Makefile 2006-12-14 11:11:20.000000000 +0000
@@ -1287,7 +1287,7 @@
PFLAGS = $(PROTO_FLAGS) -DPROTO $(LINT_CFLAGS)
ALL_LIB_DIRS = $(GUI_LIBS_DIR) $(X_LIBS_DIR)
-ALL_LIBS = $(GUI_LIBS1) $(GUI_X_LIBS) $(GUI_LIBS2) $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS) $(LIBS) $(EXTRA_LIBS) $(MZSCHEME_LIBS) $(PERL_LIBS) $(PYTHON_LIBS) $(TCL_LIBS) $(RUBY_LIBS) $(PROFILE_LIBS)
+ALL_LIBS = $(GUI_LIBS1) $(GUI_X_LIBS) $(GUI_LIBS2) $(X_PRE_LIBS) $(X_LIBS) $(X_EXTRA_LIBS) $(LIBS) $(EXTRA_LIBS) $(MZSCHEME_LIBS) $(PERL_LIBS) $(PYTHON_LIBS) $(TCL_LIBS) $(RUBY_LIBS) $(PROFILE_LIBS) -lhunspell-1.1