commit 2d0612f108772bb7a224ffbd54443d3df9e52c7c
parent 4379ccb4c25ef1e2ed82fcfa068533f22e6f00a3
Author: Chris Kiriakou <c@ckiri.com>
Date: Fri, 17 Jul 2026 22:04:47 +0200
add zed config
Diffstat:
11 files changed, 309 insertions(+), 18 deletions(-)
diff --git a/fontconfig/dot-config/fontconfig/fonts.conf b/fontconfig/dot-config/fontconfig/fonts.conf
@@ -3,14 +3,14 @@
<fontconfig>
<alias>
<family>serif</family>
- <prefer><family>Liberation Serif</family></prefer>
+ <prefer><family>FreeSerif</family></prefer>
</alias>
<alias>
<family>sans-serif</family>
- <prefer><family>Liberation Sans</family></prefer>
+ <prefer><family>FreeSans</family></prefer>
</alias>
<alias>
<family>monospace</family>
- <prefer><family>Liberation Mono</family></prefer>
+ <prefer><family>Inconsolata</family></prefer>
</alias>
</fontconfig>
diff --git a/foot/dot-config/foot/foot.ini b/foot/dot-config/foot/foot.ini
@@ -1,6 +1,6 @@
term=foot
app-id=foot
-font=monospace:size=11
+font=monospace:size=12
pad=0x0 center-when-maximized-and-fullscreen
workers=2
diff --git a/scripts/dot-local/bin/emojipicker.sh b/scripts/dot-local/bin/emojipicker.sh
@@ -3,6 +3,6 @@
# Pick emojis interactively.
cat $HOME/.cache/emojilist \
- | wmenu -l 20 -f "Sans-serif 10" \
+ | wmenu -l 20 \
| cut -d ' ' -f 2 \
| wl-copy -n
diff --git a/scripts/dot-local/bin/openpdf.sh b/scripts/dot-local/bin/openpdf.sh
@@ -2,6 +2,6 @@
#
# Open PDFs using zathura
-file=$(find ~/docs -name "*.pdf" | wmenu -l 20 -f "Sans-serif 10")
+file=$(find ~/docs -name "*.pdf" | wmenu -l 20)
test -z "$file" && exit 1
zathura "$file"
diff --git a/scripts/dot-local/bin/passmenu.sh b/scripts/dot-local/bin/passmenu.sh
@@ -15,7 +15,7 @@ fi
password_files=$(find ~/.password-store -name '*.gpg' | cut -d "/" -f 5- | sed s/.gpg// )
# Pipe all passwords into the menu
-password=$(printf '%s\n' "${password_files}" | $menu -f "Sans-serif 10" "$@")
+password=$(printf '%s\n' "${password_files}" | $menu "$@")
# Exit if store is empty
test -n $password || exit
diff --git a/scripts/dot-local/bin/wayshot.sh b/scripts/dot-local/bin/wayshot.sh
@@ -13,7 +13,7 @@ shoot() {
timestamp=$(date +"%Y-%m-%d_%H-%M-%S")
# Name screenshot
- input=$(printf "" | wmenu -f "Sans-serif 10" -p "Filename: " -S 222222)
+ input=$(printf "" | wmenu -p "Filename: " -S 222222)
test -n "$input" && filename="${input}.png"
# Take timesramp if input/name is empty
test ! -n "$input" && filename="${OUTPUT_PREFIX}${timestamp}.png"
diff --git a/scripts/dot-local/bin/websearch.sh b/scripts/dot-local/bin/websearch.sh
@@ -1,7 +1,7 @@
#!/bin/sh
search_engine="https://duckduckgo.com/?t=ffab&q="
-query=$(printf "\n" | wmenu -f "Sans-serif 10" -S "#222222" -p "Search the Web:")
+query=$(printf "\n" | wmenu -S "#222222" -p "Search the Web:")
test ! -n "${query}" && exit 1
$BROWSER "${search_engine}${query}"
diff --git a/sway/dot-config/sway/config b/sway/dot-config/sway/config
@@ -15,11 +15,10 @@ font pango:Sans-serif 10
exec swayidle -w \
timeout 1200 'swaylock -f' \
timeout 1260 $opm_off resume $opm_on \
- timeout 3600 'systemctl suspend' \
before-sleep 'swaylock -f' >/dev/null 2>&1
exec dconf write /org/gnome/desktop/interface/color-scheme '"prefer-light"'
-exec gsettings set org.gnome.desktop.interface gtk-theme 'HighContrast' >/dev/null 2>&1
-exec gsettings set org.gnome.desktop.interface icon-theme 'HighContrast' >/dev/null 2>&1
+exec gsettings set org.gnome.desktop.interface gtk-theme '' >/dev/null 2>&1
+exec gsettings set org.gnome.desktop.interface icon-theme '' >/dev/null 2>&1
exec gammastep -l 49.0:9.2 -t 5700:3600 >/dev/null 2>&1
exec foot --server >/dev/null 2>&1
exec swaybg --color "#777777" >/dev/null 2>&1
diff --git a/vim/dot-vimrc b/vim/dot-vimrc
@@ -46,11 +46,6 @@ autocmd FileType python setlocal tabstop=4 shiftwidth=4 softtabstop=4 expandtab
autocmd FileType yaml setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab
autocmd FileType toml setlocal tabstop=2 shiftwidth=2 softtabstop=2 expandtab
-function! MakeExternal()
- silent! !setsid $TERMINAL --window-size-chars=80x10 --title=Make --app-id=nvim-lua-make-external -e sh -c "make && exit || (read -p \\\"Press Enter to exit\\\" && exit)" >/dev/null 2>&1
-endfunction
-
-nnoremap <silent> <Leader>m :call MakeExternal()<CR>
" open the notes file
nnoremap <leader>ww :e ~/notes.txt<CR>
" open a the current diary
diff --git a/zed/dot-config/zed/settings.json b/zed/dot-config/zed/settings.json
@@ -0,0 +1,295 @@
+// Zed settings
+//
+// For information on how to configure Zed, see the Zed
+// documentation: https://zed.dev/docs/configuring-zed
+//
+// To see all of Zed's default settings without changing your
+// custom settings, run `zed: open default settings` from the
+// command palette (cmd-shift-p / ctrl-shift-p)
+{
+ "agent": {
+ "default_profile": "write",
+ "default_model": {
+ "provider": "llama.cpp",
+ "model": "qwen-2.5-coder-3b",
+ "enable_thinking": false
+ },
+ "favorite_models": [
+ {
+ "provider": "llama.cpp",
+ "model": "qwen-2.5-coder-3b",
+ "enable_thinking": false
+ }
+ ],
+ "model_parameters": []
+ },
+ "language_models": {
+ "llama.cpp": {
+ "api_url": "http://localhost:3000"
+ }
+ },
+ "buffer_line_height": {
+ "custom": 1.100000023841858
+ },
+ "gutter": {
+ "line_numbers": false,
+ "folds": false
+ },
+ "ui_font_family": "FreeSans",
+ "buffer_font_family": "Inconsolata",
+ "session": {
+ "trust_all_worktrees": true
+ },
+ "telemetry": {
+ "diagnostics": false,
+ "metrics": false,
+ "anthropic_retention": false
+ },
+ "vim_mode": true,
+ "ui_font_size": 16,
+ "buffer_font_size": 15,
+ "theme": {
+ "mode": "light",
+ "light": "One Light",
+ "dark": "Vim Adwaita Dark",
+ },
+ "theme_overrides": {
+ "One Light": {
+ "border.focused": "#222222FF",
+ "border.selected": "#666666FF",
+ "element.background": "#EFEFEFFF",
+ "element.hover": "#E8E8E8FF",
+ "element.active": "#DFDFDFFF",
+ "element.selected": "#D8D8D8FF",
+ "ghost_element.active": "#DFDFDFFF",
+ "ghost_element.selected": "#D8D8D8FF",
+ "text": "#000000FF",
+ "text.muted": "#555555FF",
+ "text.placeholder": "#777777FF",
+ "text.disabled": "#888888FF",
+ "text.accent": "#000000FF",
+ "icon": "#000000FF",
+ "icon.muted": "#555555FF",
+ "icon.disabled": "#888888FF",
+ "icon.accent": "#000000FF",
+ "search.match_background": "#DDCC00FF",
+ "panel.focused_border": "#222222FF",
+ "pane.focused_border": "#222222FF",
+ "editor.document_highlight.read_background": "#88888825",
+ "terminal.foreground": "#000000FF",
+ "terminal.bright_foreground": "#222222FF",
+ "terminal.dim_foreground": "#222222FF",
+ "terminal.ansi.bright_black": "#222222FF",
+ "terminal.ansi.dim_black": "#222222FF",
+ "terminal.ansi.red": "#900000FF",
+ "terminal.ansi.bright_red": "#CC0000FF",
+ "terminal.ansi.dim_red": "#CC0000FF",
+ "terminal.ansi.green": "#009000FF",
+ "terminal.ansi.bright_green": "#00CC00FF",
+ "terminal.ansi.dim_green": "#00CC00FF",
+ "terminal.ansi.yellow": "#A87600FF",
+ "terminal.ansi.bright_yellow": "#DDCC00FF",
+ "terminal.ansi.dim_yellow": "#DDCC00FF",
+ "terminal.ansi.blue": "#000090FF",
+ "terminal.ansi.bright_blue": "#1166FFFF",
+ "terminal.ansi.dim_blue": "#1166FFFF",
+ "terminal.ansi.magenta": "#900090FF",
+ "terminal.ansi.bright_magenta": "#CC00CCFF",
+ "terminal.ansi.dim_magenta": "#CC00CCFF",
+ "terminal.ansi.cyan": "#009090FF",
+ "terminal.ansi.bright_cyan": "#00CCCCFF",
+ "terminal.ansi.dim_cyan": "#00CCCCFF",
+ "terminal.ansi.white": "#CCCCCCFF",
+ "terminal.ansi.dim_white": "#ffffffff",
+ "link_text.hover": "#000000FF",
+ "version_control.added": "#009000FF",
+ "version_control.modified": "#A87600FF",
+ "version_control.deleted": "#900000FF",
+ "created": "#009000FF",
+ "created.background": "#DFEADBFF",
+ "created.border": "#C8DCC1FF",
+ "deleted": "#CC0000FF",
+ "error": "#CC0000FF",
+ "hint": "#555555FF",
+ "hint.background": "#EFEFEFFF",
+ "hint.border": "#E0E0E0FF",
+ "info": "#000090FF",
+ "modified": "#A87600FF",
+ "success": "#009000FF",
+ "warning": "#A87600FF",
+ "players": [
+ {
+ "cursor": "#000000FF",
+ "background": "#000000FF",
+ "selection": "#E8E8E8FF"
+ },
+ {
+ "cursor": "#984ea5ff",
+ "background": "#984ea5ff",
+ "selection": "#984ea53d"
+ },
+ {
+ "cursor": "#ad6e26ff",
+ "background": "#ad6e26ff",
+ "selection": "#ad6e263d"
+ },
+ {
+ "cursor": "#a349abff",
+ "background": "#a349abff",
+ "selection": "#a349ab3d"
+ },
+ {
+ "cursor": "#3a82b7ff",
+ "background": "#3a82b7ff",
+ "selection": "#3a82b73d"
+ },
+ {
+ "cursor": "#d36151ff",
+ "background": "#d36151ff",
+ "selection": "#d361513d"
+ },
+ {
+ "cursor": "#a48819ff",
+ "background": "#dec184ff",
+ "selection": "#dec1843d"
+ },
+ {
+ "cursor": "#669f59ff",
+ "background": "#669f59ff",
+ "selection": "#669f593d"
+ }
+ ],
+ "syntax": {
+ "attribute": {
+ "color": "#000000FF"
+ },
+ "boolean": {
+ "color": "#000000FF"
+ },
+ "comment": {
+ "color": "#777777FF"
+ },
+ "comment.doc": {
+ "color": "#777777FF"
+ },
+ "constant": {
+ "color": "#000000FF"
+ },
+ "constructor": {
+ "color": "#000000FF"
+ },
+ "embedded": {
+ "color": "#000000FF"
+ },
+ "emphasis": {
+ "color": "#000000FF"
+ },
+ "emphasis.strong": {
+ "color": "#000000FF"
+ },
+ "enum": {
+ "color": "#000000FF"
+ },
+ "function": {
+ "color": "#000000FF"
+ },
+ "hint": {
+ "color": "#000000FF"
+ },
+ "keyword": {
+ "color": "#900090FF"
+ },
+ "label": {
+ "color": "#000000FF"
+ },
+ "link_text": {
+ "color": "#000000FF"
+ },
+ "link_uri": {
+ "color": "#000000FF"
+ },
+ "namespace": {
+ "color": "#000000FF"
+ },
+ "number": {
+ "color": "#000000FF"
+ },
+ "operator": {
+ "color": "#000000FF"
+ },
+ "predictive": {
+ "color": "#000000FF"
+ },
+ "preproc": {
+ "color": "#000000FF"
+ },
+ "primary": {
+ "color": "#000000FF"
+ },
+ "property": {
+ "color": "#000000FF"
+ },
+ "punctuation": {
+ "color": "#000000FF"
+ },
+ "punctuation.bracket": {
+ "color": "#000000FF"
+ },
+ "punctuation.delimiter": {
+ "color": "#000000FF"
+ },
+ "punctuation.list_marker": {
+ "color": "#000000FF"
+ },
+ "punctuation.markup": {
+ "color": "#000000FF"
+ },
+ "punctuation.special": {
+ "color": "#000000FF"
+ },
+ "selector": {
+ "color": "#000000FF"
+ },
+ "selector.pseudo": {
+ "color": "#000000FF"
+ },
+ "string": {
+ "color": "#000090FF"
+ },
+ "string.escape": {
+ "color": "#000090FF"
+ },
+ "string.regex": {
+ "color": "#000090FF"
+ },
+ "string.special": {
+ "color": "#000090FF"
+ },
+ "string.special.symbol": {
+ "color": "#000090FF"
+ },
+ "tag": {
+ "color": "#000000FF"
+ },
+ "text.literal": {
+ "color": "#000090FF"
+ },
+ "title": {
+ "color": "#000000FF"
+ },
+ "type": {
+ "color": "#000000FF"
+ },
+ "variable": {
+ "color": "#000000FF"
+ },
+ "variable.special": {
+ "color": "#000000FF"
+ },
+ "variant": {
+ "color": "#000000FF"
+ }
+ }
+ }
+ }
+}
diff --git a/zsh/dot-zshrc b/zsh/dot-zshrc
@@ -38,7 +38,7 @@ HISTFILE=~/.cache/zsh/history # history cache directory
# tab-completion
autoload -U compinit
-zstyle ':completion:*' menu select
+zstyle ':completion:*' menu select
zmodload zsh/complist
compinit
_comp_options+=(globdots) # Include hidden files.
@@ -64,3 +64,5 @@ open-file-manager() {
zle -N open-file-manager
bindkey '^O' open-file-manager
+
+. "$HOME/.local/share/../bin/env"