Commit graph

342 commits

Author SHA1 Message Date
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
Bruno BELANYI 5c2f708374 [UPDATE][I3] Change i3blocks config for new laptop
You need to install `i3blocks-contrib-git` from the AUR to use the
blocklets in this configuration.

For some reason I needed to add spaces to every label to have them
diplay correctly. I also updated the `keyindicator` blockelts to use
pango markup.

I removed the bandwith blocklet which I don't particularly like.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 1cda690abc [UPDATE][I3] Use path from home for i3exit 2019-10-18 22:17:20 +02:00
Bruno BELANYI db30826f30 [UPDATE][I3] Remove tabs in configuration file 2019-10-18 22:17:20 +02:00
Bruno BELANYI 9a1e2d743a [UPDATE][VIM] Add folding markers to vimrc
To make navigation inside my configuration file easier, I added a
modeline at the end to enable markers for folding and added the markers
on all levels.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 598785f27a [UPDATE][REDSHIFT] No color shift during daytime 2019-10-18 22:17:20 +02:00
Bruno BELANYI 61f4569c72 [UPDATE][I3] Use Vim movement keys
Use Vim movements instead of i3's defaults in every mapping currently
deployed (i.e: focus, resize, move).
2019-10-18 22:17:20 +02:00
Bruno BELANYI dbaefbf33b [UPDATE][I3] Use Mod+g to split horizontally
I want to remap all i3's bindings to use Vim's movement keys. This
mapping had to change.
2019-10-18 22:17:20 +02:00
Bruno BELANYI da6be50060 [ADD][SHELL] Alias for cppreference offline docs
Using the `cppreference` package from the AUR, I can simply view them on
the go.

Installing `stdman` is pretty great too, replacing the awful Doxygen
auto-generated files for the standard library.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 2bda68b126 [ADD][I3] More resize and move mappings
I use shift and ctrl keys to modify the amount of pixels to resize/move
containers in i3.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 49d5849ec4 [UPDATE][VIM] Set short timeout
I am kind of impatient after all.
2019-10-18 22:17:20 +02:00
Bruno BELANYI d9d2d975ba [FIX] Launch xautolock at i3's startup
It seems that the xinitrc command doesn't work... I'll have to
investigate why.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 494ee185ef [ADD][VIM] Rust language plugin 2019-10-18 22:17:20 +02:00
Bruno BELANYI 45f9d9d677 [FIX][I3] Change xautolock mouse corner handling
It will lock five seconds after putting the cursor in the upper left
corner, and will not ever lock if the mouse is in the lower right
corner.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 3f7f725e61 [FIX][SHELL] Launch keychain with password prompt 2019-10-18 22:17:20 +02:00
Bruno BELANYI e92aaa1087 [UPDATE][SHELL] Short touchpad toggle notification 2019-10-18 22:17:20 +02:00
Bruno BELANYI d7e5bbdb32 [UPDATE][I3] Notify on brightness up/down
Show a short-lived notification to say which action was done and what
the current screen brightness is.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 13e52c1670 [UPDATE][SHELL] Notify on touchpad toggle
A low priority notification is displayed when enabling/disbling the
touchpad with i3's key-binding and/or te script.
2019-10-18 22:17:20 +02:00
Bruno BELANYI 65a8a2f4a3 [ADD][SHELL] Use keychain as ssh-agent daemon
This program only launches one ssh-agent daemon for each session, which
is easier than handling ssh-agent by hand.
2019-10-18 22:17:20 +02:00
Bruno BELANYI b03a14ba63 [ADD][I3] Touchpad toggle & display settings keys 2019-10-18 22:17:20 +02:00