Compare commits

...

3 commits

Author SHA1 Message Date
3b9df4a253
Switch to new config structure 2024-12-14 17:36:19 +01:00
ec2393d8e1
stuff 2024-12-14 13:34:52 +01:00
a391d49138
fuck up .gitconfig 2024-12-14 13:34:27 +01:00
10 changed files with 85 additions and 37 deletions

32
eggs.luau Normal file
View file

@ -0,0 +1,32 @@
eggs = {}
eggs["alacritty"] = { enabled = true, targets = "~" }
eggs["eww"] = { enabled = true, targets = "~" }
eggs["eww-bar"] = { enabled = true, targets = "~" }
eggs["foot"] = { enabled = true, targets = "~", templates = { ".config/foot/foot.ini" } }
eggs["git"] = { enabled = true, targets = "~", templates = { ".gitconfig" } }
eggs["niri"] = { enabled = true, targets = "~", templates = { ".config/niri/config.kdl" } }
eggs["nvim"] = { enabled = true, targets = "~" }
eggs["other-dotfiles-stuff"] = { enabled = true, targets = "~" }
eggs["profile"] = { enabled = true, targets = "~" }
eggs["starship"] = { enabled = true, targets = "~" }
eggs["sway"] = { enabled = true, targets = "~" }
eggs["tmux"] = { enabled = true, targets = "~" }
eggs["zed"] = { enabled = true, targets = "~" }
eggs["zsh"] = { enabled = true, targets = "~" }
eggs["rofi"] = { enabled = true, targets = "~" }
eggs["gtk"] = { enabled = true, targets = "~" }
eggs["powershell"] = { enabled = false, targets = "~" }
eggs["scripts"] = { enabled = true, targets = "~" }
eggs["sioyek"] = { enabled = false, targets = "~" }
eggs["waybar"] = { enabled = false, targets = "~" }
eggs["zathura"] = { enabled = false, targets = "~" }
eggs["eww-laptop"] = { enabled = false, targets = "~" }
eggs["hyprland"] = { enabled = false, targets = "~" }
eggs["hyprlock"] = { enabled = false, targets = "~" }
eggs["kakoune"] = { enabled = false, targets = "~" }
eggs["kanata"] = { enabled = false, targets = "~" }
eggs["karabiner"] = { enabled = false, targets = "~" }
return eggs

View file

@ -1,5 +1,6 @@
# -*- conf -*- # -*- conf -*-
# shell=$SHELL (if set, otherwise user's default shell from /etc/passwd) # shell=$SHELL (if set, otherwise user's default shell from /etc/passwd)
# term=foot (or xterm-256color if built with -Dterminfo=disabled) # term=foot (or xterm-256color if built with -Dterminfo=disabled)
# login-shell=no # login-shell=no
@ -8,6 +9,7 @@
# title=foot # title=foot
# locked-title=no # locked-title=no
# font=APL386 Unicode:size=8 # font=APL386 Unicode:size=8
font=Fira Code Nerd Font:size=12 font=Fira Code Nerd Font:size=12
# font-bold=<bold variant of regular font> # font-bold=<bold variant of regular font>
@ -73,7 +75,7 @@ hide-when-typing=yes
#background=1d2021 #background=1d2021
background=282828 background=282828
foreground=ebdbb2 foreground=ebdbb2
#regular0=282828 #regular0=282828
regular0=665c54 regular0=665c54
regular1=cc241d regular1=cc241d
regular2=98971a regular2=98971a

View file

@ -1,8 +1 @@
.config/foot/foot.ini
.config/foot/foot.ini
.config/foot/foot.ini
.config/foot/foot.ini
.config/foot/foot.ini
.config/foot/foot.ini
.config/foot/foot.ini
.config/foot/foot.ini .config/foot/foot.ini

View file

@ -1,14 +1,16 @@
[user] [user]
email = dev@elkowar.dev email = dev@elkowar.dev
name = elkowar name = elkowar
[include] [include]
path = ~/.gitconfig.local path = ~/.gitconfig.local
[credential] [credential]
helper = store helper = store
[core] [core]
autocrlf = input autocrlf = input
; {# if command_available("delta") #}
;<yolk> pager = delta ; {# if command_available("delta") #}
;<yolk> pager = delta
[pull] [pull]
rebase = false rebase = false
[github] [github]
@ -19,30 +21,30 @@ user = ElKowar
[delta] [delta]
syntax-theme = gruvbox syntax-theme = gruvbox
features = side-by-side line-numbers decorations navigate features = side-by-side line-numbers decorations navigate
[delta "line-numbers"] [delta "line-numbers"]
line-numbers-left-style = cyan line-numbers-left-style = cyan
[init] [init]
defaultBranch = master defaultBranch = master
[filter "lfs"] [filter "lfs"]
clean = git-lfs clean -- %f clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f smudge = git-lfs smudge -- %f
process = git-lfs filter-process process = git-lfs filter-process
required = true required = true
[commit] [commit]
gpgsign = true gpgsign = true
[alias] [alias]
c = commit --verbose c = commit --verbose
s = status -s s = status -s
d = diff d = diff
ds = diff --stat ds = diff --stat
dc = diff --cached dc = diff --cached
dn = diff --numstat dn = diff --numstat
ss = status ss = status
a = add a = add
[push] [push]
autoSetupRemote = true autoSetupRemote = true
default = current default = current

View file

@ -1,2 +1 @@
.gitconfig
.gitconfig .gitconfig

View file

@ -34,6 +34,8 @@ input {
cursor { cursor {
xcursor-size 32 // {< rnum(if device.laptop() then 12 else 32) >} xcursor-size 32 // {< rnum(if device.laptop() then 12 else 32) >}
xcursor-theme "phinger-cursors-light" xcursor-theme "phinger-cursors-light"
xcursor-size 12
hide-when-typing
} }
environment { environment {

View file

@ -108,6 +108,7 @@
"ctrl-t ctrl-h": "pane::ActivatePrevItem", "ctrl-t ctrl-h": "pane::ActivatePrevItem",
"ctrl-t ctrl-l": "pane::ActivateNextItem", "ctrl-t ctrl-l": "pane::ActivateNextItem",
"ctrl-x ctrl-c": "pane::CloseActiveItem", "ctrl-x ctrl-c": "pane::CloseActiveItem",
"ctrl-t ctrl-c": "pane::CloseActiveItem",
"alt-j": "workspace::ToggleBottomDock" "alt-j": "workspace::ToggleBottomDock"
} }

View file

@ -1,6 +1,6 @@
{ {
"auto_signature_help": false, "auto_signature_help": false,
"use_autoclose": true, // "use_autoclose": true,
// "always_treat_brackets_as_autoclosed": false, // "always_treat_brackets_as_autoclosed": false,
// "unstable.ui_density": "compact", // "unstable.ui_density": "compact",
"assistant": { "assistant": {
@ -12,7 +12,8 @@
}, },
"theme": "Gruvbox Dark Hard", "theme": "Gruvbox Dark Hard",
"buffer_font_size": 14, "buffer_font_size": 14,
"buffer_font_family": "FiraCode Nerd Font", "buffer_font_family": "Input",
// "buffer_font_family": "FiraCode Nerd Font",
//"buffer_font_family": "JetBrainsMono Nerd Font Mono", //"buffer_font_family": "JetBrainsMono Nerd Font Mono",
// "buffer_line_height": { "custom": 1.55 }, // "buffer_line_height": { "custom": 1.55 },
// "ui_font_family": "Noto Sans", // "ui_font_family": "Noto Sans",

View file

@ -15,5 +15,21 @@
//"cwd": "/path/to/working/directory", //"cwd": "/path/to/working/directory",
"use_new_terminal": false, "use_new_terminal": false,
"allow_concurrent_runs": false "allow_concurrent_runs": false
},
{
"label": "search:project",
"command": "QUERY=${ZED_SELECTED_TEXT:-}; FILE=$(rg --column --hidden --line-number --no-heading --color=always --smart-case --colors match:fg:green --colors path:fg:white --colors path:style:nobold --glob '!**/.git/' '--glob' '!**/node_modules' \"$QUERY\" . | fzf --ansi --delimiter : --preview 'bat --style=numbers,changes,header --color=always --highlight-line {2} {1}' --preview-window 'up:60%:+{2}+3/3' --layout=reverse --query \"$QUERY\" --print-query | tail -1); if [ -n \"$FILE\" ]; then LINE=$(echo $FILE | cut -d':' -f2); COL=$(echo $FILE | cut -d':' -f3); FILE=$(echo $FILE | cut -d':' -f1); zed $FILE:$LINE:$COL; fi",
"env": {},
"cwd": "${ZED_WORKTREE_ROOT}",
"allow_concurrent_runs": false,
"use_new_terminal": false,
"reveal": "always",
"hide": "on_success",
"shell": {
"with_arguments": {
"program": "/bin/bash",
"args": ["--login"]
}
}
} }
] ]

View file