Additions to .emacs

This commit is contained in:
Nathan Schneider
2024-12-23 21:24:30 -07:00
parent 5356a7c88f
commit 0cefa547f4
2 changed files with 14 additions and 1 deletions
+7 -1
View File
@@ -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.
+7
View File
@@ -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