idk maybe something
This commit is contained in:
		
							parent
							
								
									22103de07b
								
							
						
					
					
						commit
						012f31b351
					
				
					 2 changed files with 14 additions and 16 deletions
				
			
		
							
								
								
									
										15
									
								
								README.org
									
										
									
									
									
								
							
							
						
						
									
										15
									
								
								README.org
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -104,9 +104,9 @@ 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)
 | 
			
		||||
       '((set-frame-parameter (selected-frame) 'alpha '(80 . 50))
 | 
			
		||||
       (add-to-list 'default-frame-alist '(alpha . (80 . 50)))
 | 
			
		||||
       (add-to-list 'initial-frame-alist '(alpha . (80 . 50))))))
 | 
			
		||||
       '((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))))))
 | 
			
		||||
 | 
			
		||||
(if (daemonp)
 | 
			
		||||
    (add-hook 'after-make-frame-functions
 | 
			
		||||
| 
						 | 
				
			
			@ -1176,11 +1176,10 @@ Part of this config includes some special capture templates for my work as a you
 | 
			
		|||
  (defun chris/org-agenda ()
 | 
			
		||||
    "create a window that houses my org-agenda"
 | 
			
		||||
    (interactive)
 | 
			
		||||
    (if (not (ignore-errors (select-frame-by-name "org-agenda")))
 | 
			
		||||
        (with-selected-frame (make-frame
 | 
			
		||||
                              '((name . "org-agenda")
 | 
			
		||||
                                (width . 100)))
 | 
			
		||||
          (org-agenda-list))))
 | 
			
		||||
    (with-selected-frame (make-frame
 | 
			
		||||
                          '((name . "org-agenda")
 | 
			
		||||
                            (width . 100)))
 | 
			
		||||
      (org-agenda-list)))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  :general
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										15
									
								
								init.el
									
										
									
									
									
								
							
							
						
						
									
										15
									
								
								init.el
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -39,9 +39,9 @@
 | 
			
		|||
(defun chris/set-transparency ()
 | 
			
		||||
  "Set the frame to be transparent on Wayland compositors"
 | 
			
		||||
  (if (string-search "wayland" x-display-name)
 | 
			
		||||
       '((set-frame-parameter (selected-frame) 'alpha '(80 . 50))
 | 
			
		||||
       (add-to-list 'default-frame-alist '(alpha . (80 . 50)))
 | 
			
		||||
       (add-to-list 'initial-frame-alist '(alpha . (80 . 50))))))
 | 
			
		||||
       '((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))))))
 | 
			
		||||
 | 
			
		||||
(if (daemonp)
 | 
			
		||||
    (add-hook 'after-make-frame-functions
 | 
			
		||||
| 
						 | 
				
			
			@ -777,11 +777,10 @@ vertically."
 | 
			
		|||
  (defun chris/org-agenda ()
 | 
			
		||||
    "create a window that houses my org-agenda"
 | 
			
		||||
    (interactive)
 | 
			
		||||
    (if (not (ignore-errors (select-frame-by-name "org-agenda")))
 | 
			
		||||
        (with-selected-frame (make-frame
 | 
			
		||||
                              '((name . "org-agenda")
 | 
			
		||||
                                (width . 100)))
 | 
			
		||||
          (org-agenda-list))))
 | 
			
		||||
    (with-selected-frame (make-frame
 | 
			
		||||
                          '((name . "org-agenda")
 | 
			
		||||
                            (width . 100)))
 | 
			
		||||
      (org-agenda-list)))
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  :general
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue