Coder Social home page Coder Social logo

claha / dotfiles Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 5.34 MB

Ansible-powered dotfiles

License: MIT License

Emacs Lisp 28.49% Python 4.06% Shell 4.25% YAML 58.65% Jinja 2.78% Vim Script 1.00% Lua 0.77%
dotfiles emacs i3 git qutebrowser dunst mpv picom rofi alacritty ansible

dotfiles's Introduction

dotfiles

pre-commit

pre-commit

To install these dotfiles simply run the bootstrap script, which uses ansible:

./bootstrap.sh

dotfiles's People

Contributors

claha avatar dependabot[bot] avatar renovate[bot] avatar

Watchers

 avatar

dotfiles's Issues

Dependency Dashboard

This issue lists Renovate updates and detected dependencies. Read the Dependency Dashboard docs to learn more.

Open

These updates have all been created already. Click a checkbox below to force a retry/rebase of any.

Detected dependencies

ansible
roles/alacritty/tasks/main.yaml
roles/bash/tasks/main.yaml
roles/git/tasks/main.yaml
roles/i3/tasks/main.yaml
roles/wezterm/tasks/main.yaml
github-actions
.github/workflows/bootstrap.yaml
  • actions/checkout v4.1.7
  • actions/checkout v4.1.7
.github/workflows/pre-commit.yaml
  • actions/checkout v4.1.7
  • actions/setup-python v5.1.1
  • pre-commit/action v3.0.1
  • pre-commit/action v3.0.1
pip_requirements
requirements.txt
  • ansible ==10.2.0
pre-commit
.pre-commit-config.yaml
  • python-jsonschema/check-jsonschema 0.29.2
  • pre-commit/pre-commit-hooks v4.6.0
  • adrienverge/yamllint v1.35.1
  • igorshubovych/markdownlint-cli v0.41.0
  • executablebooks/mdformat 0.7.17
  • asottile/add-trailing-comma v3.1.0
  • charliermarsh/ruff-pre-commit v0.6.2
  • shellcheck-py/shellcheck-py v0.9.0.5
  • JohnnyMorganz/StyLua v0.20.0
  • ansible/ansible-lint v24.7.0
  • semaphor-dk/dansabel 1.4.0
  • codespell-project/codespell v2.3.0
  • jorisroovers/gitlint v0.19.1
  • zricethezav/gitleaks v8.18.4

  • Check this box to trigger a request for Renovate to run again on this repository

Add wsl support

Unfortunately forced to use windows, wsl is pretty nice though so would be nice to be able to install all non-gui tools and config files.

Using nix could also be an alternative โ„๏ธ

Start using tree-sitter

I've tried out python-ts-mode and it gives better highlightning, need update config to make use of it automatically. Also have to figure out if it is possible to check if grammar is installed.

Add some new tools

Not sure if I want all of them but should at least try them all, some of the overlap

zoxide
diffr
difftastic
delta
dua
duf
du-dust

Add SHA1 regexp to alacritty

Something like this should do

regex:` "[0-9a-f]{7,40}"

git log produces 40 chars and git log --oneline shows 7 chars, so perhaps I should limit it to those to not get false positives. I also found someone using 5 as a lower bound, and someone 6-8 so need to investigate what might be best.

Import local.yml

Useful for stuff that is very specific to a computer and should not be in git

Handle systems without root priviliges

I've encountered systems where I don't have root priviligies and thus can't install packages using pacman/apt. Talking with a llm chatbot gave me this solution which seems like a good approach

  # Test sudo without password
  - name: Test sudo without password
    shell: sudo -n true
    register: sudo_test
    ignore_errors: true

  # Set a single fact based on either BECOME_PASS being present in the environment or the user can sudo without a password
  - set_fact:
      can_become: ("'BECOME_PASS' in env.stdout") or (sudo_test.rc == 0)

Picom focus exclude

Should add more browsers to the exclude list, pr perhaps if it is possible to instead just include what I want to have this feature. I.e. alacritty and perhaps emacs

Support for other than archlinux

At work I might not be able to choose archlinux, ubuntu is often used. It would be nice of as much as possible would work for other distros.

A good starting point is to use the ubuntu docker image and see what happens.

Use ansible_facts.os_family to skip tasks

Emacs packages

Software to check out

Some of these programs might fit better in https://github.com/claha/smart-home

Go over completion.el

Mostly update cape to have more keybindings but also check the config of vertico etc.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.