Config: install denote and some extra packages, add plocate support on linux, optimize keybindings
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
(let ((display-buffer-alist
|
||||
'((".*" . (display-buffer-no-window . nil)))))
|
||||
(async-shell-command command))))
|
||||
|
||||
|
||||
(defun restart-fcitx5 ()
|
||||
"Kill and restart fcitx5, to fix random issues in exwm."
|
||||
(interactive)
|
||||
@@ -24,6 +24,21 @@
|
||||
(eshell-command "fcitx5 -d"))
|
||||
(eshell-command "fcitx5 -d")))
|
||||
|
||||
(defun reboot ()
|
||||
"Execute loginctl reboot command."
|
||||
(interactive)
|
||||
(eshell-command "loginctl reboot"))
|
||||
|
||||
(defun poweroff ()
|
||||
"Execute loginctl poweroff command"
|
||||
(interactive)
|
||||
(eshell-command "loginctl poweroff"))
|
||||
|
||||
(defun suspend ()
|
||||
"Execute loginctl suspend command"
|
||||
(interactive)
|
||||
(eshell-command "loginctl suspend"))
|
||||
|
||||
(defun my--exwm-switch-to-workspace (delta)
|
||||
(let ((target
|
||||
(mod (+ exwm-workspace-current-index delta)
|
||||
|
||||
Reference in New Issue
Block a user