diff options
| author | yuzu-eva <stevenhu@web.de> | 2023-07-01 22:24:19 +0200 |
|---|---|---|
| committer | yuzu-eva <stevenhu@web.de> | 2023-07-01 22:24:19 +0200 |
| commit | 1006987466e98b661a98164c1795ff5682d4260b (patch) | |
| tree | 131e23460b806833676d1ffd8c9c51e9ad384bcf /.config/nyxt/status.lisp | |
| parent | 23f3dcc4cc986507ba20a30d9312be9a3fc9d188 (diff) | |
update
Diffstat (limited to '.config/nyxt/status.lisp')
| -rw-r--r-- | .config/nyxt/status.lisp | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/.config/nyxt/status.lisp b/.config/nyxt/status.lisp deleted file mode 100644 index 50d2090..0000000 --- a/.config/nyxt/status.lisp +++ /dev/null @@ -1,29 +0,0 @@ -(in-package #:nyxt-user) - -(define-configuration :status-buffer - "Display modes as short glyphs." - ((glyph-mode-presentation-p t))) - -(define-configuration :force-https-mode ((glyph "ϕ"))) -(define-configuration :reduce-tracking-mode ((glyph "τ"))) -(define-configuration :no-script-mode ((glyph "σ"))) -(define-configuration :no-webgl-mode ((glyph "ω"))) -(define-configuration :blocker-mode ((glyph "β"))) - -(define-configuration status-buffer - "Hide most of the status elements but URL and modes." - ((style (str:concat - %slot-value% - (theme:themed-css (theme *browser*) - `("#controls,#tabs" - :display none !important)))))) - -(defmethod format-status-load-status ((status status-buffer)) - "A fancier load status." - (spinneret:with-html-string - (:span (if (web-buffer-p (current-buffer)) - (case (slot-value (current-buffer) 'nyxt::status) - (:unloaded "∅") - (:loading "∞") - (:finished "")) - "")))) |
