Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/rocktakey/dotfiles
My dotfiles
https://github.com/rocktakey/dotfiles
dotfiles dotfiles-linux
Last synced: 19 days ago
JSON representation
My dotfiles
- Host: GitHub
- URL: https://github.com/rocktakey/dotfiles
- Owner: ROCKTAKEY
- License: gpl-3.0
- Created: 2022-04-22T06:41:31.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2024-12-11T09:41:37.000Z (about 1 month ago)
- Last Synced: 2024-12-11T10:18:33.953Z (about 1 month ago)
- Topics: dotfiles, dotfiles-linux
- Language: Emacs Lisp
- Homepage:
- Size: 13.1 MB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.org
- License: LICENSE
Awesome Lists containing this project
README
* ROCKTAKEY's Dotfiles
** whole dependency
This dotfiles can be installed by [[https://www.gnu.org/software/stow/][GNU Stow]].** Requirement of each directory
- =cookiecutter= :: [[https://github.com/cookiecutter/cookiecutter][cookiecutter]]
- =emacs= :: [[https://www.gnu.org/software/emacs/][GNU Emacs]], [[https://github.com/koron/cmigemo][cmigemo]], [[https://github.com/ggreer/the_silver_searcher][ag]]
- =git= :: [[https://git-scm.com/][Git]]
- =guix= :: [[https://guix.gnu.org][GNU Guix, GNU Guix System]]
- =guix-system= :: [[https://guix.gnu.org][GNU Guix, GNU Guix System]]
- =i3= :: [[https://i3wm.org/][i3wm]], [[https://github.com/polybar/polybar][polybar]]
- =lualatex= :: [[https://tug.org/texlive/][TeX Live]]
- =oj= :: [[https://github.com/online-judge-tools/oj][oj]], [[https://github.com/online-judge-tools/template-generator][template-generator]]
- =rhq= :: [[https://github.com/ubnt-intrepid/rhq][rhq]]
- =rofi= :: [[https://github.com/davatorium/rofi][Rofi]]
- =uim= :: [[https://github.com/uim/uim][uim]]
- =wslg= :: [[https://github.com/microsoft/wslg][wslg]]** Getting started
#+BEGIN_SRC shell -n
git clone https://github.com/ROCKTAKEY/dotfiles ~/
cd ~/dotfiles
stow [directory-name]...
#+END_SRC*** Example on GNU Guix System
#+BEGIN_SRC shell -n
guix pull
guix install stow
stow cookiecutter emacs git guix guix-system oj rhq rofi uim
sudo guix system reconfigure ~/config/config.scm --substitute-urls='https://ci.guix.gnu.org https://bordeaux.guix.gnu.org https://substitutes.nonguix.org'
guix package -m config/manifest/guix.scm config/manifest/guix-system.scm
#+END_SRC** Multiple display configuration with i3
1. Run [[https://christian.amsuess.com/tools/arandr/][ARandR]]
2. Configure preferred display config
3. Save it as .screenlayout/main.sh
4. [[file:i3/.config/i3/config][i3/.config/i3/config]] executes the display configuration by ~exec --no-startup-id ~/.screenlayout/main.sh~.** EXWM window layout
See [[Multiple display configuration with i3]].** Git signing
1. Make your own gpg key by =gpg --full-gen-key=
2. Show your own key name by =gpg --list-keys=
3. Add to =~/.config/git/config.local=:
#+begin_src conf-toml
[user]
signingKey = !
#+end_src
Note that exclamation mark should be needed.** GitHub account switching
=ghs= is from [[https://github.com/cli/cli/issues/326#issuecomment-1039901475]].1. =stow git=
2. Login to one account
3. Rename ~./config/gh/hosts.yml~ to ID (e.g. ~yourid.yml~)
4. Login to another account
5. Rename ~./config/gh/hosts.yml~ to ID (e.g. ~anotherid.yml~)
6. Now you can switch to == account by =ghs = (e.g. ~ghs yourid~ or ~ghs anotherid~)** OCR image and export to PDF
#+BEGIN_SRC sh
stow pdfocr
guix install tessert-ocr stapler
#+END_SRC
=pdfocr dir png= does OCR all file with extension =pdf= in =dir= directory, then export PDF named =${dir}.pdf=.* License
This dotfiles are basically published under [[file:LICENSE][The GNU General Public License verson 3 or later]].