From fc6cf6169868e60c189e4b243330c3717ff159f3 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Thu, 26 May 2022 13:58:07 +0200 Subject: ... --- accounts/gkleen@sif/default.nix | 2 +- accounts/gkleen@sif/emacs.el | 6 ++++++ accounts/gkleen@sif/xmonad/xmonad.hs | 4 ++-- 3 files changed, 9 insertions(+), 3 deletions(-) (limited to 'accounts/gkleen@sif') diff --git a/accounts/gkleen@sif/default.nix b/accounts/gkleen@sif/default.nix index 69c3369f..84b9e464 100644 --- a/accounts/gkleen@sif/default.nix +++ b/accounts/gkleen@sif/default.nix @@ -93,7 +93,7 @@ in { smart-mode-line highlight-parentheses highlight-symbol ag sass-mode lua-mode fira-code-mode use-package # notmuch use-package-ensure-system-package git-gutter emacsScratch - edit-server mediawiki + edit-server mediawiki editorconfig typescript-mode ]; }; firefox = { diff --git a/accounts/gkleen@sif/emacs.el b/accounts/gkleen@sif/emacs.el index d4b1a092..1a7cb863 100644 --- a/accounts/gkleen@sif/emacs.el +++ b/accounts/gkleen@sif/emacs.el @@ -16,6 +16,8 @@ (require 'evil) (evil-mode 1) +(editorconfig-mode 1) + (require 'edit-server) (edit-server-start) @@ -25,6 +27,8 @@ (define-key mediawiki-mode-map (kbd "") nil) (define-key mediawiki-mode-map (kbd "") nil))) +(require 'typescript-mode) + (global-subword-mode) (global-undo-tree-mode) (global-fira-code-mode) @@ -144,6 +148,8 @@ (setq direnv-enabled-hosts '("uni2work-dev1")) +(setq auth-sources '("secrets:Login")) + (defun tramp-sh-handle-start-file-process@my-direnv (args) "Enable Direnv for hosts in `direnv-enabled-hosts'." (with-parsed-tramp-file-name (expand-file-name default-directory) nil diff --git a/accounts/gkleen@sif/xmonad/xmonad.hs b/accounts/gkleen@sif/xmonad/xmonad.hs index 8f66bf39..1b73b7a1 100644 --- a/accounts/gkleen@sif/xmonad/xmonad.hs +++ b/accounts/gkleen@sif/xmonad/xmonad.hs @@ -186,9 +186,9 @@ hostFromName h , assign "mpv" $ (className =? "Alacritty" <&&> resource =? "twitch") , assign "web" $ className =? "chromium-browser" , assign "web" $ className =? "Google-chrome" - , assign "work" $ (appName =? "Devtools" <&&> className =? "firefox-default") + , assign "work" $ (appName =? "Devtools" <&&> className =? "firefox") , assign "work" $ className =? "Postman" - , assign "web" $ (appName =? "Navigator" <&&> className =? "firefox-default") + , assign "web" $ (appName =? "Navigator" <&&> className =? "firefox") , assign "comm" $ (className =? "Emacs" <&&> title =? "Mail") , assign "comm" $ className =? "Zulip" , assign "comm" $ className =? "Element" -- cgit v1.2.3