summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKjetil Orbekk <kj@orbekk.com>2023-12-26 21:14:40 -0500
committerKjetil Orbekk <kj@orbekk.com>2023-12-26 21:14:47 -0500
commit75124e467b683c9a2c24f19931685e985db52f64 (patch)
tree563620b6c045b3f5b6485931399b4e9d1eca5ac0
parent4db0ff91346959f5a830dd5c7f86ecb13ec58933 (diff)
update
-rwxr-xr-xdesktop/.config/sway/config4
-rw-r--r--emacs/.config/emacs-kj/init.el7
2 files changed, 9 insertions, 2 deletions
diff --git a/desktop/.config/sway/config b/desktop/.config/sway/config
index af20fde..dfb3040 100755
--- a/desktop/.config/sway/config
+++ b/desktop/.config/sway/config
@@ -46,9 +46,9 @@ include /etc/sway/config-vars.d/*
# your displays after another 300 seconds, and turn your screens back on when
# resumed. It will also lock your screen before your computer goes to sleep.
exec swayidle -w \
- timeout 900 'swaylock -f' \
+ timeout 900 'swaylock -f -c 000000' \
timeout 960 'swaymsg "output * dpms off"' resume 'swaymsg "output * dpms on"' \
- before-sleep 'swaylock -f'
+ before-sleep 'swaylock -f -c 000000'
bindsym $mod+Shift+z exec --no-startup-id 'swaylock'
### Input configuration
diff --git a/emacs/.config/emacs-kj/init.el b/emacs/.config/emacs-kj/init.el
index 4565bc9..68f0c21 100644
--- a/emacs/.config/emacs-kj/init.el
+++ b/emacs/.config/emacs-kj/init.el
@@ -819,6 +819,13 @@
(when (file-exists-p google-config-file)
(load-file google-config-file)))
+;; Bridge abbrevs
+;; Maybe use this instead? https://lists.gnu.org/archive/html/help-gnu-emacs/2021-11/msg00436.html
+(define-global-abbrev "club" "♣")
+(define-global-abbrev "diamond" "♦")
+(define-global-abbrev "heart" "♥")
+(define-global-abbrev "spade" "♠")
+
(use-package pcre2el)
(use-package pdf-tools)