From 46262fbc8163868168129173972d0d9ad2677820 Mon Sep 17 00:00:00 2001 From: JaeYoo-Im Date: Wed, 5 Apr 2023 19:00:50 +0900 Subject: [PATCH] bspwm : configuration start --- .config/emacs/desktop.org | 16 ++++++++-------- .config/{bspwm => sxhkd}/sxhkdrc | 0 2 files changed, 8 insertions(+), 8 deletions(-) rename .config/{bspwm => sxhkd}/sxhkdrc (100%) diff --git a/.config/emacs/desktop.org b/.config/emacs/desktop.org index 183c61b..e9602ba 100644 --- a/.config/emacs/desktop.org +++ b/.config/emacs/desktop.org @@ -23,6 +23,11 @@ DesktopNames=exwm * Configuration +** App Launcher +#+begin_src emacs-lisp :tangle ~/.config/emacs/desktop.el + (straight-use-package + '(app-launcher :type git :host github :repo "SebastienWae/app-launcher")) +#+end_src ** EXWM #+begin_src emacs-lisp :tangle ~/.config/emacs/desktop.el @@ -38,7 +43,7 @@ DesktopNames=exwm (defun efs/exwm-init-hook () ;; Make workspace 1 be the one where we land at startup (exwm-workspace-switch-create 1) - ;;(efs/start-panel) + (efs/start-panel) ;; if not wsl ;;(efs/run-in-background "xsetroot -cursor_name left_ptr") ;;(efs/run-in-background "nm-applet") @@ -135,7 +140,7 @@ DesktopNames=exwm ;; App (,(kbd "") . vifon/exwm-terminal) - (,(kbd "") . app-launcher-run-app) + ([?\s-d] . app-launcher-run-app) ;; Switch workspace ([?\s-w] . exwm-workspace-switch) ([?\s-`] . (lambda () (interactive) (exwm-workspace-switch-create 0))) @@ -150,7 +155,7 @@ DesktopNames=exwm (exwm-enable)) - if not wsl + ;; if not wsl (use-package desktop-environment :after exwm :config (desktop-environment-mode) @@ -191,8 +196,3 @@ DesktopNames=exwm ;; Update panel indicator when workspace changes (add-hook 'exwm-workspace-switch-hook #'efs/send-polybar-exwm-workspace) #+end_src -** App Launcher -#+begin_src emacs-lisp :tangle ~/.config/emacs/desktop.el - (straight-use-package - '(app-launcher :type git :host github :repo "SebastienWae/app-launcher")) -#+end_src diff --git a/.config/bspwm/sxhkdrc b/.config/sxhkd/sxhkdrc similarity index 100% rename from .config/bspwm/sxhkdrc rename to .config/sxhkd/sxhkdrc