diff options
Diffstat (limited to 'accounts/gkleen@sif')
-rw-r--r-- | accounts/gkleen@sif/default.nix | 2 | ||||
-rw-r--r-- | accounts/gkleen@sif/emacs.el | 6 | ||||
-rw-r--r-- | accounts/gkleen@sif/xmonad/xmonad.hs | 4 |
3 files changed, 9 insertions, 3 deletions
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 { | |||
93 | smart-mode-line highlight-parentheses highlight-symbol | 93 | smart-mode-line highlight-parentheses highlight-symbol |
94 | ag sass-mode lua-mode fira-code-mode use-package # notmuch | 94 | ag sass-mode lua-mode fira-code-mode use-package # notmuch |
95 | use-package-ensure-system-package git-gutter emacsScratch | 95 | use-package-ensure-system-package git-gutter emacsScratch |
96 | edit-server mediawiki | 96 | edit-server mediawiki editorconfig typescript-mode |
97 | ]; | 97 | ]; |
98 | }; | 98 | }; |
99 | firefox = { | 99 | 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 @@ | |||
16 | (require 'evil) | 16 | (require 'evil) |
17 | (evil-mode 1) | 17 | (evil-mode 1) |
18 | 18 | ||
19 | (editorconfig-mode 1) | ||
20 | |||
19 | (require 'edit-server) | 21 | (require 'edit-server) |
20 | (edit-server-start) | 22 | (edit-server-start) |
21 | 23 | ||
@@ -25,6 +27,8 @@ | |||
25 | (define-key mediawiki-mode-map (kbd "<C-left>") nil) | 27 | (define-key mediawiki-mode-map (kbd "<C-left>") nil) |
26 | (define-key mediawiki-mode-map (kbd "<C-right>") nil))) | 28 | (define-key mediawiki-mode-map (kbd "<C-right>") nil))) |
27 | 29 | ||
30 | (require 'typescript-mode) | ||
31 | |||
28 | (global-subword-mode) | 32 | (global-subword-mode) |
29 | (global-undo-tree-mode) | 33 | (global-undo-tree-mode) |
30 | (global-fira-code-mode) | 34 | (global-fira-code-mode) |
@@ -144,6 +148,8 @@ | |||
144 | 148 | ||
145 | (setq direnv-enabled-hosts '("uni2work-dev1")) | 149 | (setq direnv-enabled-hosts '("uni2work-dev1")) |
146 | 150 | ||
151 | (setq auth-sources '("secrets:Login")) | ||
152 | |||
147 | (defun tramp-sh-handle-start-file-process@my-direnv (args) | 153 | (defun tramp-sh-handle-start-file-process@my-direnv (args) |
148 | "Enable Direnv for hosts in `direnv-enabled-hosts'." | 154 | "Enable Direnv for hosts in `direnv-enabled-hosts'." |
149 | (with-parsed-tramp-file-name (expand-file-name default-directory) nil | 155 | (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 | |||
186 | , assign "mpv" $ (className =? "Alacritty" <&&> resource =? "twitch") | 186 | , assign "mpv" $ (className =? "Alacritty" <&&> resource =? "twitch") |
187 | , assign "web" $ className =? "chromium-browser" | 187 | , assign "web" $ className =? "chromium-browser" |
188 | , assign "web" $ className =? "Google-chrome" | 188 | , assign "web" $ className =? "Google-chrome" |
189 | , assign "work" $ (appName =? "Devtools" <&&> className =? "firefox-default") | 189 | , assign "work" $ (appName =? "Devtools" <&&> className =? "firefox") |
190 | , assign "work" $ className =? "Postman" | 190 | , assign "work" $ className =? "Postman" |
191 | , assign "web" $ (appName =? "Navigator" <&&> className =? "firefox-default") | 191 | , assign "web" $ (appName =? "Navigator" <&&> className =? "firefox") |
192 | , assign "comm" $ (className =? "Emacs" <&&> title =? "Mail") | 192 | , assign "comm" $ (className =? "Emacs" <&&> title =? "Mail") |
193 | , assign "comm" $ className =? "Zulip" | 193 | , assign "comm" $ className =? "Zulip" |
194 | , assign "comm" $ className =? "Element" | 194 | , assign "comm" $ className =? "Element" |