From c6c985d1188830ac90a546cfa27a77c220c9d096 Mon Sep 17 00:00:00 2001 From: jdlugosz963 Date: Thu, 19 Oct 2023 19:24:35 +0200 Subject: Add stumpwm and change disk config for berserker. --- .emacs.d/jd/jd-exwm.el | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to '.emacs.d/jd/jd-exwm.el') diff --git a/.emacs.d/jd/jd-exwm.el b/.emacs.d/jd/jd-exwm.el index ed1c673..f083c44 100755 --- a/.emacs.d/jd/jd-exwm.el +++ b/.emacs.d/jd/jd-exwm.el @@ -4,6 +4,8 @@ ;;; Code: +(jd/use-package perspective "emacs-perspective") + (jd/use-package exwm "emacs-exwm" :config (defun jd/exwm-update-class () @@ -73,6 +75,7 @@ ?\M-` ?\M-& ?\M-! + ?\C-g ?\M-: ?\C-\M-j ?\C-\ )) @@ -114,27 +117,24 @@ (defun jd/dunst-show-history () (interactive) (start-process-shell-command "dunstctl" nil "dunstctl history-pop")) + (global-set-key (kbd "C-c N h") #'jd/dunst-show-history) (defun jd/dunst-close () (interactive) (start-process-shell-command "dunstctl" nil "dunstctl close")) + (global-set-key (kbd "C-c N c") #'jd/dunst-close) (defun jd/dunst-close-all () (interactive) (start-process-shell-command "dunstctl" nil "dunstctl close-all")) - - (jd/leader-key-def - "d" '(nil :which-key "dunst") - "dh" '(jd/dunst-show-history :which-key "show history") - "dc" '(jd/dunst-close :which-key "close") - "da" '(jd/dunst-close-all :which-key "close all")) + (global-set-key (kbd "C-c N a") #'jd/dunst-close-all) (desktop-environment-mode)) -(set-frame-parameter (selected-frame) 'alpha '(90 . 90)) -(add-to-list 'default-frame-alist `(alpha . (90 . 90))) -(set-frame-parameter (selected-frame) 'fullscreen 'maximized) -(add-to-list 'default-frame-alist '(fullscreen . maximized)) +;; (set-frame-parameter (selected-frame) 'alpha '(90 . 90)) +;; (add-to-list 'default-frame-alist `(alpha . (90 . 90))) +;; (set-frame-parameter (selected-frame) 'fullscreen 'maximized) +;; (add-to-list 'default-frame-alist '(fullscreen . maximized)) (defun jd-exwm/get-color (ATTRIBUTE) (face-attribute 'default ATTRIBUTE)) -- cgit v1.2.3