mirror of
https://codeberg.org/andyscott/dotfiles.git
synced 2024-11-09 14:00:47 -05:00
Compare commits
No commits in common. "7ec6243da73f318eff4e0e3be06d4d51d6269fff" and "01de190297efdb329c7aa88bea72c9e1d5911410" have entirely different histories.
7ec6243da7
...
01de190297
7 changed files with 19 additions and 201 deletions
|
@ -1,38 +0,0 @@
|
|||
#import = ["~/.config/alacritty/everforest.toml",]
|
||||
import = ["~/.config/alacritty/catppuccin-mocha.toml"]
|
||||
live_config_reload = true
|
||||
|
||||
[window]
|
||||
dynamic_padding = true
|
||||
opacity = 0.95
|
||||
blur = true
|
||||
|
||||
[window.padding]
|
||||
x = 20
|
||||
y = 20
|
||||
|
||||
[cursor]
|
||||
|
||||
[cursor.style]
|
||||
shape = "Block"
|
||||
blinking = "On"
|
||||
|
||||
[font]
|
||||
size = 13
|
||||
|
||||
[font.bold]
|
||||
family = "Hack"
|
||||
style = "Bold"
|
||||
|
||||
[font.bold_italic]
|
||||
family = "Hack"
|
||||
style = "BoldItalic"
|
||||
|
||||
[font.italic]
|
||||
family = "Hack"
|
||||
style = "Italic"
|
||||
|
||||
[font.normal]
|
||||
family = "Hack"
|
||||
style = "Regular"
|
||||
|
|
@ -1,75 +0,0 @@
|
|||
[colors.primary]
|
||||
background = "#1e1e2e"
|
||||
foreground = "#cdd6f4"
|
||||
dim_foreground = "#7f849c"
|
||||
bright_foreground = "#cdd6f4"
|
||||
|
||||
[colors.cursor]
|
||||
text = "#1e1e2e"
|
||||
cursor = "#f5e0dc"
|
||||
|
||||
[colors.vi_mode_cursor]
|
||||
text = "#1e1e2e"
|
||||
cursor = "#b4befe"
|
||||
|
||||
[colors.search.matches]
|
||||
foreground = "#1e1e2e"
|
||||
background = "#a6adc8"
|
||||
|
||||
[colors.search.focused_match]
|
||||
foreground = "#1e1e2e"
|
||||
background = "#a6e3a1"
|
||||
|
||||
[colors.footer_bar]
|
||||
foreground = "#1e1e2e"
|
||||
background = "#a6adc8"
|
||||
|
||||
[colors.hints.start]
|
||||
foreground = "#1e1e2e"
|
||||
background = "#f9e2af"
|
||||
|
||||
[colors.hints.end]
|
||||
foreground = "#1e1e2e"
|
||||
background = "#a6adc8"
|
||||
|
||||
[colors.selection]
|
||||
text = "#1e1e2e"
|
||||
background = "#f5e0dc"
|
||||
|
||||
[colors.normal]
|
||||
black = "#45475a"
|
||||
red = "#f38ba8"
|
||||
green = "#a6e3a1"
|
||||
yellow = "#f9e2af"
|
||||
blue = "#89b4fa"
|
||||
magenta = "#f5c2e7"
|
||||
cyan = "#94e2d5"
|
||||
white = "#bac2de"
|
||||
|
||||
[colors.bright]
|
||||
black = "#585b70"
|
||||
red = "#f38ba8"
|
||||
green = "#a6e3a1"
|
||||
yellow = "#f9e2af"
|
||||
blue = "#89b4fa"
|
||||
magenta = "#f5c2e7"
|
||||
cyan = "#94e2d5"
|
||||
white = "#a6adc8"
|
||||
|
||||
[colors.dim]
|
||||
black = "#45475a"
|
||||
red = "#f38ba8"
|
||||
green = "#a6e3a1"
|
||||
yellow = "#f9e2af"
|
||||
blue = "#89b4fa"
|
||||
magenta = "#f5c2e7"
|
||||
cyan = "#94e2d5"
|
||||
white = "#bac2de"
|
||||
|
||||
[[colors.indexed_colors]]
|
||||
index = 16
|
||||
color = "#fab387"
|
||||
|
||||
[[colors.indexed_colors]]
|
||||
index = 17
|
||||
color = "#f5e0dc"
|
|
@ -1,13 +0,0 @@
|
|||
[colors.primary]
|
||||
background = "#272e33"
|
||||
foreground = "#d3c6aa"
|
||||
|
||||
[colors.normal]
|
||||
black = "#475258"
|
||||
blue = "#7fbbb3"
|
||||
cyan = "#83c092"
|
||||
green = "#a7c080"
|
||||
magenta = "#d699b6"
|
||||
red = "#e67e80"
|
||||
white = "#d3c6aa"
|
||||
yellow = "#dbbc7f"
|
|
@ -78,7 +78,7 @@
|
|||
(add-hook 'after-init-hook #'elpaca-process-queues)
|
||||
(elpaca `(,@elpaca-order))
|
||||
|
||||
;; Unload `seq' before build
|
||||
;; Unload seq before elpaca build - also see `use-package' declaration for seq below
|
||||
;; https://github.com/progfolio/elpaca/issues/216#issuecomment-1868444883
|
||||
(defun +elpaca-unload-seq (e)
|
||||
(and (featurep 'seq) (unload-feature 'seq t))
|
||||
|
@ -198,7 +198,7 @@
|
|||
))
|
||||
:hook ((astro-mode
|
||||
c-ts-mode
|
||||
c++-ts-mode
|
||||
c++-mode
|
||||
zig-mode) . eglot-ensure))
|
||||
|
||||
(use-package elec-pair
|
||||
|
@ -278,28 +278,14 @@
|
|||
(save-place-mode))
|
||||
|
||||
(use-package seq
|
||||
;; Unload `seq' before `elpaca' starts building
|
||||
;; Unload `seq' before elpaca starts building
|
||||
:ensure `(seq :build ,(+elpaca-seq-build-steps)))
|
||||
|
||||
(use-package simple
|
||||
:ensure nil
|
||||
:config (setq-default indent-tabs-mode nil)
|
||||
:hook ((conf-mode prog-mode) . column-number-mode))
|
||||
|
||||
(use-package text-mode
|
||||
:ensure nil
|
||||
:config (setq-local fill-column 120
|
||||
whitespace-style '(face
|
||||
whitespace-missing-newline-at-eof
|
||||
space-after-tab
|
||||
space-before-tab
|
||||
trailing)))
|
||||
|
||||
(use-package treesit
|
||||
:ensure nil
|
||||
:config
|
||||
(push '(c++-mode . c++-ts-mode) major-mode-remap-alist)
|
||||
(setq treesit-font-lock-level 4))
|
||||
(setq-default indent-tabs-mode nil)
|
||||
(column-number-mode))
|
||||
|
||||
(use-package whitespace
|
||||
:ensure nil
|
||||
|
@ -325,18 +311,11 @@
|
|||
:custom (esup-depth 0))
|
||||
|
||||
;; Theme
|
||||
(use-package catppuccin-theme
|
||||
:config
|
||||
(setq custom-safe-themes t
|
||||
catppuccin-flavor 'macchiato)
|
||||
(catppuccin-reload)
|
||||
(load-theme 'catppuccin t))
|
||||
|
||||
(use-package everforest
|
||||
:ensure (everforest :host sourcehut :repo "theorytoe/everforest-theme")
|
||||
:config
|
||||
;; (setq custom-safe-themes t)
|
||||
;; (load-theme 'everforest-hard-dark t)
|
||||
(setq custom-safe-themes t)
|
||||
(load-theme 'everforest-hard-dark t)
|
||||
(let ((moody_line (face-attribute 'mode-line :foreground))
|
||||
(moody_inactive (face-attribute 'mode-line-inactive :background)))
|
||||
(set-face-attribute 'mode-line nil :overline moody_line)
|
||||
|
@ -399,9 +378,6 @@
|
|||
;; Better undo/redo
|
||||
(use-package undo-tree
|
||||
:defer 3
|
||||
:bind (:map undo-tree-map
|
||||
("C-z" . undo-tree-undo)
|
||||
("C-M-z" . undo-tree-redo))
|
||||
:config (global-undo-tree-mode)
|
||||
:custom
|
||||
(undo-tree-auto-save-history t)
|
||||
|
@ -628,7 +604,7 @@
|
|||
("C-c y s" . yas-insert-snippet)
|
||||
("C-c y v" . yas-visit-snippet-file)
|
||||
:config (yas-reload-all)
|
||||
:hook (prog-mode . yas-minor-mode))
|
||||
:hook (lsp-mode . yas-minor-mode))
|
||||
|
||||
(use-package yasnippet-snippets
|
||||
:after (yasnippet))
|
||||
|
@ -638,23 +614,12 @@
|
|||
|
||||
;; Visualize color names
|
||||
(use-package rainbow-mode
|
||||
:hook ((conf-mode
|
||||
prog-mode
|
||||
toml-ts-mode) . rainbow-mode))
|
||||
:hook ((conf-mode lsp-mode) . rainbow-mode))
|
||||
|
||||
;; Syntax parsing/highlighting
|
||||
(use-package treesit-auto
|
||||
:defer 1
|
||||
:config
|
||||
(setq my-cpp-tsauto-config
|
||||
(make-treesit-auto-recipe
|
||||
:lang 'cpp
|
||||
:ts-mode 'c++-ts-mode
|
||||
:remap 'c++-mode
|
||||
:url "https://github.com/tree-sitter/tree-sitter-cpp"
|
||||
:revision "v0.21.0"
|
||||
:ext "\\.cpp\\'"))
|
||||
(add-to-list 'treesit-auto-recipe-list my-cpp-tsauto-config)
|
||||
(treesit-auto-add-to-auto-mode-alist 'all)
|
||||
(global-treesit-auto-mode)
|
||||
:custom
|
||||
|
@ -680,9 +645,12 @@
|
|||
|
||||
(use-package lsp-mode
|
||||
:hook
|
||||
((csharp-ts-mode
|
||||
((;; c-ts-mode
|
||||
;; c++-ts-mode
|
||||
csharp-ts-mode
|
||||
go-ts-mode
|
||||
python-ts-mode) . lsp)
|
||||
;; zig-mode) . lsp)
|
||||
(lsp-mode . lsp-enable-which-key-integration)
|
||||
:custom
|
||||
(lsp-use-plists t)
|
||||
|
@ -771,7 +739,7 @@
|
|||
|
||||
;; C++
|
||||
(use-package modern-cpp-font-lock
|
||||
:hook (c++-ts-mode . modern-c++-font-lock-mode))
|
||||
:hook (c++-mode . modern-c++-font-lock-mode))
|
||||
|
||||
;; Go
|
||||
(use-package go-mode
|
||||
|
|
|
@ -9,9 +9,5 @@ profile dual-off {
|
|||
}
|
||||
|
||||
profile laptop {
|
||||
output eDP-1 enable scale 2
|
||||
}
|
||||
|
||||
profile laptop-off {
|
||||
output eDP-1 disable
|
||||
output eDP-1 enable mode 3840x2160@60Hz scale 2
|
||||
}
|
||||
|
|
|
@ -46,16 +46,13 @@ riverctl map normal Super P focus-view previous
|
|||
riverctl map normal Super+Alt N swap next
|
||||
riverctl map normal Super+Alt P swap previous
|
||||
|
||||
# Switch back and forth between two tag groups
|
||||
riverctl map normal Super O focus-previous-tags
|
||||
|
||||
# Focus the next/previous output
|
||||
riverctl map normal Super V focus-output next
|
||||
riverctl map normal Super+Alt V focus-output previous
|
||||
|
||||
# Send the focused view to the next/previous output
|
||||
riverctl map normal Super Grave send-to-output next
|
||||
riverctl map normal Super+Shift Grave send-to-output previous
|
||||
riverctl map normal Super+Shift Grave send-to-output next
|
||||
riverctl map normal Super Grave send-to-output previous
|
||||
|
||||
# Bump the focused view to the top of the layout stack
|
||||
riverctl map normal Super+Shift Return zoom
|
||||
|
@ -92,7 +89,7 @@ riverctl map normal Super+Shift F send-layout-cmd rivertile "main-location right
|
|||
riverctl map normal Super+Shift P send-layout-cmd rivertile "main-location top"
|
||||
riverctl map normal Super+Shift N send-layout-cmd rivertile "main-location bottom"
|
||||
|
||||
## Vim-like keybinds for layouts/views
|
||||
# Vim-like keybinds for layouts/views
|
||||
|
||||
# Focus the next/previous view in the layout stack
|
||||
riverctl map normal Super J focus-view next
|
||||
|
@ -257,23 +254,6 @@ riverctl map-switch normal lid close 'waylock-launcher'
|
|||
riverctl focus-output DP-1
|
||||
{{- end }}
|
||||
|
||||
{{ if eq .chezmoi.hostname "helix" }}
|
||||
# Initial tags: $((1 << ("WORKSPACE" - 1)))
|
||||
riverctl rule-add -app-id 'firefox' tags 1
|
||||
riverctl rule-add -app-id 'chromium' tags 2
|
||||
riverctl rule-add -app-id 'thunar' tags $((1 << 2))
|
||||
riverctl rule-add -app-id 'evince' tags $((1 << 3))
|
||||
riverctl rule-add -app-id 'libreoffice*' tags $((1 << 3))
|
||||
riverctl rule-add -app-id 'Alacritty' tags $((1 << 5))
|
||||
riverctl rule-add -app-id 'foot' tags $((1 << 5))
|
||||
riverctl rule-add -app-id 'kitty' tags $((1 << 5))
|
||||
riverctl rule-add -app-id 'emacs' tags $((1 << 6))
|
||||
riverctl rule-add -app-id 'kitty' -title 'weechat' tags $((1 << 7))
|
||||
riverctl rule-add -app-id 'Mattermost' tags $((1 << 7))
|
||||
riverctl rule-add -app-id 'thunderbird' tags $((1 << 8))
|
||||
riverctl rule-add -app-id 'tutanota-desktop' tags $((1 << 8))
|
||||
{{- end }}
|
||||
|
||||
# Start floating
|
||||
riverctl rule-add -app-id 'Bitwarden' float
|
||||
riverctl rule-add -app-id 'Blueman-manager' float
|
||||
|
|
|
@ -22,7 +22,7 @@ zls_has_update=$(echo "$aur_updates" | grep -c 'zls-git')
|
|||
|
||||
if [ "$river_has_update" -ne 0 ] && [ "$zls_has_update" -ne 0 ]; then
|
||||
zigup 0.13.0
|
||||
paru -Syu river-git --ignore zls-git
|
||||
paru -Syu river-git
|
||||
zigup master
|
||||
paru -S zls-git
|
||||
elif [ "$river_has_update" -ne 0 ]; then
|
||||
|
|
Loading…
Reference in a new issue