{"id":20411064,"url":"https://github.com/zblurx/dotfiles","last_synced_at":"2025-03-05T03:16:17.259Z","repository":{"id":130002549,"uuid":"443591001","full_name":"zblurx/dotfiles","owner":"zblurx","description":null,"archived":false,"fork":false,"pushed_at":"2023-07-23T13:40:01.000Z","size":33,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-15T13:10:58.713Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/zblurx.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-01-01T17:41:56.000Z","updated_at":"2023-09-18T23:42:40.000Z","dependencies_parsed_at":"2025-01-15T12:41:24.772Z","dependency_job_id":"16731705-76c3-45d2-9fcb-cb81939d7331","html_url":"https://github.com/zblurx/dotfiles","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zblurx%2Fdotfiles","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zblurx%2Fdotfiles/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zblurx%2Fdotfiles/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/zblurx%2Fdotfiles/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/zblurx","download_url":"https://codeload.github.com/zblurx/dotfiles/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241955047,"owners_count":20048405,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-15T05:49:25.357Z","updated_at":"2025-03-05T03:16:17.254Z","avatar_url":"https://github.com/zblurx.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dotfiles\n\n## Prerequisites\n\n- i3-wm\n- picom\n- alacritty\n- spotify\n- feh\n- i3lock\n- i3bar\n- i3blocks\n- playerctl\n- flameshot\n- vim\n- tmux\n- fzf\n- git\n- virtualenv\n- golang\n- docker\n- neovim (https://github.com/NvChad/NvChad)\n\n## bashrc\n\nAdd this\n\n```bash\n# useful functions\nfunction mkcd(){\nmkdir $1\ncd $1\n}\n\nfunction td(){\ndirectory=$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 32 | head -n 1)\nmkdir /tmp/$directory\ncd /tmp/$directory\n}\n\nfunction tf(){\nfile=tf-$(cat /dev/urandom | tr -dc 'a-zA-Z0-9' | fold -w 5 | head -n 1)\nvim /tmp/$file\necho $file\n}\n\nfunction cl() {\n    DIR=\"$*\";\n        # if no DIR given, go home\n        if [ $# -lt 1 ]; then\n                DIR=$HOME;\n    fi;\n    builtin cd \"${DIR}\" \u0026\u0026 \\\n    # use your preferred ls command\n        ls\n}\n\nexport GOPATH=$HOME/go\nexport PATH=$PATH:$GOPATH/bin\nexport TZ='Europe/Paris'\nexport PATH=\"$HOME/.poetry/bin:$HOME/.local/bin/:$HOME/.dotfiles/bin:$HOME/.cargo/bin/:$PATH\"\nexport PROMPT_COMMAND='history -a'\n\nsource $HOME/.dotfiles/bash/bash_completion\n```\n\n## Backup\n\n- conf i3 (~/.config/i3)\n- conf tmux (~/.tmux.conf)\n- conf inputrc (~/.inputrc)\n- conf aliases\n- conf bashrc\n- conf i3blocks (~/.config/i3blocks/config)\n- conf alacritty (~/.config/alacritty)\n\n```\nsudo ln -sn $HOME/.dotfiles/i3 .config/i3\nsudo ln -sn $HOME/.dotfiles/i3blocks/ .config/i3blocks\nsudo ln -sfn $HOME/.dotfiles/alacritty/ .config/alacritty\nsudo ln -sfn $HOME/.dotfiles/bash/inputrc .inputrc\nsudo ln -sfn $HOME/.dotfiles/tmux/tmux.conf .tmux.conf\nsudo ln -sfn $HOME/.dotfiles/bash/bash_aliases .bash_aliases\n```\n\n## Todo\n\nUn tool d'import/export de dotfiles, vis a vis d'un fichier yaml\n-\u003e Import : si les fichiers ne sont pas présent sur le disque, les deposes, sinon, verification de checksum/edit date, et on avise\n-\u003e Export : exporte la liste des fichiers dans le fichier de conf. Si y'a des conflits, on fait par rapport aux derniers edit date, avec une optiond de confirmation","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzblurx%2Fdotfiles","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fzblurx%2Fdotfiles","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fzblurx%2Fdotfiles/lists"}