From 0cefa547f4d2308c7805bc7c66c2607201f72aea Mon Sep 17 00:00:00 2001 From: Nathan Schneider Date: Mon, 23 Dec 2024 21:24:30 -0700 Subject: [PATCH] Additions to .emacs --- .emacs | 8 +++++++- .i3/config | 7 +++++++ 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/.emacs b/.emacs index 707a977..9efba6e 100644 --- a/.emacs +++ b/.emacs @@ -17,6 +17,12 @@ ;; turns off the menus at top (menu-bar-mode -1) (tool-bar-mode -1) +;; no bell sounds +(setq ring-bell-function 'ignore) +;; no blinking cursor +(blink-cursor-mode 0) +;; clipboard with ctrl+shift+v +(global-set-key (kbd "C-S-v") 'clipboard-yank) ;; enable word wrap (global-visual-line-mode t) ;; load word-count tools, use "wc" command to get instant count @@ -142,7 +148,7 @@ ;; If you edit it by hand, you could mess it up, so be careful. ;; Your init file should contain only one such instance. ;; If there is more than one, they won't work right. - '(package-selected-packages (quote (lua-mode wc-mode markdown-mode)))) + '(package-selected-packages '(ellama lua-mode wc-mode markdown-mode))) (custom-set-faces ;; custom-set-faces was added by Custom. ;; If you edit it by hand, you could mess it up, so be careful. diff --git a/.i3/config b/.i3/config index c16aa2d..b36786e 100644 --- a/.i3/config +++ b/.i3/config @@ -9,6 +9,9 @@ set $mod Mod4 # is used in the bar {} block below. font pango: Dinreg 10 +# Nitrogen desktop manager +exec_always --no-startup-id nitrogen --restore + # Start XDG autostart .desktop files using dex. See also # https://wiki.archlinux.org/index.php/XDG_Autostart #exec --no-startup-id dex --autostart --environment i3 @@ -24,6 +27,10 @@ exec --no-startup-id xss-lock --transfer-sleep-lock -- i3lock --nofork # and nm-applet is a desktop environment-independent system tray GUI for it. exec --no-startup-id nm-applet +# set opacity to 0 for zoom screensharing +# https://www.reddit.com/r/i3wm/comments/i9oeu6/share_screen_with_zoom/ +exec --no-startup-id picom -o 0 + # Use pactl to adjust volume in PulseAudio. set $refresh_i3status killall -SIGUSR1 i3status bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status