Add conditional when to load packages
This commit is contained in:
parent
51c273eb30
commit
04242ba508
1 changed files with 6 additions and 5 deletions
|
@ -144,6 +144,9 @@
|
|||
(add-to-list 'eglot-server-programs '((c++-mode c-mode) "ccls"))))
|
||||
|
||||
(use-package sql
|
||||
:if (or (and (eq system-type 'windows-nt)
|
||||
(file-directory-p "C:/Program Files/PostgreSQL/16/bin/psql.exe"))
|
||||
(eq system-type 'gnu/linux))
|
||||
:config
|
||||
(setq sql-connection-alist
|
||||
'((finance-db
|
||||
|
@ -304,11 +307,9 @@
|
|||
;; :hook (typescript-mode . eglot-ensure)
|
||||
;; :config (setq typescript-indent-level 2))
|
||||
|
||||
(when (eq system-type 'gnu/linux)
|
||||
(use-package spotify :bind ("S-<pause>" . spotify-playpause))
|
||||
;; (use-package clojure-mode)
|
||||
;; (use-package cider)
|
||||
)
|
||||
(use-package spotify
|
||||
:if (eq system-type 'gnu/linux)
|
||||
:bind ("S-<pause>" . spotify-playpause))
|
||||
|
||||
(use-package mastodon
|
||||
:defer t
|
||||
|
|
Loading…
Add table
Reference in a new issue