Additions to .emacs
This commit is contained in:
@@ -17,6 +17,12 @@
|
|||||||
;; turns off the menus at top
|
;; turns off the menus at top
|
||||||
(menu-bar-mode -1)
|
(menu-bar-mode -1)
|
||||||
(tool-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
|
;; enable word wrap
|
||||||
(global-visual-line-mode t)
|
(global-visual-line-mode t)
|
||||||
;; load word-count tools, use "wc" command to get instant count
|
;; 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.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
;; Your init file should contain only one such instance.
|
;; Your init file should contain only one such instance.
|
||||||
;; If there is more than one, they won't work right.
|
;; 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
|
||||||
;; custom-set-faces was added by Custom.
|
;; custom-set-faces was added by Custom.
|
||||||
;; If you edit it by hand, you could mess it up, so be careful.
|
;; If you edit it by hand, you could mess it up, so be careful.
|
||||||
|
|||||||
@@ -9,6 +9,9 @@ set $mod Mod4
|
|||||||
# is used in the bar {} block below.
|
# is used in the bar {} block below.
|
||||||
font pango: Dinreg 10
|
font pango: Dinreg 10
|
||||||
|
|
||||||
|
# Nitrogen desktop manager
|
||||||
|
exec_always --no-startup-id nitrogen --restore
|
||||||
|
|
||||||
# Start XDG autostart .desktop files using dex. See also
|
# Start XDG autostart .desktop files using dex. See also
|
||||||
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
# https://wiki.archlinux.org/index.php/XDG_Autostart
|
||||||
#exec --no-startup-id dex --autostart --environment i3
|
#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.
|
# and nm-applet is a desktop environment-independent system tray GUI for it.
|
||||||
exec --no-startup-id nm-applet
|
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.
|
# Use pactl to adjust volume in PulseAudio.
|
||||||
set $refresh_i3status killall -SIGUSR1 i3status
|
set $refresh_i3status killall -SIGUSR1 i3status
|
||||||
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
bindsym XF86AudioRaiseVolume exec --no-startup-id pactl set-sink-volume @DEFAULT_SINK@ +10% && $refresh_i3status
|
||||||
|
|||||||
Reference in New Issue
Block a user