Commit graph

211 commits

Author SHA1 Message Date
Bruno BELANYI 00ab079405 [UPDATE][REDSHIFT] Lower night temperature
I got used to having a red screen during the night on my phone, I can
now have a lower temperature on my computer screen without it bothering
me.
2019-10-19 05:46:29 +02:00
Bruno BELANYI 132a035443 [ADD][I3] Make htop floating by default
When launched from a program launcher, the title of an htop terminal is
htop, unlike when it is launched from the command line.
2019-10-19 05:46:29 +02:00
Bruno BELANYI 57a48b3c05 [ADD][VIM] Local leader mapping
I don't use the '!' command to filter text through an external program.
If I need that functionality I use visual mode and a ':!' command.
2019-10-19 05:46:29 +02:00
Bruno BELANYI 5e5b8271c2 [ADD][VIM] Don't list Netrw buffers
I don't want to show a long list of directories in my buffer list,
2019-10-19 05:46:29 +02:00
Bruno BELANYI b7579b0a9b [UPDATE][VIM] Use 88 columns limit on python files 2019-10-19 05:46:29 +02:00
Bruno BELANYI 7b0f8f360a [ADD][GITIGNORE] Ignore non-personal vim files
Now that I'm tracking the '.vim' folder, I need to ignore all the files
that were automatically populated inside it by plug-ins or spelling.
2019-10-19 05:46:29 +02:00
Bruno BELANYI 5184dd5a56 [ADD][VIM] Use black fixer with ALE
This introduces the '.vim' folder to my dot-files repository. I'll have
to think about splitting my '.vimrc' file into multiple files inside the
'.vim' folder.
2019-10-19 05:46:29 +02:00
Bruno BELANYI 0d04061a80 [ADD] Flake8 configuration file
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.
2019-10-19 05:46:29 +02:00
Bruno BELANYI 558a138f2e [ADD][VIM] Compile flags for C/C++ in ALE
I usually code in C99 and C++17 because that's EPITA's guidelines.

I'll have to check out the new C11/C18 features (notably threading and
type genericity...) someday.
2019-10-19 05:46:29 +02:00
Bruno BELANYI 4ae3eda5f9 [ADD][VIM] Basic ALE settings 2019-10-19 05:46:29 +02:00
Bruno BELANYI 7940274ad0 [ADD][VIM] ALE and linting lighline integration
I changed the theme of lightline's statusline to wombat because the
errors did not have any color using gruvbox.
2019-10-19 05:46:29 +02:00
Bruno BELANYI a4f1c22e77 [ADD][I3] Start udiskie at launch 2019-10-18 22:17:20 +02:00
Bruno BELANYI da789e2d5d [UPDATE][SHELL] Consistent style in profile
I prefer using the '$(...)' sub-shell notation instead of back-ticks. I
also try to systematically quote my variables if they're not numbers.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 1e15b5c017 [FIX][SHELL] Add missing semi-colons in profile
Groups needs to have a command-list ending in a semi-colon to register
the ending brace. I did not encounter this issue with Zsh but do have an
error when sourcing the file with Bash.
2019-10-18 22:17:20 +02:00
Bruno BELANYI cef75e94cd [UPDATE][I3] Launch rofi without dmenu theme
I want to try it out for a bit, see which one I prefer.

I'll keep my own dmenu theme for now though, because I still think it
might be more adapted in certain use-cases.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 787c56f789 [UPDATE][URxvt] Use the same terminal font
Even though I don't think I'll be using URxvt anymore, I still want my
config to use the same font and color theme as XTerm and Termite.

I'll probably remove the URxvt settings soon anyway.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 18c4a3bdc8 [ADD][X] XTerm font configuration 2019-10-18 22:17:20 +02:00
Bruno BELANYI 0c159d39a3 [UPDATE][X] Use wildcard for theme colors
I want the theme to be picked up by both Xterm and URxvt.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 113928f08e [UPDATE][I3] Make rofi use dmenu skin
I wanted the launcher to take the same size as my previous dmenu
launcher when invoked with `mod+d` or `mod+Shift+d` instead of my usual
rofi theme.

The default dmenu theme is too big so I adapted it for my needs.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 4563bd4038 [UPDATE][I3] Use rofi program launcher 2019-10-18 22:17:20 +02:00
Bruno BELANYI ed113cfdb0 [ADD] Rofi configuration file 2019-10-18 22:17:20 +02:00
Bruno BELANYI 9ebc52552a [ADD][SHELL] Use lesspipe pager preprocessor
This preprocessor is different from bat in that it can display some
information about binary files like archives or pdf files. It also does
some syntax highlighting like bat.
2019-10-18 22:17:20 +02:00
Bruno BELANYI e060a9ef6d [ADD][SHELL] Display the weather with 'meteo' 2019-10-18 22:17:20 +02:00
Bruno BELANYI 2b43844029 [ADD][SCRIPT] Bluetoot dmenu interface btmenu
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.
2019-10-18 22:17:20 +02:00
Bruno BELANYI da439cd674 [UPDATE][ZSH] Use fast-syntax-highlighting script
The `zsh-fast-syntax-highlighting-git` AUR package is a better
highlighting script than the previous one I was using.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 7134074e58 [UPDATE][VIM] Change to lightline status-line
I wanted to try something else, lightline seems more fun than the vanilla
statusline, and easier to modify than airline.

This is the bare minimum of status bar for me, without powerline
separators because I don't like them very much, and with basic
vim-fugitive integration.
2019-10-18 22:17:20 +02:00
Bruno BELANYI d9cf811724 [FIX][I3] Use i3exit command without path 2019-10-18 22:17:20 +02:00
Bruno BELANYI 9de30ca3cd [ADD][I3] Make blueman windows floating by default 2019-10-18 22:17:20 +02:00
Bruno BELANYI 7b249daed4 [UPDATE][SHELL] Use colors in lsl alias
The '--color=auto' is deactivated when piped into another program, but I
explicitly want to have colors for this command.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 5723876694 [UPDATE][SHELL] Add quote to variable expansions
Everyone assumes that spaces do not exist on a Linux system... This is
unfortunately not the case (although I hate having spaces in my own
files). Quoting the variables avoids running into those kind of issues.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 6d17f7ac54 [UPDATE][SHELL] Fix extract function
I did not want the extract function to change my working directory when
I added it. However I should have fixed the command calls that assumed I
was in a newly created directory at the same time.
2019-10-18 22:17:20 +02:00
Bruno BELANYI e5d27f459f [ADD][TRIDACTYL] Define fixamo command
Mozilla asked tridactyl's dev-team to remove this command because it is
supposedly insecure... I still want to use tridactyl on Mozilla reserved
pages so here it is again.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 6dd3ffd96a [ADD][TRIDACTYL] Redirect Reddit to old version
I hate the Reddit redesign, but I'm usually not logged in on my computer
so the redirection did not take effect.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 6465fc0908 [ADD][TRIDACTYL] Hint on DuckDuckGo search results 2019-10-18 22:17:20 +02:00
Bruno BELANYI 16f476762a [UPDATE][TRIDACTYL] Remove GitHub PR binding 2019-10-18 22:17:20 +02:00
Bruno BELANYI 5da42afec6 [UPDATE][VIM] Make timeout longer
I couldn't type most of my two letter leader bindings with such a short
timeout... This makes deletions in visual mode a bit longer, but I don't
think that's a terrible tradeoff.
2019-10-18 22:17:20 +02:00
Bruno BELANYI c23a84a4a0 [FIX][SHELL] Remove i3exit path in lock alias
Because i3exit is part of my path, I do not need to use the full path
from home. This is more robust when changing the path of my scripts
directory, as I did earlier.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 7f6bba0e5d [UPDATE][SCRIPT] Use hidden script folder in home
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.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 8b6840e2ac [UPDATE][SCRIPT] Handle switch_user in i3exit
Also switched from tabulation to spaces as indentation.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 7ebee08f4e [ADD][I3] Make tridactyl editor window floating
Tridactyl tries to spawn an editor inside a terminal whose window's
class is set to 'tridactyl_editor', a simple rule makes it float.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 1cb56a5cbd [ADD][TRIDACTYL] Open Vim in Termite instead 2019-10-18 22:17:20 +02:00
Bruno BELANYI 1138cbf798 [UPDATE][I3] Remove redshift-gtk service target
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.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 5dfbb3fb90 [UPDATE][SHELL] BAT_PAGER variable in profile
I don't want my pager to clobber my terminal once I'm done looking at
whatever I was looking at.

This also means that I can remove its definition from the `batman`
script.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 5f09bfd935 [ADD][SCRIPT] Batman script
This was shamelessly stolen from the `bat-extras` repository, with a
little modification to call the pager with my wanted default options.

This obviously depends on the `bat` utility.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 0f4d67278c [UPDATE][SHELL] Export default pager
I also added the '-+X' flag to `less` default options to make it clear the
screen on exit.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 5f3825982a [UPDATE][REDSHIFT] Remove invalid systemd syntax 2019-10-18 22:17:20 +02:00
Bruno BELANYI eea74d7f95 [UPDATE][REDSHIFT] Use manual location information 2019-10-18 22:17:20 +02:00
Bruno BELANYI 8225241746 [ADD][GIT] git-lfs configuration 2019-10-18 22:17:20 +02:00
Bruno BELANYI 00109974f0 [UPDATE] Remove display of /etc/issue in shell
I don't want to make a custom `/etc/issue` file for every computer that
I use. Plus I didn't really like that behaviour anyway.
2019-10-18 22:17:20 +02:00
Bruno BELANYI db4be2feaf [UPDATE][VIM] Remove tag management plugins
I have never used `gutentags` or `gutentags_plus`, mostly because the
only project that I have done that could have benefited from it (the
Tiger Compiler) did not play well with `universal-ctags`.
2019-10-18 22:17:20 +02:00