mirror of
https://github.com/SqrtMinusOne/dotfiles.git
synced 2025-12-10 11:13:04 +03:00
Merge branch 'master' of github.com:SqrtMinusOne/dotfiles
This commit is contained in:
commit
23496bfacc
2 changed files with 22 additions and 6 deletions
|
|
@ -542,9 +542,11 @@ then it takes a second \\[keyboard-quit] to abort the minibuffer."
|
|||
(interactive)
|
||||
(if (derived-mode-p 'exwm-mode)
|
||||
(my/run-in-background "xkb-switch -n")
|
||||
(if (equal (string-trim
|
||||
(shell-command-to-string "xkb-switch -p"))
|
||||
"us")
|
||||
(if (or
|
||||
(not (executable-find "xkb-switch"))
|
||||
(equal (string-trim
|
||||
(shell-command-to-string "xkb-switch -p"))
|
||||
"us"))
|
||||
(toggle-input-method)
|
||||
(my/run-in-background "xkb-switch -s us"))))
|
||||
|
||||
|
|
@ -7219,6 +7221,10 @@ ENTRY is an instance of `elfeed-entry'."
|
|||
:straight t
|
||||
:defer t)
|
||||
|
||||
(unless (display-graphic-p)
|
||||
(defun image-transforms-p () nil)
|
||||
(setq image-types '(svg png gif tiff jpeg xpm xbm pbm)))
|
||||
|
||||
(defun my/mastodon-configure ()
|
||||
(display-line-numbers-mode -1))
|
||||
|
||||
|
|
|
|||
16
Emacs.org
16
Emacs.org
|
|
@ -978,9 +978,11 @@ I also want to call =xkb-switch= in EXWM buffers with the same keybindig.
|
|||
(interactive)
|
||||
(if (derived-mode-p 'exwm-mode)
|
||||
(my/run-in-background "xkb-switch -n")
|
||||
(if (equal (string-trim
|
||||
(shell-command-to-string "xkb-switch -p"))
|
||||
"us")
|
||||
(if (or
|
||||
(not (executable-find "xkb-switch"))
|
||||
(equal (string-trim
|
||||
(shell-command-to-string "xkb-switch -p"))
|
||||
"us"))
|
||||
(toggle-input-method)
|
||||
(my/run-in-background "xkb-switch -s us"))))
|
||||
#+end_src
|
||||
|
|
@ -10022,6 +10024,14 @@ The default UI is rather rough, but Nicolas Rougier's [[https://github.com/rougi
|
|||
:straight t
|
||||
:defer t)
|
||||
#+end_src
|
||||
|
||||
Compatibility with termux.
|
||||
#+begin_src emacs-lisp
|
||||
(unless (display-graphic-p)
|
||||
(defun image-transforms-p () nil)
|
||||
(setq image-types '(svg png gif tiff jpeg xpm xbm pbm)))
|
||||
#+end_src
|
||||
|
||||
**** UI and keymaps
|
||||
=display-line-numbers-mode= screws the UI for some reason.
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue