Commit Graph

272 Commits

Author SHA1 Message Date
druckdev
1491c998a3 zsh:profile: More XDG Base Dir env-vars + wgetrc
Use an environment variable and a wgetrc instead of an alias for wget to
enforce the XDG Base Directory Specification so that script calls
respect it too.
2020-11-05 12:37:19 +01:00
druckdev
7753a1f7bf i3,polybar: Add bind and make calendar toggleable 2020-11-05 12:23:43 +01:00
druckdev
cffe17fd77 i3: Start telegram when not done before 2020-11-05 12:20:29 +01:00
druckdev
ddb2114a87 repo: Add XDG user dirs config + Update zsh hashes
Create named directories to every visible folder in $HOME for greater
portability.
Set the CDABLE_VARS zsh option.
2020-11-03 15:11:30 +01:00
druckdev
d0aa4ea65b firefox:user.js: Dark theme and fix sorting 2020-11-03 14:25:05 +01:00
druckdev
121900c093 zsh: Add mvln() that moves a file but keeps a link 2020-11-03 14:23:54 +01:00
druckdev
d7739bb16a zsh: Add more aliases that enforce XDG Base Dirs 2020-11-03 14:22:22 +01:00
druckdev
2f198cdb2e vim:xdg: Fix bug that creates ~/~
Fix bug that when the XDG Base Directory variables are not set on
startup a directory "~" is created in $HOME instead of falling back to
the default values.
2020-11-03 14:12:16 +01:00
druckdev
ec147dfc43 zsh: Move stuff around
Move all environment variables that do not relate directly to zsh but
(in most cases) enforce the XDG Base Directory specification to
zprofile.
This way they are just exported once on login and not every time the
shell starts again.

Move the lines in zshenv that are not directly responsible for moving
the zsh files into $XDG_CONFIG_HOME to their own zshenv there.
2020-11-03 13:59:54 +01:00
druckdev
983e1b0b0b zsh: Fix copy paste error from fe5a65f
Accidentally exported MANPAGER as neovim as well when neovim does not
exist.
2020-11-03 12:32:29 +01:00
druckdev
13a9b036ff zsh:alias: Set a reasonable time format for date 2020-11-03 01:35:17 +01:00
druckdev
fe5a65fa23 zsh: Make neovim the man pager
And disable vim's spell check in man pages.
2020-11-03 01:11:40 +01:00
druckdev
dccbc809af repo: Add README 2020-11-03 00:46:38 +01:00
druckdev
22fdf96020 i3: Declare and use variables for workspace names 2020-11-03 00:41:10 +01:00
druckdev
34219051e3 nvim: Fix coc.nvim and install it automatically
Fix bug introduced in c0f7b43 that stopped the sourcing of coc.nvim in
neovim.
Add command to the dotbot installation config to install coc.nvim
automatically after pulling its submodule.
2020-11-03 00:25:00 +01:00
druckdev
03524a2b35 meta:install: Ditch check for make existence
The command will fail anyway. This just makes it more verbose.
2020-11-03 00:23:02 +01:00
druckdev
0fe0679276 all: Update submodules 2020-11-03 00:21:46 +01:00
druckdev
23f7cb3fde git: Add user details 2020-11-03 00:04:52 +01:00
druckdev
ba0c29e90e zsh:glog: Add pgp signing infos 2020-11-03 00:02:05 +01:00
druckdev
d8222a861a polybar:launch.sh: Fix typo 2020-11-02 23:26:26 +01:00
druckdev
62cd1d5b1f polybar: Add calendar popup on date-module click 2020-11-02 23:25:10 +01:00
druckdev
4d1b540778 zsh:ls-show-hidden: Bug fixes around -d flag
Fix behavior to match ls's when the -d flag but no files or directories
were passed.

Fix bug that the function thinks -d is passed when a long option that
contains a 'd' (as --group-directories-first) is specified and thus
just emulates plain `ls` in that case.
2020-11-02 17:46:26 +01:00
druckdev
f487261365 zsh: Reenable stderred with workaround for gpg
Using stderred's blacklist does not work. The new alias simply removes
the stderred library from LD_PRELOAD for the execution.
2020-11-02 15:22:39 +01:00
druckdev
db5fe9fcd3 zsh:alias: Small bug fixes
Use XDG_CONFIG_HOME instead of hardcoding the tmux config path.
Simplify the battery alias a lot.
Fix quotation issues in url{dec,enc}.
2020-11-02 03:42:21 +01:00
druckdev
ff25909ff9 zsh: Disable stderred for now
It seems to be incompatible with my current version of gnupg.
(*** stack smashing deteced ***: terminated)
2020-11-02 02:14:28 +01:00
druckdev
6700288e8d X11: Faster key repeat rate
Repeat keys faster and trigger the repetition faster too.
2020-11-02 02:12:35 +01:00
druckdev
f0a0ba06c2 zsh:functions: Use portable syntax for functions
Use a portable syntax for the function headers.
Since I do not know where these functions could end in the future it
makes it easier and more consistent to use the portable syntax.
2020-11-02 02:04:38 +01:00
druckdev
6eac13011a zsh: Add named directory for work 2020-11-02 02:03:22 +01:00
druckdev
f8485e03e3 vim: Add Umlaute + sz and merge redundant bindings
Add bindings for typing Umlaute and sz.
Merge redundant bindings that are bound in multiple modes.
2020-11-02 01:59:28 +01:00
druckdev
744a1d5406 xresources: Add font for rofi and vim modeline
Rofi has a problem with the syntax used in *.font.

Since the file was moved and renamed, vim does not recognize the file
format correctly. This commit fixes that by adding a modeline.
2020-11-02 01:53:31 +01:00
druckdev
e846de0570 git: Use github per default
user.config holds some path were I want to use my gitlab account.
2020-10-31 22:38:46 +01:00
druckdev
25993afc83 repo: Ignore the installation backups 2020-10-31 22:34:16 +01:00
druckdev
ef13b24e80 zsh:alias: Update named directories
Update named directories location and rewrite the hash for wise and sose
to use a solution without tail but only the zsh glob power.
TODO: Find solution to get rid of the `echo` as well.
2020-10-31 22:34:13 +01:00
druckdev
7b63a148eb zsh: Add zprofile to auto start X on login 2020-10-31 22:34:11 +01:00
druckdev
0bf9a268ba zsh: Tell gpg the current tty 2020-10-31 22:34:08 +01:00
druckdev
26e9e42610 rofi:powermenu: Use loginctl instead of systemctl
By that the script can be used together with elogind when systemd is not
fully installed as in artix.
2020-10-31 22:34:04 +01:00
druckdev
fa7c06a572 i3: Add gaps 2020-10-31 22:34:00 +01:00
druckdev
3e418b263e compositor: Switch from compton to picom
Switch to ibhagwan's picom fork with dual_kawase blur and rounded
corners.
2020-10-31 22:33:52 +01:00
druckdev
08c5c66e1e X11: Move pieces from i3 and zshenv into xinitrc
Move everything that is desirable independent of the WM or shell into
xinitrc.
Move .Xresources and .Xmodmap into .config/X11.
Remove all unneeded GNOME bits from i3 config.
Make compositor launch script portable.
Add locker symlink and launch.sh similar to the compositor.
2020-10-31 22:33:26 +01:00
druckdev
feec02e267 X11: Add .xinitrc
This is just a slightly refactored version of /etc/X11/xinit/xinitrc.
2020-10-31 02:16:45 +01:00
druckdev
e403a03eca rofi:powermenu: Small fixes and refactoring
Remove ": " from prompts since rofi adds them already.

Change order of yes and no when conforming so that <Enter> cannot
accidentally be pressed twice.

Use tabs instead of spaces.
2020-10-26 15:08:49 +01:00
druckdev
a1990a751c .local/bin:filterHistory: Fix bug and refactor
Fix bug that `cut` only took the second field when splitting on ';'
instead of everything after the first semicolon and thus not properly
handling commands that contain semicolons.

Add die() and hist-sort().
Use here-string instead of process substitution with input redirection.
Rephrase comment.
2020-10-26 15:05:18 +01:00
druckdev
67c30e9842 meta:hooks:commit-msg: Allow dots and slashes
Allow dots and slashes in the program specification in the subject.
2020-10-26 15:04:20 +01:00
druckdev
0db8155002 meta:hooks: Refactor commit-msg (sh -> bash)
Refactor commit-msg to reduce redundancies by splitting up the pattern
into the different 'levels'.
For the array the change from /bin/sh to /bin/bash was necessary.
Because of that: Change all `test` occurrences to [[ ]] for performance.
2020-10-26 15:00:38 +01:00
druckdev
d1869afff6 zsh:alias,functions: Add lowres, crypt-{,u}mount 2020-10-26 13:46:25 +01:00
druckdev
ca7e82ae64 rofi: Add run modi, auto-select + fix whitespaces 2020-10-26 13:40:26 +01:00
druckdev
7a5c898621 vim: Autoindent new lines
This option is not set in vanilla vim by default.
2020-10-26 13:38:09 +01:00
druckdev
e8d1ae12c7 vim:ftplugin: Add python and xdefaults 2020-10-26 13:36:27 +01:00
druckdev
53a3966c01 dircolors: Fix readability of other writable
Blue on green is too hard to read. Just use the normal foreground font
color.
2020-10-26 13:21:49 +01:00
druckdev
466273c07b dircolors: Fix whitespaces in config
Use spaces to align stuff since tabs can have different widths.
2020-10-26 13:19:08 +01:00