Adjust bak script & doom font bindings
This commit is contained in:
parent
b8e4b6f063
commit
c9b11ff5a9
|
@ -90,10 +90,11 @@ Version 2019-11-04 2021-02-16"
|
|||
"#" 'xah-open-in-external-app
|
||||
;; Buffer-local font resizing
|
||||
:n
|
||||
"M-C-=" 'text-scale-increase
|
||||
"M-C-+" 'text-scale-increase
|
||||
"M-C--" 'text-scale-decrease
|
||||
;; Frame-local font resizing
|
||||
"C-=" 'doom/increase-font-size
|
||||
"C-=" 'doom/reset-font-size
|
||||
"C-+" 'doom/increase-font-size
|
||||
"C--" 'doom/decrease-font-size
|
||||
)
|
||||
|
||||
|
|
|
@ -1,2 +1,3 @@
|
|||
#!/bin/sh
|
||||
test -e "$1.bak" && ((test -e "$1" && mv "$1" /tmp); mv -n "$1.bak" "$1") || mv -n "$1" "$1.bak"
|
||||
suffix="${2:-bak}"
|
||||
test -e "$1.$suffix" && ((test -e "$1" && mv -v "$1" /tmp); mv -vn "$1.$suffix" "$1") || mv -vn "$1" "$1.$suffix"
|
||||
|
|
Loading…
Reference in New Issue