fix transparent top band of mpv

This commit is contained in:
ksyasuda 2021-11-11 10:26:21 -08:00
parent 0749897165
commit 764fb08dad
3 changed files with 13 additions and 8 deletions

View File

@ -280,7 +280,6 @@
;; numbers are disabled. For relative line numbers, set this to `relative'. ;; numbers are disabled. For relative line numbers, set this to `relative'.
(setq display-line-numbers-type t) (setq display-line-numbers-type t)
(setq rainbow-delimiters-mode t) (setq rainbow-delimiters-mode t)
(setq rainbow-mode t)
(setq confirm-kill-emacs nil) (setq confirm-kill-emacs nil)
(setq prettify-symbols-mode nil) (setq prettify-symbols-mode nil)
(setq global-prettify-symbols-mode nil) (setq global-prettify-symbols-mode nil)
@ -308,6 +307,7 @@
(setq eaf-terminal-font-size 12) (setq eaf-terminal-font-size 12)
(setq lsp-treemacs-sync-mode 1) (setq lsp-treemacs-sync-mode 1)
(after! 'treemacs (after! 'treemacs
(define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action)) (define-key treemacs-mode-map [mouse-1] #'treemacs-single-click-expand-action))

View File

@ -124,8 +124,8 @@ active-opacity = 1;
inactive-opacity = 1; inactive-opacity = 1;
# Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default) # Opacity of window titlebars and borders. (0.1 - 1.0, disabled by default)
# frame-opacity = 1.0 frame-opacity = 1.0
frame-opacity = 0.8; # frame-opacity = 0.8;
# Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0) # Default opacity for dropdown menus and popup menus. (0.0 - 1.0, defaults to 1.0)
# menu-opacity = 1.0 # menu-opacity = 1.0
@ -160,6 +160,7 @@ opacity-rule = [
"100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'", "100:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'", "100:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'", "100:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_FULLSCREEN'",
"100:class_g = 'mpv'",
] ]
################################# #################################
@ -205,7 +206,8 @@ blur-background-exclude = [
"window_type = 'dock'", "window_type = 'dock'",
"window_type = 'desktop'", "window_type = 'desktop'",
"_GTK_FRAME_EXTENTS@:c", "_GTK_FRAME_EXTENTS@:c",
"name *= 'rect-overlay'" "name *= 'rect-overlay'",
"name *= 'mpv'"
]; ];
################################# #################################
@ -448,7 +450,7 @@ rounded-corners-exclude = [
"class_g = 'plsama-desktop'", "class_g = 'plsama-desktop'",
"class_g = 'win7'", "class_g = 'win7'",
"class_g = 'krunner'", "class_g = 'krunner'",
"class_g = 'plasmashell'" "class_g = 'plasmashell'",
] ]
blur: { blur: {

View File

@ -5,7 +5,7 @@ enable-click = true
enable-scroll = true enable-scroll = true
format-padding = 1 format-padding = 1
# con-default =  # icon-default = 
format = <label-state> format = <label-state>
format-background = ${color.shade4} format-background = ${color.shade4}
@ -24,7 +24,10 @@ label-occupied-padding = 1
# label-active-foreground = #99b679 # label-active-foreground = #99b679
# label-occupied-foreground = #55aebb # label-occupied-foreground = #55aebb
label-empty-foreground = #61afef ; label-empty-foreground = #61afef
; label-occupied-foreground = #61afef
; label-active-foreground = #98be65
label-empty-foreground = #51afef
label-occupied-foreground = #51afef
label-active-foreground = #98be65 label-active-foreground = #98be65
label-occupied-foreground = #61afef
label-urgent-foreground = ${color.urgent} label-urgent-foreground = ${color.urgent}