Not sure what happened here.... O.O

This commit is contained in:
Chris Cochrun 2022-02-25 13:54:32 -06:00
parent 34ab43b8f9
commit 0dbc3ead0e
272 changed files with 4767 additions and 12217 deletions

View file

@ -1 +0,0 @@
<table> <tr><td> <a href="https://www.reddit.com/r/unixporn/comments/rh1742/kde_ultrawide_desktop_using_latte_dock_sorry_for/"> <img src="https://preview.redd.it/s68yfvop1q581.png?width=640&amp;crop=smart&amp;auto=webp&amp;s=3e496db4613d1d7ac8a95704a15720a19a300c0a" alt="[KDE] Ultrawide desktop, using Latte dock (sorry for it being so wide, lol)" title="[KDE] Ultrawide desktop, using Latte dock (sorry for it being so wide, lol)" /> </a> </td><td> &#32; submitted by &#32; <a href="https://www.reddit.com/user/FireFoxRevolution"> /u/FireFoxRevolution </a> <br/> <span><a href="https://i.redd.it/s68yfvop1q581.png">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/unixporn/comments/rh1742/kde_ultrawide_desktop_using_latte_dock_sorry_for/">[comments]</a></span> </td></tr></table>

View file

@ -1 +0,0 @@
<!-- SC_OFF --><div class="md"><p>I constantly open new emacs Frames and reposition relative to other applications (Ik, can&#39;t believe I&#39;m not fully emacs yet), and found that manually repositioning the windows was a pain. Here&#39;s a script and some keybindings I made to make that easier. These functions can also be called at startup to change how you want the initial emacs screen size to be.</p> <p>Explanation: It&#39;s pretty simple, these functions just set the frame position, and size as portions of your initial starting screen size. </p> <p>Hopefully, this helps someone, and any suggestions for improving code readability would be appreciated!</p> <pre><code> (defun left-two-thirds () (interactive) (set-frame-position (selected-frame) 0 0) (set-frame-size (selected-frame) (* 2 (/ max-frame-width 3)) max-frame-height t)) (defun left-one-thirds () (interactive) (set-frame-position (selected-frame) 0 0) (set-frame-size (selected-frame) (- (* 1 (/ max-frame-width 3)) 34) max-frame-height t)) (defun right-two-thirds () (interactive) (set-frame-size (selected-frame) (- (* 2 (/ max-frame-width 3)) 17) max-frame-height t) (set-frame-position (selected-frame) (- (- (/ max-frame-width 3) 10) -10) 0)) (defun right-one-thirds () (interactive) (set-frame-position (selected-frame) (* 2 (/ max-frame-width 3)) 0) (set-frame-size (selected-frame) (* 1 (/ max-frame-width 3)) max-frame-height t)) (defun center-third () (interactive) (set-frame-position (selected-frame) (/ max-frame-width 3) 0) (set-frame-size (selected-frame) (- (* 1 (/ max-frame-width 3)) 20) max-frame-height t)) (defun left-half () (interactive) (set-frame-position (selected-frame) 0 0) (set-frame-size (selected-frame) (* 1 (/ max-frame-width 2)) max-frame-height t)) (defun right-half () (interactive) (set-frame-position (selected-frame) (/ max-frame-width 2) 0) (set-frame-size (selected-frame) (* 1 (/ max-frame-width 2)) max-frame-height t)) (defun full-screen () (interactive) (set-frame-position (selected-frame) 0 0) (set-frame-size (selected-frame) (* 1 (/ max-frame-width 1)) max-frame-height t)) (global-set-key (kbd &quot;C-c w e&quot;) &#39;left-two-thirds) (global-set-key (kbd &quot;C-c w d&quot;) &#39;left-one-thirds) (global-set-key (kbd &quot;C-c w t&quot;) &#39;right-two-thirds) (global-set-key (kbd &quot;C-c w g&quot;) &#39;right-one-thirds) (global-set-key (kbd &quot;C-c w &lt;left&gt;&quot;) &#39;left-half) (global-set-key (kbd &quot;C-c w &lt;right&gt;&quot;) &#39;right-half) (global-set-key (kbd &quot;C-c w f&quot;) &#39;center-third) (global-set-key (kbd &quot;C-c w &lt;return&gt;&quot;) &#39;full-screen) </code></pre> </div><!-- SC_ON --> &#32; submitted by &#32; <a href="https://www.reddit.com/user/Pr0Thr0waway"> /u/Pr0Thr0waway </a> <br/> <span><a href="https://www.reddit.com/r/emacs/comments/rg9u4b/helpful_scriptcommands_to_rapidly_resize_your/">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/emacs/comments/rg9u4b/helpful_scriptcommands_to_rapidly_resize_your/">[comments]</a></span>

View file

@ -1,3 +0,0 @@
<img src="https://media.babylonbee.com/thumbs/article-10094-1-thumb.jpg"> <p>U.S.&mdash;With hospitals facing historic labor shortages, many are automating their workforce by replacing doctors&nbsp;with slick new television kiosks that just play Pfizer commercials to patients.&nbsp;</p>
<p>The post <a rel="nofollow" href="https://babylonbee.com/news/automation-more-doctors-being-replaced-by-kiosks-that-just-play-pfizer-commercials">Automation: More Doctors Being Replaced By Kiosks That Just Play Pfizer Commercials</a> appeared first on <a rel="nofollow" href="https://babylonbee.com">The Babylon Bee</a>.</p>