From 1c1d0149f337744d7956713d40f904e2e0179855 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Fri, 22 Nov 2024 23:06:58 -0800 Subject: [PATCH] Fall back onto the default frame configuration When we don't know the type of window that we're dealing with, just go with the default. --- theme.jl | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/theme.jl b/theme.jl index 55df5c4..1e8fde8 100644 --- a/theme.jl +++ b/theme.jl @@ -24,14 +24,9 @@ ((background . ("#111414")) (right-edge . 77) (left-edge . 17) (height . 26) (top-edge . -26) (foreground . ("#bfbfbf" "#ff9800")) (text . ,window-name) (x-justify . center) (y-justify . center) (class . title))))) - - (add-frame-style 'yoshi (lambda (w type) (case type - ((default) default-frame) ((shaped) shaded-frame) - ) - ) - ) - ) + ((shaped-transient) shaded-frame) + (t default-frame)))))