mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 09:53:10 -05:00
Compare commits
129 commits
3548a10425
...
5509627012
Author | SHA1 | Date | |
---|---|---|---|
5509627012 | |||
96ebd7508f | |||
0b6a3fc4b1 | |||
12a954114b | |||
38b4a6bd2c | |||
be670818ec | |||
68d35abde2 | |||
2385138a0c | |||
0c787c6f21 | |||
b61569a344 | |||
32e29c0a62 | |||
f277be1b92 | |||
ee5cab2e7f | |||
beeab0cc22 | |||
51c9c50c5d | |||
06e33c6e26 | |||
d64c090967 | |||
100079f44e | |||
6cc0300034 | |||
a4cc6039fb | |||
a5a62f76e9 | |||
d8ba633c23 | |||
179e307872 | |||
33c7af3d2d | |||
52510e9920 | |||
dd06f27e9c | |||
f47f544ab1 | |||
6f32770af9 | |||
e48a6dc379 | |||
2fdcbaabe7 | |||
935fef2171 | |||
d16bda8132 | |||
840781aef3 | |||
55a1cce501 | |||
2ae4c31240 | |||
bf4be790cf | |||
985a7db9c8 | |||
b565ef6f40 | |||
471f9b85d1 | |||
61852efb1e | |||
b770bf66a6 | |||
0581c7fe77 | |||
bd3b22786d | |||
530349a711 | |||
69b0c8b3b1 | |||
39ca4e45cd | |||
0a4ecb7e2b | |||
27ad473d88 | |||
ac23446cbb | |||
baa4082c07 | |||
63c932e328 | |||
39c9a422a4 | |||
f083baf0c3 | |||
966df44c6c | |||
c53fbcb8aa | |||
c5edbcc268 | |||
1b39b5e17b | |||
d68ca64c0c | |||
c217ed2142 | |||
095a63f9ae | |||
ab7b78f00d | |||
cdf1524fdb | |||
e6fd841b21 | |||
2b31eba3cd | |||
4958bae257 | |||
23299f13f2 | |||
649defa385 | |||
d02d16919b | |||
119b5d06cb | |||
25722bb854 | |||
58805bfa1c | |||
29806d5965 | |||
35cbec6126 | |||
e5062af7fa | |||
3f9e2352a5 | |||
529155896b | |||
6b099bdd68 | |||
f04ac3e6b3 | |||
033f1ef161 | |||
f78a3b3051 | |||
c2256e884f | |||
e64a073a26 | |||
54020d25c4 | |||
9580a0c5f9 | |||
6c7f053c4d | |||
ef492e82ff | |||
7d4a76c3f2 | |||
a693991921 | |||
2d0235bfd8 | |||
67c8f45ebc | |||
4f09840804 | |||
f01b4fc865 | |||
0dfbbf42df | |||
3947757872 | |||
4c6a0997c9 | |||
3e4ae50cce | |||
6f9bd2c551 | |||
b6b0736bdb | |||
4fc306adfe | |||
66355a0d5c | |||
debc3b557e | |||
e4a63a363d | |||
2a87da011c | |||
a1bac98dc0 | |||
ecf5ad7499 | |||
0a69f3a59b | |||
c39049f114 | |||
9c22b2efda | |||
0662d8e9bd | |||
6978908e2a | |||
e48a273fc7 | |||
e0bad5bba0 | |||
e25faf496f | |||
eff2570f44 | |||
a64063f814 | |||
159884ad9a | |||
794049d115 | |||
e6618db118 | |||
5b9486ea2f | |||
8261893f8b | |||
aa794c4745 | |||
d0b028ff36 | |||
b396c0a187 | |||
1f5a6e1337 | |||
e41d63511e | |||
930190948e | |||
4905de7c1a | |||
113431b14e | |||
43699a91a3 |
5 changed files with 66 additions and 84 deletions
|
@ -1,3 +1,4 @@
|
|||
|
||||
install.sh
|
||||
Xresources
|
||||
bin/mirror-outputs
|
||||
|
@ -14,7 +15,6 @@ config/polybar/*
|
|||
!config/polybar/custom_modules.ini
|
||||
!config/ranger
|
||||
!config/rofi
|
||||
!config/xsettingsd
|
||||
emacs.d/*
|
||||
!emacs.d/init.el
|
||||
!emacs.d/snippets
|
||||
|
|
|
@ -146,6 +146,7 @@ URxvt.keysym.Shift-Control-C: eval:selection_to_clipboard
|
|||
!! font
|
||||
!URxvt.letterSpace: -1
|
||||
URxvt.font: xft:Hack:regular:size=12, \
|
||||
xft:Font Awesome 6 Brands:Regular:size=10, \
|
||||
xft:Font Awesome 6 Free:Solid:size=10, \
|
||||
xft:Font Awesome 6 Free:Regular:size=10
|
||||
xft:Font Awesome 5 Brands:Regular:size=10, \
|
||||
xft:Font Awesome 5 Free:Solid:size=10, \
|
||||
xft:Font Awesome 5 Free:Regular:size=10
|
||||
|
||||
|
|
|
@ -1,3 +1,4 @@
|
|||
|
||||
[global/wm]
|
||||
include-file = ~/.config/polybar/colors.ini
|
||||
include-file = ~/.config/polybar/modules.ini
|
||||
|
@ -99,7 +100,7 @@ click-right =
|
|||
;font-1 = Font Awesome 6 Free:style=Solid:size=12;3
|
||||
;font-2 = Font Awesome 6 Free:style=Regular:size=12;3
|
||||
;font-3 = Font Awesome 6 Brands:style=Regular:size=12;3
|
||||
|
||||
;
|
||||
;modules-left = workspaces sep title
|
||||
;modules-center = spotify
|
||||
;modules-right = cpu sep memory sep filesystem
|
||||
|
@ -130,4 +131,4 @@ click-right =
|
|||
;
|
||||
;[settings]
|
||||
;screenchange-reload = false
|
||||
|
||||
;
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
Net/IconThemeName "Papirus-Dark"
|
||||
Net/ThemeName "Materia-dark"
|
||||
Xft/Hinting 1
|
||||
Xft/HintStyle "hintfull"
|
||||
Xft/Antialias 1
|
||||
Xft/RGBA "rgb"
|
130
emacs.d/init.el
130
emacs.d/init.el
|
@ -6,10 +6,9 @@
|
|||
(scroll-bar-mode -1) ; Disable visible scrollbar
|
||||
(tool-bar-mode -1) ; Disable the toolbar
|
||||
(tooltip-mode -1) ; Disable tooltips
|
||||
(set-fringe-mode 10) ; Add come extra space to the left/right sides
|
||||
(set-fringe-mode 10) ; Give some breathing room
|
||||
(menu-bar-mode -1) ; Disable the menu bar
|
||||
(setq-default custom-file null-device) ; Write customizations not in this file to the null device (AKA stop littering in my init.el)
|
||||
(setq confirm-kill-processes nil) ; Stop asking about running processes on exit
|
||||
|
||||
;; Visible bell
|
||||
(setq visible-bell t)
|
||||
|
@ -68,11 +67,11 @@
|
|||
conf-mode-hook))
|
||||
(add-hook mode (lambda () (display-line-numbers-mode 1))))
|
||||
|
||||
;; Show vertical line at column 80 in prog-mode
|
||||
;; Show vertical line at column 80 to keep code clean in prog-mode
|
||||
(setq-default fill-column 80)
|
||||
(add-hook 'prog-mode-hook #'display-fill-column-indicator-mode)
|
||||
|
||||
; No line numbers in org-mode
|
||||
; Override some modes which derive from the above
|
||||
(dolist (mode '(org-mode-hook))
|
||||
(add-hook mode (lambda () (display-line-numbers-mode 0))))
|
||||
|
||||
|
@ -122,7 +121,9 @@
|
|||
(setq custom-safe-themes t)
|
||||
|
||||
;; (use-package everforest
|
||||
;; :straight (:type git :repo "https://git.sr.ht/~theorytoe/everforest-theme"))
|
||||
;; :straight (:type git :repo "https://git.sr.ht/~theorytoe/everforest-theme")
|
||||
;; :config
|
||||
;; (load-theme 'everforest-hard-dark t))
|
||||
|
||||
;; (use-package gruvbox-theme
|
||||
;; :config
|
||||
|
@ -291,8 +292,7 @@
|
|||
(eval-when-compile
|
||||
(require 'cl-lib))
|
||||
(require 'dap-python)
|
||||
;(require 'dap-node)
|
||||
(require 'dap-lldb)
|
||||
(require 'dap-node)
|
||||
:bind
|
||||
(:map dap-mode-map
|
||||
("<f5>" . dap-debug)
|
||||
|
@ -335,9 +335,8 @@
|
|||
|
||||
;; C/C++
|
||||
|
||||
(setq dap-lldb-debug-program '("/usr/bin/lldb-vscode"))
|
||||
(setq-default c-default-style "k&r")
|
||||
(setq-default c-basic-offset 2)
|
||||
;(setq-default c-default-style "k&r")
|
||||
;(setq-default c-basic-offset 2)
|
||||
|
||||
;(use-package ccls
|
||||
; :hook ((c-mode c++-mode objc-mode cuda-mode) .
|
||||
|
@ -349,9 +348,9 @@
|
|||
|
||||
;; Golang
|
||||
|
||||
;; (use-package go-mode
|
||||
;; :config
|
||||
;; (add-hook 'before-save-hook #'lsp-organize-imports))
|
||||
(use-package go-mode
|
||||
:config
|
||||
(add-hook 'before-save-hook #'lsp-organize-imports))
|
||||
|
||||
;; Java
|
||||
|
||||
|
@ -359,35 +358,35 @@
|
|||
|
||||
;; JavaScript/TypeScript, HTML, CSS
|
||||
|
||||
;; (setq css-indent-level 2)
|
||||
;; (setq css-indent-offset 2)
|
||||
;; (setq js-indent-level 2)
|
||||
(setq css-indent-level 2)
|
||||
(setq css-indent-offset 2)
|
||||
(setq js-indent-level 2)
|
||||
|
||||
;; (add-to-list 'auto-mode-alist '("\\.mjs\\'" . js-mode))
|
||||
(add-to-list 'auto-mode-alist '("\\.mjs\\'" . js-mode))
|
||||
|
||||
;; (use-package js2-mode
|
||||
;; :config
|
||||
;; (add-to-list 'interpreter-mode-alist '("#!/usr/bin/env node" . js2-mode))
|
||||
;; ;(setq js2-strict-missing-semi-warning t)
|
||||
;; (setq js2-mode-show-strict-warnings t)
|
||||
;; :hook (js-mode . js2-minor-mode))
|
||||
(use-package js2-mode
|
||||
:config
|
||||
(add-to-list 'interpreter-mode-alist '("#!/usr/bin/env node" . js2-mode))
|
||||
;(setq js2-strict-missing-semi-warning t)
|
||||
(setq js2-mode-show-strict-warnings t)
|
||||
:hook (js-mode . js2-minor-mode))
|
||||
|
||||
;; (use-package typescript-mode
|
||||
;; :config
|
||||
;; (setq typescript-indent-level 2)
|
||||
;; :mode ("\\.ts\\'" . typescript-mode)
|
||||
;; ("\\.tsx\\'" . typescript-mode))
|
||||
(use-package typescript-mode
|
||||
:config
|
||||
(setq typescript-indent-level 2)
|
||||
:mode ("\\.ts\\'" . typescript-mode)
|
||||
("\\.tsx\\'" . typescript-mode))
|
||||
|
||||
;; (use-package restclient
|
||||
;; :init
|
||||
;; (use-package company-restclient)
|
||||
;; :mode ("\\.http\\'" . restclient-mode))
|
||||
(use-package restclient
|
||||
:init
|
||||
(use-package company-restclient)
|
||||
:mode ("\\.http\\'" . restclient-mode))
|
||||
|
||||
;; (use-package rainbow-mode
|
||||
;; :hook
|
||||
;; ((js-mode . rainbow-mode)
|
||||
;; (typescript-mode . rainbow-mode)
|
||||
;; (web-mode . rainbow-mode)))
|
||||
(use-package rainbow-mode
|
||||
:hook
|
||||
((js-mode . rainbow-mode)
|
||||
(typescript-mode . rainbow-mode)
|
||||
(web-mode . rainbow-mode)))
|
||||
|
||||
;; (use-package skewer-mode
|
||||
;; :init
|
||||
|
@ -404,36 +403,36 @@
|
|||
|
||||
;; (use-package simple-httpd)
|
||||
|
||||
;; (use-package web-mode
|
||||
;; :config
|
||||
;; (setq web-mode-code-indent-offset 2)
|
||||
;; (setq web-mode-markup-indent-offset 2)
|
||||
;; (setq web-mode-attribute-indent-offset 2)
|
||||
;; :mode
|
||||
;; (("\\.phtml\\'" . web-mode)
|
||||
;; ("\\.tpl\\.php\\'" . web-mode)
|
||||
;; ("\\.jsp\\'" . web-mode)
|
||||
;; ("\\.as[cp]x\\'" . web-mode)
|
||||
;; ("\\.erb\\'" . web-mode)
|
||||
;; ("\\.mustache\\'" . web-mode)
|
||||
;; ("\\.djhtml\\'" . web-mode)
|
||||
;; ("\\.jst.ejs\\'" . web-mode)
|
||||
;; ("\\.html?\\'" . web-mode)))
|
||||
(use-package web-mode
|
||||
:config
|
||||
(setq web-mode-code-indent-offset 2)
|
||||
(setq web-mode-markup-indent-offset 2)
|
||||
(setq web-mode-attribute-indent-offset 2)
|
||||
:mode
|
||||
(("\\.phtml\\'" . web-mode)
|
||||
("\\.tpl\\.php\\'" . web-mode)
|
||||
("\\.jsp\\'" . web-mode)
|
||||
("\\.as[cp]x\\'" . web-mode)
|
||||
("\\.erb\\'" . web-mode)
|
||||
("\\.mustache\\'" . web-mode)
|
||||
("\\.djhtml\\'" . web-mode)
|
||||
("\\.jst.ejs\\'" . web-mode)
|
||||
("\\.html?\\'" . web-mode)))
|
||||
|
||||
;; (use-package jsdoc
|
||||
;; :straight (jsdoc :type git :host github :repo "isamert/jsdoc.el")
|
||||
;; :bind ("C-c C-n" . jsdoc))
|
||||
(use-package jsdoc
|
||||
:straight (jsdoc :type git :host github :repo "isamert/jsdoc.el")
|
||||
:bind ("C-c C-n" . jsdoc))
|
||||
|
||||
;; LaTeX
|
||||
|
||||
;; (use-package lsp-latex)
|
||||
(use-package lsp-latex)
|
||||
|
||||
;; (setq lsp-tex-server 'digestif)
|
||||
(setq lsp-tex-server 'digestif)
|
||||
|
||||
|
||||
;; Protocol Buffers
|
||||
|
||||
;; (use-package protobuf-mode)
|
||||
(use-package protobuf-mode)
|
||||
|
||||
;; Python
|
||||
|
||||
|
@ -451,17 +450,6 @@
|
|||
:config
|
||||
(setq numpydoc-insert-examples-block nil))
|
||||
|
||||
(use-package conda
|
||||
:init
|
||||
(setq conda-anaconda-home (expand-file-name "/opt/miniconda3"))
|
||||
(setq conda-env-home-directory (expand-file-name "~/.conda/envs"))
|
||||
(conda-env-initialize-interactive-shells)
|
||||
;(conda-env-autoactivate-mode)
|
||||
:hook
|
||||
('find-file-hook . (lambda ()
|
||||
(when (bound-and-true-p conda-project-env-path)
|
||||
(conda-env-activate-for-buffer)))))
|
||||
|
||||
;; Rust
|
||||
|
||||
;(use-package rust-mode)
|
||||
|
@ -479,9 +467,7 @@
|
|||
|
||||
;; Syntax checking
|
||||
(use-package flycheck
|
||||
:hook (lsp-mode . flycheck-mode)
|
||||
:config
|
||||
(setq flycheck-python-flake8-executable "flake8"))
|
||||
:hook (lsp-mode . flycheck-mode))
|
||||
|
||||
;; Templating
|
||||
(use-package yasnippet
|
||||
|
|
Loading…
Reference in a new issue