From 824c38a2c8bb3e8ee92abb72d297829bedb79cbb Mon Sep 17 00:00:00 2001 From: Lizzy Hunt Date: Thu, 23 Mar 2023 15:45:08 -0600 Subject: [PATCH] bg-fill feh and use multiple-cursors in emacs --- .emacs.d/settings.org | 13 +++++++++++++ .stumpwm.d/modeline.lisp | 2 -- .stumpwm.d/modules | 2 +- .xinitrc | 5 +++-- 4 files changed, 17 insertions(+), 5 deletions(-) diff --git a/.emacs.d/settings.org b/.emacs.d/settings.org index 52b27d2..e4511a8 100644 --- a/.emacs.d/settings.org +++ b/.emacs.d/settings.org @@ -396,6 +396,19 @@ After installing the ~rust-analyzer~ program, the following can be used: #+RESULTS: | format-all-ensure-formatter | +* Multiple Cursors +#+BEGIN_SRC emacs-lisp + (use-package multiple-cursors + :straight t + :ensure t + :bind (("H-SPC" . set-rectangular-region-anchor) + ("C-M-SPC" . set-rectangular-region-anchor) + ("C->" . mc/mark-next-like-this) + ("C-<" . mc/mark-previous-like-this) + ("C-c C->" . mc/mark-all-like-this) + ("C-c C-SPC" . mc/edit-lines) + )) +#+END_SRC * Elcord #+BEGIN_SRC emacs-lisp (use-package elcord diff --git a/.stumpwm.d/modeline.lisp b/.stumpwm.d/modeline.lisp index 7222f15..81714c0 100644 --- a/.stumpwm.d/modeline.lisp +++ b/.stumpwm.d/modeline.lisp @@ -39,8 +39,6 @@ "%W" "^>" "%d" - (:eval (make-bar "VOL" #'get-volume)) - (:eval (make-bar "TEMP" #'get-cpu-temp "(~a°C)")) (:eval (get-ip)))) (if (is-laptop) (push '(:eval (make-bar "BAT" #'get-battery)) (cdr (last *mode-line*)))) diff --git a/.stumpwm.d/modules b/.stumpwm.d/modules index 6d4584f..19c231b 160000 --- a/.stumpwm.d/modules +++ b/.stumpwm.d/modules @@ -1 +1 @@ -Subproject commit 6d4584f01dec0143a169186df1608860d1aa1ef0 +Subproject commit 19c231b2518efe71cb6dade3ad4cf573377902c3 diff --git a/.xinitrc b/.xinitrc index 4784bf5..886567d 100644 --- a/.xinitrc +++ b/.xinitrc @@ -4,6 +4,8 @@ export _JAVA_AWT_WM_NONREPARENTING=1 export SBCL_HOME=/usr/lib/sbcl export _QWT_TOOLKT=MToolkit +exec ~/.screenlayout/run.sh & + exec wmname compiz & exec emacs-keys-everywhere & @@ -16,8 +18,7 @@ exec xset s off & exec xset b off & exec xset -dpms & -exec feh --bg-scale --randomize ~/Wallpapers & -exec ~/.screenlayout/run.sh & +exec feh --bg-fill --randomize ~/Wallpapers & exec sleep 1s && dunst &