Commit graph

22 commits

Author SHA1 Message Date
Bruno BELANYI 87d46ed8e7 [ADD][SCRIPTS] VPN toggle w/ password prompt 2020-12-12 14:12:42 +01:00
Bruno BELANYI 721453c80f [FIX][SCRIPT] Notify Xautolock toggling errors 2020-12-12 14:12:42 +01:00
Bruno BELANYI 9673978b6b [UPDATE][SCRIPTS] Fix xprop call 2020-12-12 14:12:42 +01:00
Bruno BELANYI b5eb803f9d [UPDATE][I3] Move Xautolock toggle to script
To allow notifications when toggling the state of Xautolock, the logic
has been moved to its own script.
2020-12-12 14:12:42 +01:00
Bruno BELANYI 28f5adcebe [UPDATE][SCRIPT] Better notification for touchpad
Using a Dunst feature, a notification of the same type can override one
that is currently being displayed.
2020-12-12 14:12:42 +01:00
Bruno BELANYI 2e927c89e7 [UPDATE][SCRIPT] Use expansion for PROMPT_COMMAND
It seems like the idiomatic way to update $PROMPT_COMMAND is to use
variable expansion to add a semi-colon and a space before the command
we're adding.

I also switched from prepending my commands to appending them, which
allows overriding behaviour, such as terminal titles which could be set
from system files.
2020-12-12 14:12:41 +01:00
Bruno BELANYI 173a0b093c [ADD] Use my own script to display terminal title
The provided 'vte.sh' script  doesn't quite work on Bash because
$HOSTNAME is empty for some reason.
2020-12-12 14:12:41 +01:00
Bruno BELANYI 63da4ac6e7 [ADD][SCRIPT] Git fast forward command
This script can be used to fast-forward all local branches tracking
remote branches instead of having to check them out manually to `git
pull`.
2020-12-12 14:12:41 +01:00
Bruno BELANYI e96580ebd5 [FIX][I3] Add single background option to setter 2019-11-05 16:00:42 +01:00
Bruno BELANYI 13e2ea1b6a [UPDATE][SCRIPT] Remove underscore in script name 2019-10-29 13:17:20 +01:00
Bruno BELANYI 66a55063bb [FIX][SCRIPTS] Use correct bash shebang
The `/bin/bash` path is not assured by POSIX, however the path
`/usr/bin/env bash` should work, if bash is in the PATH.
2019-10-29 13:11:18 +01:00
Bruno BELANYI b628c4df21 [ADD][SCRIPT] Background setter script 2019-10-29 12:14:00 +01:00
Bruno BELANYI 67da1d9f6e [ADD][SHELL] Project-local environment w/ localrc
This little script will look at your current working directory and its
parent directories to source local configuration files (very useful for
Python  projects, or the way I build TC with a local PATH pre-pended).

It works relatively well but still is a very fragile solution that
depends on the order in which the shell has sourced its files. Because
the Termite script kept erasing the previous PROMPT_COMMAND value for
Bash I had to change to source it at the beginning of my configuration
file.
2019-10-19 17:06:00 +02:00
Bruno BELANYI 1f1d3c9545 [ADD][SCRIPTS] i3-get-window-criteria script
This makes it easier to write an i3 filter command, by just executing
the script and clicking on the window you want to filter.
2019-10-19 05:46:29 +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 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 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 e92aaa1087 [UPDATE][SHELL] Short touchpad toggle notification 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 b03a14ba63 [ADD][I3] Touchpad toggle & display settings keys 2019-10-18 22:17:20 +02:00
Bruno BELANYI 795042b616 [ADD] Common shell files 2019-07-11 21:53:49 +02:00