From 02ba2ee559a96469f2dda14e446d7f87b81305f1 Mon Sep 17 00:00:00 2001 From: Morgan Aldridge Date: Fri, 19 Apr 2024 09:58:04 -0400 Subject: [PATCH] Added styles for NetSurf --- .gitignore | 1 + .mlvwm/apps/.AppsManifest | 1 + .mlvwm/apps/netsurf | 105 ++++++++++++++++++++++++++++++++++++++ Makefile | 3 ++ README.md | 1 + 5 files changed, 111 insertions(+) create mode 100644 .mlvwm/apps/netsurf diff --git a/.gitignore b/.gitignore index dfe9f0f..7d4b7b4 100644 --- a/.gitignore +++ b/.gitignore @@ -9,6 +9,7 @@ .mlvwm/pixmap/iridium.xpm .mlvwm/pixmap/links.xpm .mlvwm/pixmap/mpv.xpm +.mlvwm/pixmap/netsurf.xpm .mlvwm/pixmap/qemu.xpm .mlvwm/pixmap/scummvm.xpm .mlvwm/pixmap/vlc.xpm diff --git a/.mlvwm/apps/.AppsManifest b/.mlvwm/apps/.AppsManifest index 336eda4..23302af 100644 --- a/.mlvwm/apps/.AppsManifest +++ b/.mlvwm/apps/.AppsManifest @@ -14,6 +14,7 @@ Read .mlvwm/apps/krita Read .mlvwm/apps/links Read .mlvwm/apps/meld Read .mlvwm/apps/mpv +Read .mlvwm/apps/netsurf Read .mlvwm/apps/pcmanfm Read .mlvwm/apps/qemu Read .mlvwm/apps/remmina diff --git a/.mlvwm/apps/netsurf b/.mlvwm/apps/netsurf new file mode 100644 index 0000000..f3da133 --- /dev/null +++ b/.mlvwm/apps/netsurf @@ -0,0 +1,105 @@ +Menu NetSurf-File-Export +"Complete Page..." Action SendMessage C+S +"Plain Text..." NonSelect, Gray +"PDF..." NonSelect, Gray +END + +Menu NetSurf-File, Label "File", Left +"New Window" Action SendMessage C+N +"New Tab" Action SendMessage C+T +"Open File" Action SendMessage C+O +"Close Window" Action SendMessage SC+W +"" NonSelect +"Export" SubMenu NetSurf-File-Export +"" NonSelect +"Print Preview..." Action SendMessage SC+P +"Print..." Action SendMessage C+P +"" NonSelect +"Quit" Action SendMessage C+Q +END + +Menu NetSurf-Edit, Label "Edit", Left +"Cut" Action SendMessage C+X +"Copy" Action SendMessage C+C +"Paste" Action SendMessage C+V +"Delete" NonSelect, Gray +"" NonSelect +"Select All" Action SendMessage C+A +"" NonSelect +"Find..." Action SendMessage C+F +"" NonSelect +"Preferences..." NonSelect, Gray +END + +Menu NetSurf-View-ScaleView +"Zoom In" Action SendMessage C+Plus +"Normal Size" Action SendMessage C+0 +"Zoom Out" Action SendMessage C+Minus +END + +Menu NetSurf-View-Toolbars +"Menu Bar" NonSelect, Gray +"Button Bar" NonSelect, Gray +"" NonSelect +"Customize..." NonSelect, Gray +END + +Menu NetSurf-View, Label "View", Left +"Scale View" SubMenu NetSurf-View-ScaleView +"Fullscreen" Action SendMessage N+F11 +"" NonSelect +"Toolbars" SubMenu NetSurf-View-Toolbars +"" NonSelect +"Save Window Size" NonSelect, Gray +END + +Menu NetSurf-Navigate, Label "Navigate", Left +"Back" Action SendMessage M-Left +"Forward" Action SendMessage M-Right +"Stop" Action SendMessage N-Escape +"Reload" Action SendMessage N-F5 +"Home" Action SendMessage M-Down +"" NonSelect +"Local History..." Action SendMessage C+H +"Global History..." Action SendMessage SC+H +"" NonSelect +"Add to Bookmarks..." Action SendMessage C+D +"Show Bookmarks..." Action SendMessage N+F6 +"" NonSelect +"Open Location..." Action SendMessage C+L +END + +Menu NetSurf-Developer +"Page Source" Action SendMessage C+U +"Toggle Debug Rendering" NonSelect, Gray +"Debug Box Tree" NonSelect, Gray +"Debug DOM Tree" NonSelect, Gray +END + +Menu NetSurf-Tools, Label "Tools", Left +"Downloads..." Action SendMessage C+J +"Show Cookies..." Action SendMessage N+F9 +"Developer" SubMenu NetSurf-Developer +END + +Menu NetSurf-Help, Label "Help", Left +"Contents..." NonSelect, Gray +"User Guide..." NonSelect, Gray +"User Information..." NonSelect, Gray +"" NonSelect +"About..." NonSelect, Gray +END + +MenuBar NetSurf +NetSurf-File +NetSurf-Edit +NetSurf-View +NetSurf-Navigate +NetSurf-Tools +NetSurf-Help +END + +Style +"netsurf-gtk*" NoSBarH, NoSBarV +"netsurf-gtk*" MiniIcon netsurf.xpm, MenuBar NetSurf +END diff --git a/Makefile b/Makefile index eb1cb60..22e72ef 100644 --- a/Makefile +++ b/Makefile @@ -53,6 +53,8 @@ pixmap: convert $(TEMP)/claws-mail-favicon.ico $(PIXMAP)/claws-mail.xpm curl -# -L https://iridiumbrowser.de/favicon.ico -o $(TEMP)/iridium-favicon.ico convert $(TEMP)/iridium-favicon.ico[2] $(PIXMAP)/iridium.xpm + curl -# -L https://www.netsurf-browser.org/webimages/favicon.png -o $(TEMP)/netsurf-favicon.png + convert $(TEMP)/netsurf-favicon.png $(PIXMAP)/netsurf.xpm patterns: test ! -d $(PATTERNS) && mkdir $(PATTERNS) @@ -87,6 +89,7 @@ clean-pixmap: rm $(PIXMAP)/iridium.xpm rm $(PIXMAP)/links.xpm rm $(PIXMAP)/mpv.xpm + rm $(PIXMAP)/netsurf.xpm rm $(PIXMAP)/qemu.xpm rm $(PIXMAP)/scummvm.xpm rm $(PIXMAP)/vlc.xpm diff --git a/README.md b/README.md index 2bb1375..132fbd1 100644 --- a/README.md +++ b/README.md @@ -72,6 +72,7 @@ Configurations for the following X11 applications are included: * [Links](http://links.twibright.com/) * [Meld](http://meldmerge.org/) * [mpv](https://mpv.io/) +* [NetSurf](https://www.netsurf-browser.org/) * [PCManFM](https://en.wikipedia.org/wiki/PCMan_File_Manager) * [QEMU](https://www.qemu.org/) * [RetroArch](https://www.retroarch.com/)