add scalable icon+desktop entry

parent 226dd79f
[Desktop Entry]
Categories=Network
Comment=net2o GUI
Exec=n2o gui
GenericName=net2o GUI
Icon=net2o
Name=net2o
StartupNotify=true
StartupWMClass=net2o-gui
Terminal=false
Type=Application
Version=1.0
X-MultipleArgs=false
......@@ -1092,9 +1092,15 @@ Value n2o-frame
pw-field engage
1e ambient% sf! set-uniforms ;
[IFDEF] x11
x11:XClassHint buffer: net2o-wm-class
[THEN]
: net2o-gui ( -- )
[IFDEF] x11
dpy win l" net2o GUI" locale@ x11:XStoreName drop
"net2o-gui\0" drop dup net2o-wm-class 2!
dpy win net2o-wm-class x11:XSetClassHint drop
[THEN]
n2o-frame to top-widget
"PASSPHRASE" getenv 2dup d0= IF 2drop
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment