Commit graph

918 commits

Author SHA1 Message Date
ItsDrike 167138bf97
Update gh-notification script 2022-02-23 16:15:21 +01:00
ItsDrike 172282d194
Update dunst config 2022-02-23 16:15:02 +01:00
ItsDrike 0993faedf7
Add script for getting github notifications on desktop 2022-02-14 23:15:51 +01:00
ItsDrike eb784ab056
Add bareinit git alias 2022-02-11 18:28:25 +01:00
ItsDrike e87a2eb781
Bump font awesome version to 6
- Arch package 'ttf-font-awesome' has been updated to use version 6 of
  fontawesome. To keep up with it, also bump the version of the font in
  xmonad so that users won't be forced to install it manually.
2022-02-10 11:11:31 +01:00
ItsDrike ddd84cb0f5
Add disabled libfaketime 2022-02-10 04:18:57 +01:00
ItsDrike 0a063bd6cf
Specify default key and keyserver for gpg 2022-02-10 03:41:41 +01:00
ItsDrike ba9b0f0a3f
Update git signing key 2022-02-10 03:34:47 +01:00
ItsDrike 77be2053c9
Add github cli and gh-notify addon to packages 2022-01-25 19:58:07 +01:00
ItsDrike 96a7166919
Add global gitignore file 2022-01-25 19:57:19 +01:00
ItsDrike 0fa5db7477
Add alias for quickly stashing staged files 2022-01-25 19:57:02 +01:00
ItsDrike d0d899ce24
Add ipinfo-cli package 2022-01-10 17:49:04 +01:00
ItsDrike b2a32d8202
Add git alias to clone as bare repo
- This puts all of the git bare files into .bare and adds a .git file
  which specifies it's location. This makes for a nice and clean way to
  handle working with bare repositories
- Bare repositories are very useful since they allow for neat workflow
  by using git worktrees that can basically create folders for
  individual branches. This means we can easily check out given brach
  just by entering that folder and we don't need to worry about
  conflicting files which we'd have to stash and then apply the stash
  once we're done done.
2022-01-10 17:44:45 +01:00
ItsDrike 9acadcc338
Add codespell 2022-01-08 02:32:23 +01:00
ItsDrike ab1f173a2d
Add topgrade 2022-01-04 01:04:16 +01:00
ItsDrike 90ebf8b1e5
Add auto-recompile pacman hook for xmonad 2022-01-04 01:03:44 +01:00
ItsDrike 75fbd46888
Fix gchb alias 2022-01-04 01:03:18 +01:00
ItsDrike f1f8946139
Add alias to search pacnew files 2022-01-04 01:03:05 +01:00
ItsDrike 7245d14694
Rewrite cheat.sh fzf helper script 2021-12-24 06:35:25 +01:00
ItsDrike f779fdd273
Improve fzf comment for cheat.sh script 2021-12-24 04:54:01 +01:00
ItsDrike ddefca9a3d
Pass non-matched fzf queries with enter too 2021-12-24 04:53:35 +01:00
ItsDrike 0d0e9031d0
Fail on invalid selection 2021-12-24 04:52:38 +01:00
ItsDrike 1c73a80dfc
Fix cheat.sh non-default query ability 2021-12-24 04:46:48 +01:00
ItsDrike d04842084a
Rewrite cheat.sh script 2021-12-24 04:30:58 +01:00
ItsDrike 18ba4c4906
Fix keybinds 2021-12-24 02:42:04 +01:00
ItsDrike c1af932797
Remove unnecessary env variables 2021-12-18 18:10:18 +01:00
ItsDrike abac53fa9f
Update comments 2021-12-18 18:10:04 +01:00
ItsDrike 826cef4e6e
POSIX compliance, shellcheck 2021-12-18 18:09:25 +01:00
ItsDrike d843e90462
Use spaces instead of tabs 2021-12-18 18:07:47 +01:00
ItsDrike b07404d669
Use POSIX-compatible sh, not zsh 2021-12-18 12:04:41 +01:00
ItsDrike 09ce7d00a9
Convert tabs to spaces 2021-12-18 12:04:28 +01:00
ItsDrike 752fd36c62
Fix pip aliases for cpython/pypy
- We can't simply define `pip3.6`,... because the aliases support both
  cpython and pypy version, which means these needs to differ. For that
  reason, I decided to use `ppip3` for pypy and `pip3` for cpython.
  However there's also an option to use the full version like this:
  `pypy3pip` or `py3.7pip`.
2021-12-18 11:49:37 +01:00
ItsDrike 93930bdb35
Remove unneeded ipython binaries 2021-12-18 05:50:16 +01:00
ItsDrike 5432334da6
Simplify python alias creation 2021-12-18 05:48:36 +01:00
ItsDrike 02237fd0b1
Don't re-run work_directory function
- Re-reunning work_directory every time we redraw the prompt isn't
  necessary, since the function is here to generate the zsh supported
  syntax for the prompt that will get expanded into a work directory
  automatically.
- The function is only here to determine whether we're in TTY and use
  ASCII compatible symbols if we are, however it is enough to only check
  this once initially, since we can't leave TTY in favor of a graphical
  instance without reloading the rc file and neither can we leave.
- However, this function also checks for `USE_SHORTENED_WORKDIR`
  variable and decides which prompt to show based on it. This means that
  it someone was setting this variable in their profile file it would
  now no longer be respected, however this was never the intention of
  that variable, if a change is desired, the variable should simply be
  edited in the prompt file directly.
- Removing continual calls to this function each time prompt is redrawn
  is worth the very minor inconvenience of no longer supporting
  shortened workdirs from externally set variable due to the speed
  benefit it gives us, though not that noticeable, it is pretty
  significant. Not to mention that this wasn't intended/recommended
  usage anyway.
2021-12-18 04:46:02 +01:00
ItsDrike d048c2a262
Also add ppy alias for default pyhton version 2021-12-18 03:21:23 +01:00
ItsDrike 754bbcbbd6
Also add ppy and ipy aliases
- py alias should always preferably use ipython, however if it isn't
  available, it does fall back to the pure python interpreter.
- This is useful for running scripts since we would prefer ipython error
  output, but also for debugging, etc.
- However since py will use ipython, we didn't have any good way to get
  back to pure python unless it's typed in it's full form, which is too
  long. Because of this, this adds `ppy` alias, which always points to
  the pure python interpreter, no matter if ipython is available or not.
- This also adds a more explicit `ipy` alias, to clearly mark that we
  want ipython.
2021-12-18 03:19:59 +01:00
ItsDrike 6f613a1ea5
Fix python aliases 2021-12-18 03:10:16 +01:00
ItsDrike 54cf0d7f36
Add ipython3.10 2021-12-18 03:03:40 +01:00
ItsDrike c606650c7d
Add vimtutor alias for nvim 2021-12-18 03:02:39 +01:00
ItsDrike ac4b447bb5
Add aliases to quickly configure nvim 2021-12-18 03:02:26 +01:00
ItsDrike a0dfc5fd09
Add aliases for different python versions 2021-12-18 03:02:02 +01:00
ItsDrike 56556173e2
Add custom ipython versions 2021-12-18 01:37:29 +01:00
ItsDrike 4dd86fe4cd
Move to jetbrains mono font for alacritty 2021-12-18 00:17:13 +01:00
ItsDrike bb0d435321
Add a note about dangers of using ↵ symbol 2021-12-15 22:09:43 +01:00
ItsDrike fd57706a2f
Minor fixes 2021-12-15 22:08:59 +01:00
ItsDrike 39a66f0e30
Hide errors if git status fails 2021-12-15 22:08:01 +01:00
ItsDrike 177a33cc69
Add tldr package 2021-12-13 17:15:48 +01:00
ItsDrike d2be01d602
Change nvim submodule URL 2021-12-11 21:37:26 +01:00
ItsDrike 95d5adee76
Remove attributions for neovim (now in it's own repo) 2021-12-10 02:51:07 +01:00