Using 'line-length=80' and flake8-bugbear's B950 warning, I respect
black's formatting of 88 columns max.
The T4 category is related to mypy lints, using the 'flake8-mypy`
plugin.
The max complexity is supposed to make you write shorter functions with
less complexity, using the cyclomatic complexity heuristic.
This file is almost directly taken from black's own flake8
configuration, because I'm using it as a linter and I mostly agreed with
its settings.
I found the base script somewhere on GitHub. It looks like a good basis
to transform it into a true bluetooth interface which could be launched
directly from demnu. To that end I wrote a little '.desktop' file to add
it to `dmenu-desktop` entries.
I'd rather not see my script folder most of the time, so let's make it a
hidden folder instead.
I also link it each time with stow instead of using a conditional on the
folder's existence, which is more robust when adding scripts after I
already finished an install and only want to update the symlinks.
Because I start the tray icon at i3's startup in my configuration file,
I do not need to add redshift-gtk as a requirement to systemd's default
target. This avoids having two redshift-gtk instances running.
I also removed the systemctl calls to enable the services from the
installation script. Maybe I'll switch back to using services instead of
launching the tray-icon at i3's startup someday.
The Redshift package on Arch doesn't seem to add a service file anywhere
so we have to add one ourselves in our configuration directory.
Geoclue doesn't seem to want to play nice with Redshift right now, so I
used the manual setting to add Paris' coordinates.
Switching to Termite because URxvt has weird rendering issues when
resizing the font.
i3-sensible-terminal needs the TERMINAL environment variable to launch
our prefered terminal emulator with the Ctrl+d binding.
Bash and Zsh both need a hook to enable Termite to open another terminal
in the same directory with the Ctrl+Maj+t binding.