From 1e7744eab543ae6d837a112573b38bfa4ad125fa Mon Sep 17 00:00:00 2001 From: Thomas Sindt Date: Fri, 5 Jun 2026 23:35:57 +0200 Subject: [PATCH] x --- bashrc | 5 +- config/nvim/lua/config/options.lua | 2 +- config/omp/gruvbox.omp.json | 154 +++++++++++++++++++++++++++++ kmscon.conf | 2 +- 4 files changed, 159 insertions(+), 4 deletions(-) create mode 100644 config/omp/gruvbox.omp.json diff --git a/bashrc b/bashrc index 7fe53e2..5ed9464 100644 --- a/bashrc +++ b/bashrc @@ -117,12 +117,13 @@ if [ -z "${TMUX}" ] && [ $(tty) == "/dev/pts/0" ]; then fi eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv bash)" -PATH=$PATH:/home/tsindt/bin:/home/tsindt/.cargo/bin +PATH=$PATH:/home/tsindt/bin:/home/tsindt/.cargo/bin:/home/tsindt/.local/bin -eval "$(oh-my-posh init bash --config gruvbox)" +eval "$(oh-my-posh init bash --config /home/tsindt/.config/omp/gruvbox.omp.json)" # eval "$(/home/tsindt/bin shellenv bash)" [ -f ~/.fzf.bash ] && source ~/.fzf.bash EDITOR=nvim +cd /home/tsindt/documents/Publikationen diff --git a/config/nvim/lua/config/options.lua b/config/nvim/lua/config/options.lua index 8d7b461..7ec428e 100644 --- a/config/nvim/lua/config/options.lua +++ b/config/nvim/lua/config/options.lua @@ -2,4 +2,4 @@ -- Default options that are always set: https://github.com/LazyVim/LazyVim/blob/main/lua/lazyvim/config/options.lua -- Add any additional options here vim.opt.spell = true -vim.opt.spelllang = "de_DE" +vim.opt.spelllang = "de_de" diff --git a/config/omp/gruvbox.omp.json b/config/omp/gruvbox.omp.json new file mode 100644 index 0000000..8e72188 --- /dev/null +++ b/config/omp/gruvbox.omp.json @@ -0,0 +1,154 @@ +{ + "$schema": "https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/main/themes/schema.json", + "blocks": [ + { + "alignment": "left", + "segments": [ + { + "background": "#3A3A3A", + "foreground": "#ffffff", + "style": "powerline", + "template": "{{ if .WSL }}WSL at{{ end }} {{.Icon}} ", + "type": "os" + }, + { + "background": "#458588", + "foreground": "#282828", + "powerline_symbol": "\ue0b0", + "options": { + "style": "full" + }, + "style": "powerline", + "template": " {{ .Path }} ", + "type": "path" + }, + { + "background": "#98971A", + "background_templates": [ + "{{ if or (.Working.Changed) (.Staging.Changed) }}#FF9248{{ end }}", + "{{ if and (gt .Ahead 0) (gt .Behind 0) }}#ff4500{{ end }}", + "{{ if gt .Ahead 0 }}#B388FF{{ end }}", + "{{ if gt .Behind 0 }}#B388FF{{ end }}" + ], + "foreground": "#282828", + "leading_diamond": "\ue0b6", + "powerline_symbol": "\ue0b0", + "options": { + "branch_template": "{{ trunc 25 .Branch }}", + "fetch_status": true, + "branch_icon": "\uE0A0 ", + "branch_identical_icon": "\u25CF" + }, + "style": "powerline", + "template": " {{ .HEAD }}{{if .BranchStatus }} {{ .BranchStatus }}{{ end }}{{ if .Working.Changed }} \uf044 {{ .Working.String }}{{ end }}{{ if and (.Working.Changed) (.Staging.Changed) }} |{{ end }}{{ if .Staging.Changed }} \uf046 {{ .Staging.String }}{{ end }}{{ if gt .StashCount 0 }} \ueb4b {{ .StashCount }}{{ end }} ", + "trailing_diamond": "\ue0b4", + "type": "git" + }, + { + "background": "#8ED1F7", + "foreground": "#111111", + "powerline_symbol": "\ue0b0", + "options": { + "fetch_version": true + }, + "style": "powerline", + "template": " \ue626 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", + "type": "go" + }, + { + "background": "#4063D8", + "foreground": "#111111", + "powerline_symbol": "\ue0b0", + "options": { + "fetch_version": true + }, + "style": "powerline", + "template": " \ue624 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", + "type": "julia" + }, + { + "background": "#FFDE57", + "foreground": "#111111", + "powerline_symbol": "\ue0b0", + "options": { + "display_mode": "files", + "fetch_virtual_env": false + }, + "style": "powerline", + "template": " \ue235 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", + "type": "python" + }, + { + "background": "#AE1401", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "options": { + "display_mode": "files", + "fetch_version": true + }, + "style": "powerline", + "template": " \ue791 {{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", + "type": "ruby" + }, + { + "background": "#FEAC19", + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "options": { + "display_mode": "files", + "fetch_version": false + }, + "style": "powerline", + "template": " \uf0e7{{ if .Error }}{{ .Error }}{{ else }}{{ .Full }}{{ end }} ", + "type": "azfunc" + }, + { + "background_templates": [ + "{{if contains \"default\" .Profile}}#FFA400{{end}}", + "{{if contains \"jan\" .Profile}}#f1184c{{end}}" + ], + "foreground": "#ffffff", + "powerline_symbol": "\ue0b0", + "options": { + "display_default": false + }, + "style": "powerline", + "template": " \ue7ad {{ .Profile }}{{ if .Region }}@{{ .Region }}{{ end }} ", + "type": "aws" + }, + { + "background": "#ffff66", + "foreground": "#111111", + "powerline_symbol": "\ue0b0", + "style": "powerline", + "template": " \uf0ad ", + "type": "root" + } + ], + "type": "prompt" + }, + { + "alignment": "left", + "newline": true, + "segments": [ + { + "foreground": "#ffffff", + "foreground_templates": [ + "{{ if gt .Code 0 }}#ff0000{{ end }}" + ], + "options": { + "always_enabled": true + }, + "style": "plain", + "template": "\u276f ", + "type": "status" + } + ], + "type": "prompt" + } + + ], + "console_title_template": "{{ .Folder }}", + "final_space": true, + "version": 4 +} diff --git a/kmscon.conf b/kmscon.conf index fd60a74..f744f59 100644 --- a/kmscon.conf +++ b/kmscon.conf @@ -38,7 +38,7 @@ ## Fonts ## font-engine, can be [8x16, unifont, pango] #font-engine=pango -font-size=18 +font-size=16 font-name=JetBrainsMono Nerd Font #font-dpi=96