summaryrefslogtreecommitdiffhomepage
path: root/init.org
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-02-19 05:27:34 +0000
committerjao <jao@gnu.org>2021-02-19 05:27:34 +0000
commitead84d921dd0a5c91a6392c881f53bdfe8edca08 (patch)
tree2d1b138dff19f2373b2416f8680111c05be2577b /init.org
parent45b821af6e37da74046d061051fa0915d25ee2da (diff)
downloadelibs-ead84d921dd0a5c91a6392c881f53bdfe8edca08.tar.gz
elibs-ead84d921dd0a5c91a6392c881f53bdfe8edca08.tar.bz2
a few shortcuts for sway
Diffstat (limited to 'init.org')
-rw-r--r--init.org21
1 files changed, 13 insertions, 8 deletions
diff --git a/init.org b/init.org
index 059aafe..26b60b2 100644
--- a/init.org
+++ b/init.org
@@ -209,7 +209,8 @@
#+begin_src emacs-lisp
(jao-load-path "app-launcher")
(use-package app-launcher
- :bind (("s-r" . app-launcher-run-app)))
+ :bind (("s-r" . app-launcher-run-app)
+ ("H-s-r" . app-launcher-run-app)))
#+end_src
*** Brightness control
#+begin_src emacs-lisp
@@ -532,7 +533,7 @@
(file-symlink-p current)
t))))
(make-symbolic-link (expand-file-name f) current t)
- (make-symbolic-link (expand-file-name f) "~/.lockimage" t)
+ ;; (make-symbolic-link (expand-file-name f) "~/.lockimage" t)
(if jao-sway-enabled-p
(jao-swaymsg (format "output * bg %s fill" current))
(shell-command (format "xwallpaper --zoom %s" f))))))
@@ -1334,6 +1335,7 @@
(switch-window-threshold 3))
:bind (("M-o" . switch-window)
("M-O" . switch-window-then-swap-buffer)
+ ("H-s-O" . switch-window-then-swap-buffer)
("C-x 4 d" . switch-window-then-dired)
("C-x 4 f" . switch-window-then-find-file)
("C-x 4 b" . switch-window-then-display-buffer)))
@@ -4281,21 +4283,24 @@
(global-set-key "\C-z" 'comment-or-uncomment-region)
(pretty-hydra-define jao-hydra-emacs-utils (:color blue :quit-key "q")
- ("Misc"
+ ("Notes"
+ (("n" org-roam-capture "capture note")
+ ("N" org-roam-find-file-immediate "go to note"))
+ "Packages"
(("a" jao-vterm-aptitude "aptitude")
("l" (progn (jao-afio--goto-scratch) (list-packages)) "package list")
- ("f" (jao-sway-run-or-focus "firefox") "switch to firefox"))
+ )
"Network"
(("s" jao-ssh "ssh")
("v" proton-vpn "proton vpn")
("m" run-proton-bridge "proton bridge"))
- "Devices"
+ ""
(("b" bluetooth-list-devices "bluetooth")
- ("n" enwc "networks"))
+ ("f" (jao-sway-run-or-focus "firefox") "switch to firefox"))
"Monitors"
(("p" jao-vterm-htop "htop")
- ("P" (jao-sway-run-or-focus "pavucontrol") "pavucontrol")
- ("t" jao-time-echo-times "current time"))
+ ("t" jao-time-echo-times "current time")
+ )
"Looks"
(("T" jao-toggle-transparency "toggle transparency"
:toggle (jao-transparent-p) :color red)