diff options
-rw-r--r-- | .config/emacs/init.el | 2 | ||||
-rw-r--r-- | .config/emacs/modules/bd--essential-windowing.el | 8 | ||||
-rw-r--r-- | .config/emacs/modules/bd--project.el | 17 | ||||
-rw-r--r-- | .config/guix/modules/dwm/config.def.h | 13 | ||||
-rw-r--r-- | .config/guix/modules/ssh.scm | 3 |
5 files changed, 35 insertions, 8 deletions
diff --git a/.config/emacs/init.el b/.config/emacs/init.el index 1018c27..98eea04 100644 --- a/.config/emacs/init.el +++ b/.config/emacs/init.el @@ -65,5 +65,7 @@ (require 'bd--roam) (require 'bd--emms) (require 'bd--modeline) +(require 'bd--project) + (server-start) diff --git a/.config/emacs/modules/bd--essential-windowing.el b/.config/emacs/modules/bd--essential-windowing.el index 14b7065..0759ad4 100644 --- a/.config/emacs/modules/bd--essential-windowing.el +++ b/.config/emacs/modules/bd--essential-windowing.el @@ -14,10 +14,10 @@ ;; no fringe (fringe-mode '(0 . 0)) -(keymap-global-set "M-n" 'other-window) -(keymap-global-set "M-p" (lambda () - (interactive) - (other-window -1))) +(keymap-global-set "M-<down>" 'other-window) +(keymap-global-set "M-<up>" (lambda () + (interactive) + (other-window -1))) ;; dedication diff --git a/.config/emacs/modules/bd--project.el b/.config/emacs/modules/bd--project.el new file mode 100644 index 0000000..14b084b --- /dev/null +++ b/.config/emacs/modules/bd--project.el @@ -0,0 +1,17 @@ +;; -*- lexical-binding: t; -*- + + +(setq tab-bar-show 1) + +(defun bd/tab-bar-name-function () + (let ((project (project-current))) + (if project + (car (last + (file-name-split + (directory-file-name + (project-root project))))) + (tab-bar-tab-name-current)))) + +(setq tab-bar-tab-name-function #'bd/tab-bar-name-function) + +(provide 'bd--project) diff --git a/.config/guix/modules/dwm/config.def.h b/.config/guix/modules/dwm/config.def.h index 69625a4..214ed2b 100644 --- a/.config/guix/modules/dwm/config.def.h +++ b/.config/guix/modules/dwm/config.def.h @@ -28,7 +28,7 @@ static const unsigned int alphas[][3] = { }; /* tagging */ -static const char *tags[] = { "dev", "brw", "wte", "ws4", "ws5", "ws6", "ws7", "vid", "agd" }; +static const char *tags[] = { "dev", "brw", "doc", "wte", "art", "ws6", "img", "vid", "agd" }; static const Rule rules[] = { /* xprop(1): @@ -36,9 +36,14 @@ static const Rule rules[] = { * WM_NAME(STRING) = title */ /* class instance title tags mask isfloating monitor */ - { "Gimp", NULL, NULL, 0, 1, -1 }, - { "Icecat", NULL, NULL, 1 << 8, 0, -1 }, - { "mpv", NULL, NULL, 1 << 8, 0, -1 }, + { "Emacs", NULL, NULL, 1 << 0, 0, -1 }, + { "Icecat", NULL, NULL, 1 << 1, 0, -1 }, + { "Chromium-browser",NULL,NULL, 1 << 1, 0, -1 }, + { "Zathura", NULL, NULL, 1 << 2, 0, -1 }, + { "libreoffice",NULL, NULL, 1 << 3, 0, -1 }, + { "Gimp", NULL, NULL, 1 << 4, 1, -1 }, + { "Sxiv", NULL, NULL, 1 << 6, 0, -1 }, + { "mpv", NULL, NULL, 1 << 7, 0, -1 }, }; /* layout(s) */ diff --git a/.config/guix/modules/ssh.scm b/.config/guix/modules/ssh.scm index 43519ff..d74c871 100644 --- a/.config/guix/modules/ssh.scm +++ b/.config/guix/modules/ssh.scm @@ -17,6 +17,9 @@ (openssh-host (name "ivaldi") (host-name "192.168.1.98") (user "bdunahu")) + (openssh-host (name "heimdallr") + (host-name "operationnull.com") + (user "root")) (openssh-host (name "perch") (host-name "perch.cs.colostate.edu") (user "bdunahu")))))))) |