feat(emacs): transparency via picom

This commit is contained in:
Pavel Korytov 2021-02-01 11:16:37 +05:00
parent 1496e7ec03
commit a533a06d06
4 changed files with 7 additions and 5 deletions

View file

@ -130,6 +130,7 @@ assign [class="skype"] $w7
assign [class="Mailspring"] $w8
assign [class="Thunderbird"] $w8
assign [class="Joplin"] $w8
assign [class="keepassxc"] $w10
for_window [title="VirtScreen"] floating enable

View file

@ -158,7 +158,8 @@ opacity-rule = [
"0:_NET_WM_STATE@[1]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[2]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[3]:32a = '_NET_WM_STATE_HIDDEN'",
"0:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_HIDDEN'"
"0:_NET_WM_STATE@[4]:32a = '_NET_WM_STATE_HIDDEN'",
"90:class_g = 'Emacs'"
];
#################################

View file

@ -962,8 +962,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(scroll-bar-mode -1)
;; Transparency
(set-frame-parameter (selected-frame) 'alpha '(90 . 90))
(add-to-list 'default-frame-alist '(alpha . (90 . 90)))
;; (set-frame-parameter (selected-frame) 'alpha '(90 . 90))
;; (add-to-list 'default-frame-alist '(alpha . (90 . 90)))
;; Prettify symbols
;; (global-prettify-symbols-mode)

View file

@ -756,8 +756,8 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
(scroll-bar-mode -1)
;; Transparency
(set-frame-parameter (selected-frame) 'alpha '(90 . 90))
(add-to-list 'default-frame-alist '(alpha . (90 . 90)))
;; (set-frame-parameter (selected-frame) 'alpha '(90 . 90))
;; (add-to-list 'default-frame-alist '(alpha . (90 . 90)))
;; Prettify symbols
;; (global-prettify-symbols-mode)