From a60529ec9f97663138e15d5f9598962c61f34d7e Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Thu, 2 Apr 2020 06:49:46 +0200 Subject: Add CSS Provider for styling the interface --- badwolf.1 | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'badwolf.1') diff --git a/badwolf.1 b/badwolf.1 index 6f8ecb8..622faff 100644 --- a/badwolf.1 +++ b/badwolf.1 @@ -79,6 +79,17 @@ Examples of useful extensions may be found at: .Lk https://hacktivis.me/git/badwolf-extensions .Lk https://github.com/jun7/wyebadblock .El +.It Pa ${DATADIR:-/usr/local/share}/badwolf/interface.css +.It Pa ${XDG_DATA_HOME:-$HOME/.local/share}/badwolf/interface.css +CSS files (respectively system and user-level) for styling badwolf interface. See +.Lk https://developer.gnome.org/gtk3/stable/chap-css-properties.html +for the properties being available. +.Pp +For testing your styles I would recommend using the +.Ev GTK_DEBUG=interactive +environment variable on launching +.Nm +and going to the CSS tab. .El .Sh BUGS You can submit contributions or tickets to -- cgit v1.3.1-23-gd82d From 1e28a08d0d719fae0797a184372937400f7926ee Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Mon, 11 May 2020 03:53:00 +0200 Subject: keybindings: Esc stops loading --- badwolf.1 | 4 +++- keybindings.c | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) (limited to 'badwolf.1') diff --git a/badwolf.1 b/badwolf.1 index 622faff..a72215e 100644 --- a/badwolf.1 +++ b/badwolf.1 @@ -35,7 +35,9 @@ Focuses on the search entry .It browser C-l Focuses on the location(URL) entry .It browser C-S-r / C-r, browser F5 -Reloads the current tab (with/without clearing cache) +Reloads the content in the current tab (with/without clearing cache) +.It browser Escape +Stops loading the content in the current tab .It browser F7 Toggles caret browsing. .It browser F12 diff --git a/keybindings.c b/keybindings.c index b6806f3..51aac26 100644 --- a/keybindings.c +++ b/keybindings.c @@ -136,6 +136,7 @@ commonCb_key_press_event(struct Window *window, GdkEvent *event, struct Client * switch(((GdkEventKey *)event)->keyval) { case GDK_KEY_F5: webkit_web_view_reload(browser->webView); return TRUE; + case GDK_KEY_Escape: webkit_web_view_stop_loading(browser->webView); return TRUE; case GDK_KEY_F7: toggle_caret_browsing(browser->webView); return TRUE; case GDK_KEY_F12: webkit_web_inspector_show(webkit_web_view_get_inspector(browser->webView)); -- cgit v1.3.1-23-gd82d From a51378143e420e0fa391ab37b01f319a1f464853 Mon Sep 17 00:00:00 2001 From: "Haelwenn (lanodan) Monnier" Date: Tue, 12 May 2020 07:15:44 +0200 Subject: badwolf.1: document ctrl-p --- badwolf.1 | 2 ++ 1 file changed, 2 insertions(+) (limited to 'badwolf.1') diff --git a/badwolf.1 b/badwolf.1 index a72215e..d25674b 100644 --- a/badwolf.1 +++ b/badwolf.1 @@ -44,6 +44,8 @@ Toggles caret browsing. Opens the web inspector. .It browser C-[ / C-] Go back/forward in current tab’s history +.It browser C-p +Print the current page. (spawns a dialog) .It any A-Left / A-Right Go to the previous/next tab .It any F1 -- cgit v1.3.1-23-gd82d