trying to fix

This commit is contained in:
Chris Cochrun 2022-01-03 12:43:45 -06:00
parent e013d7569e
commit bf4a48ab64
3 changed files with 7 additions and 5 deletions

View file

@ -115,7 +115,7 @@ In order to have this config work on both my desktop with regular joe-schmoe mon
(defun chris/set-transparency ()
"Set the frame to be transparent on Wayland compositors"
(if (string-search "wayland" x-display-name)
(if (string-search "x11" x-display-name)
'((set-frame-parameter (selected-frame) 'alpha '(80 . 80))
(add-to-list 'default-frame-alist '(alpha . (80 . 80)))
(add-to-list 'initial-frame-alist '(alpha . (80 . 80))))))
@ -1279,6 +1279,7 @@ Part of this config includes some special capture templates for my work as a you
"gC" 'chris/org-columns-view
"ge" 'org-edit-src-code
"gr" 'revert-buffer
"gs" 'org-toggle-narrow-to-subtree
"S" 'org-schedule
"t" 'org-todo)
('insert org-mode-map
@ -2147,7 +2148,7 @@ interfere with the default `bongo-playlist-buffer'."
:extra-program-arguments '("--profile=fast --input-ipc-server=/tmp/mpvsocket")
:matcher '((local-file "file:" "http:" "ftp:" "lbry:")
"mka" "wav" "wma" "ogm" "opus"
"ogg" "flac" "mp3" "mka" "wav"
"ogg" "flac" "mp3" "mka" "wav" "webm"
"mpg" "mpeg" "vob" "avi" "ogm" "mp4"
"mkv" "mov" "asf" "wmv" "rm" "rmvb" "ts")
:matcher '(("mms:" "mmst:" "rtp:" "rtsp:" "udp:" "unsv:"

View file

@ -38,7 +38,7 @@
(defun chris/set-transparency ()
"Set the frame to be transparent on Wayland compositors"
(if (string-search "wayland" x-display-name)
(if (string-search "x11" x-display-name)
'((set-frame-parameter (selected-frame) 'alpha '(80 . 80))
(add-to-list 'default-frame-alist '(alpha . (80 . 80)))
(add-to-list 'initial-frame-alist '(alpha . (80 . 80))))))
@ -824,6 +824,7 @@ vertically."
"gC" 'chris/org-columns-view
"ge" 'org-edit-src-code
"gr" 'revert-buffer
"gs" 'org-toggle-narrow-to-subtree
"S" 'org-schedule
"t" 'org-todo)
('insert org-mode-map
@ -1589,7 +1590,7 @@ interfere with the default `bongo-playlist-buffer'."
:extra-program-arguments '("--profile=fast --input-ipc-server=/tmp/mpvsocket")
:matcher '((local-file "file:" "http:" "ftp:" "lbry:")
"mka" "wav" "wma" "ogm" "opus"
"ogg" "flac" "mp3" "mka" "wav"
"ogg" "flac" "mp3" "mka" "wav" "webm"
"mpg" "mpeg" "vob" "avi" "ogm" "mp4"
"mkv" "mov" "asf" "wmv" "rm" "rmvb" "ts")
:matcher '(("mms:" "mmst:" "rtp:" "rtsp:" "udp:" "unsv:"

View file

@ -1,6 +1,6 @@
# -*- mode: snippet -*-
# name: Demo
# key: <o
# key: <q
# --
#+begin_quote