mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-12-22 09:53:10 -05:00
Compare commits
3 commits
c0bf672193
...
7054eaef2b
Author | SHA1 | Date | |
---|---|---|---|
7054eaef2b | |||
21d3a02b11 | |||
8de1b19b48 |
3 changed files with 31 additions and 12 deletions
|
@ -4,7 +4,7 @@ bspc monitor eDP-1 -d 1 2 3 4 5 6 7 8 9 10
|
|||
|
||||
bspc config border_width 2
|
||||
bspc config window_gap 10
|
||||
bspc config top_padding 74
|
||||
bspc config top_padding 70
|
||||
bspc config bottom_padding 0
|
||||
bspc config split_ratio 0.50
|
||||
bspc config borderless_monocle true
|
||||
|
@ -48,10 +48,13 @@ bspc desktop -f 1
|
|||
### Autostart
|
||||
grep -x sxhkd > /dev/null || sxhkd &
|
||||
/usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 &
|
||||
$HOME/.local/bin/single-polybar-launcher &
|
||||
#$HOME/.local/bin/tint2-launcher &
|
||||
xsettingsd &
|
||||
xss-lock -n /usr/lib/xsecurelock/dimmer -l -- xsecurelock &
|
||||
xidlehook --not-when-audio --not-when-fullscreen --timer 120 "xrandr --output eDP-1 --brightness .1" "xrandr --output eDP-1 --brightness 1" --timer 480 "xset s activate" "xrandr --output eDP-1 --brightness 1" &
|
||||
sh ~/.fehbg &
|
||||
$HOME/.local/bin/single-polybar-launcher &
|
||||
/usr/bin/dunst &
|
||||
dex -ae bspwm &
|
||||
/usr/bin/birdtray &
|
||||
dunst &
|
||||
dex -a &
|
||||
redshift-gtk &
|
||||
birdtray &
|
||||
|
|
|
@ -9,6 +9,7 @@
|
|||
(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)
|
||||
|
@ -121,15 +122,13 @@
|
|||
(setq custom-safe-themes t)
|
||||
|
||||
;; (use-package everforest
|
||||
;; :straight (:type git :repo "https://git.sr.ht/~theorytoe/everforest-theme")
|
||||
;; :config
|
||||
;; (load-theme 'everforest-hard-dark t))
|
||||
;; :straight (:type git :repo "https://git.sr.ht/~theorytoe/everforest-theme"))
|
||||
|
||||
;; (use-package gruvbox-theme
|
||||
;; :config
|
||||
;; (load-theme 'gruvbox-dark-soft t))
|
||||
|
||||
(add-to-list 'custom-theme-load-path "~/.cache/emacs/custom/everforest-theme")
|
||||
(add-to-list 'custom-theme-load-path "~/.cache/emacs/straight/build/everforest")
|
||||
(load-theme 'everforest-hard-dark t)
|
||||
|
||||
;; Help distinguish work buffers from others like sidebars and terminal
|
||||
|
@ -293,6 +292,7 @@
|
|||
(require 'cl-lib))
|
||||
(require 'dap-python)
|
||||
(require 'dap-node)
|
||||
(require 'dap-lldb)
|
||||
:bind
|
||||
(:map dap-mode-map
|
||||
("<f5>" . dap-debug)
|
||||
|
@ -335,8 +335,9 @@
|
|||
|
||||
;; C/C++
|
||||
|
||||
;(setq-default c-default-style "k&r")
|
||||
;(setq-default c-basic-offset 2)
|
||||
(setq dap-lldb-debug-program '("/usr/bin/lldb-vscode"))
|
||||
(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) .
|
||||
|
@ -450,6 +451,17 @@
|
|||
: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)
|
||||
|
@ -467,7 +479,10 @@
|
|||
|
||||
;; Syntax checking
|
||||
(use-package flycheck
|
||||
:hook (lsp-mode . flycheck-mode))
|
||||
:hook (lsp-mode . flycheck-mode)
|
||||
:config
|
||||
(setq flycheck-python-flake8-executable "flake8")
|
||||
(flycheck-select-checker 'python-flake8))
|
||||
|
||||
;; Templating
|
||||
(use-package yasnippet
|
||||
|
|
1
profile
1
profile
|
@ -13,3 +13,4 @@ export GDK_SCALE=2 GDK_DPI_SCALE=0.50 spotify
|
|||
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 pinta
|
||||
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 Gajim
|
||||
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 Ristretto
|
||||
export GDK_SCALE=2 GDK_DPI_SCALE=0.50 ghex
|
||||
|
|
Loading…
Reference in a new issue