Configs Repo


I have been wasting so much time reconfiguring all my instances of linux each and every time, now I have finally decided to create some kind of repository where I can store all of my configurations and keep them up to date on multiple devices.

In this page I will show you a couple of my configurations but not all of them, as this is more of a “blog” format and it wouldn’t be too much fun to write actual code here for people to browser, so I have created a repository which you can visit at the top of the page, if you are actually interested please have a look, I have been trying to make the configuration as sane as possible and I am more than open to suggestions.

You will notice that I have listed a couple configuration examples, these are always fun to quickly glance at or just to give you an idea of how the repo actually looks like that the configurations are hosted at, please also do keep in mind that I’m a debian guy, so, in my configuration there are certain things that depend on that.


Bash Config

# My bash configuration, it's quite small but does contain some useful
# stuff such as the use of EXA and the 'tfthis' command :)
# Will try to add some more interesting things as time goes on

# Functions
git_branch_tag() {
    # Call the original __git_ps1 function to get the branch name
    local branch=$(__git_ps1 "%s")

    # Get the latest tag
    local tag=$(git describe --tags --abbrev=0 2>/dev/null)

    # If we are in a git repository and there is a tag
    if [[ -n $branch && -n $tag ]]; then
        echo -n "$branch:$tag"
    elif [[ -n $branch ]]; then
        echo -n "$branch"

# Aliases

## Exa
alias ls='exa --icons'
alias ll='exa --icons --long'

## Custom
alias tfthis="xprop WM_CLASS" # Find out what is the programm that this window comes from called

# PS1
# -- export PS1=" \[\033[38;5;220m\]кπ \[\033[38;5;192m\]\w\[\e[0m\]$ " # Old
export PS1=" \[\033[38;5;220m\]кπ \[\033[38;5;192m\]\w\[\e[0m\]\$(if [[ \$(git rev-parse --is-inside-work-tree 2>/dev/null) == 'true' ]]; then echo -n ' \[\e[38;5;87m\]'; git_branch_tag; echo -n '\[\e[0m\]'; fi)\$ "


    "workbench.startupEditor": "none",
    "editor.minimap.enabled": false,
    "workbench.list.smoothScrolling": true,
    "editor.smoothScrolling": true,
    "editor.cursorSmoothCaretAnimation": "on",
    "editor.cursorBlinking": "phase",
    "window.menuBarVisibility": "toggle",
    "window.titleBarStyle": "custom",
    "editor.fontFamily": "'Graph 35+ pix', 'Monocraft', 'Fira Code', 'Pixel Code', 'Ark Pixel 10px ko', 'Droid Sans Mono', 'monospace', monospace",
    "editor.fontLigatures": true,
    "editor.mouseWheelZoom": true,
    "explorer.compactFolders": false,
    "workbench.iconTheme": "vikings-icon-theme",
    "editor.selectionClipboard": false,
    "intelephense.format.braces": "k&r",
    "git.enableSmartCommit": true,
    "git.confirmSync": false,
    "git.autofetch": true,
    "explorer.confirmDelete": false,
    "": false,
    "": false,
    "editor.renderWhitespace": "boundary",
    "markdown.extension.print.theme": "dark",
    "explorer.confirmDragAndDrop": true,
    "javascript.updateImportsOnFileMove.enabled": "always",
    "go.toolsManagement.autoUpdate": true,
    "gitlens.plusFeatures.enabled": false,
    "editor.tabSize": 4,
    "editor.detectIndentation": false,
    "git.allowForcePush": true,
    "svelte.enable-ts-plugin": true,
    "markdown-preview-enhanced.codeBlockTheme": "atom-dark.css",
    "svelte.plugin.svelte.note-new-transformation": false,
    "html.format.indentInnerHtml": true,
    "prettier.tabWidth": 4,
    "prettier.bracketSameLine": true,
    "prettier.proseWrap": "never",
    "[svelte]": {
        "editor.defaultFormatter": "svelte.svelte-vscode"
    "editor.cursorStyle": "block-outline",
    "[blade]": {
        "editor.defaultFormatter": "shufo.vscode-blade-formatter"
    "[php]": {
        "editor.defaultFormatter": "bmewburn.vscode-intelephense-client"
    "terminal.integrated.fontFamily": "monospace",
    "codetogether.userName": "Kato",
    "workbench.colorTheme": "Gatito Theme",
    "typescript.updateImportsOnFileMove.enabled": "always",
    "git.ignoreRebaseWarning": true,
    "git.openRepositoryInParentFolders": "always",
    "html.format.wrapAttributes": "preserve-aligned",
    "html.format.wrapLineLength": 0,
    "prettier.printWidth": 3000,
    "[vue]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    "[typescriptreact]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    "[typescript]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"
    "[json]": {
        "editor.defaultFormatter": "vscode.json-language-features"
    "[javascript]": {
        "editor.defaultFormatter": "vscode.typescript-language-features"
    "[html]": {
        "editor.defaultFormatter": "vscode.html-language-features"
    "[jsonc]": {
        "editor.defaultFormatter": "vscode.json-language-features"
    "[css]": {
        "editor.defaultFormatter": "esbenp.prettier-vscode"