Commit graph

51 commits

Author SHA1 Message Date
674c7517dd Reformat, tabs to spaces.
Yeah, I thought tabs were a good idea, not any more, so…
2020-10-17 13:30:17 +03:00
d1d115a905 Improve security (chmod 0700 bash_history) 2020-10-17 13:23:08 +03:00
b2ac0055b0 Rearange the comments and add more links.
This is a script I am using 12 years now... wow!
2020-10-17 13:14:13 +03:00
b605c29b95 Use ellipsis '…' instead of 3 dots '...', …
also rearange some code and enable the COLUMNS workaround (if needed only)
2020-10-17 13:05:58 +03:00
9e91389b54 Speed up fill generation, preserve $? for others. 2020-10-17 13:04:11 +03:00
54ccd1efb9 Don't add our prompt_command twice, also prepend
During testing if you source it twice you get
that problem now.

The error code formatting/logging gets broken if
we run prompt_command after other stuff. Running
anything external obviously resets $?.
2020-10-17 12:46:52 +03:00
4fe20ce6c9 A script that shows swap used by process.
Keep in mind there are shared pages, so the overall/summary will
be higher than the actual.
2020-10-12 00:30:39 +03:00
c10a762664 Add a script that toggles touchpad on/off 2020-10-11 23:48:47 +03:00
3c0df507d7 Date related scripts. 2020-10-11 23:48:27 +03:00
c59c498fcd Remove backlight control scripts, not working any more.
The UPower interface got removed it seems.
2020-10-11 22:58:09 +03:00
fe54258919 Update egn.py to work with python3 2020-10-11 22:33:18 +03:00
3e443cfaec mksparse.py - style... 2020-10-11 20:06:24 +03:00
f4a8b2cc91 Update mksparse.py to work with python 3.
Used to target python 2.4, RHEL 5... damn I'm getting old.
2020-10-11 15:06:57 +03:00
247953cdad No --db-command and --db-attach any more :( 2020-10-11 14:50:42 +03:00
7b1df87def Describe the changes in the script itself too. 2020-10-11 14:48:14 +03:00
4d95beef6e This was a workaround when my display used to start all black (nVidia).
After logging in blindly this would turn on the backlight. Not needed any more.
2020-10-11 14:44:32 +03:00
1dcbc1723c Not needed by lxqt any more. 2020-10-11 14:44:07 +03:00
86b655eb13 Remove old script I used with LXQT, now handled by Fedora. 2020-10-11 14:42:10 +03:00
a1b1f0a3df Preserve PROMPT_COMMAND if set, name this z-smth in profile.d
vte.sh from vte291 coexistence

See https://bugzilla.redhat.com/show_bug.cgi?id=1183192

In oreder work this script should be sourced after vte.sh, so
the name should be something that sorts after vte.sh (z-ps-twtty-7.sh)
2020-10-11 14:26:42 +03:00
4f72457927 Add a possible $COLUMNS not set workaround as comment 2020-10-11 14:21:07 +03:00
1f9090e338 Fix yuv420p_to_png_android.py - almost 2x slower but better results.
More details can be seen in the dark and light regions of the image.
2019-06-15 20:30:09 +03:00
4b1796a4c3 Minor optimization in yuv420p_to_png.py 2019-06-15 19:57:24 +03:00
f496c77b77 Add android logic version yuv420p_to_png_android.py
See wikipedia for more info, link inside.
2019-06-15 19:43:06 +03:00
e62479d8a0 Cleanup and optimize yuv420p_to_png.py 2019-06-15 19:41:44 +03:00
c45966f597 Add yuv420p_to_png.py and yuv422_to_png.py
From https://shrex999.wordpress.com/2013/07/31/yuv-to-rgb-python-imaging-library/
2019-06-15 16:19:49 +03:00
abbe65a93a Added two more terminal color related scripts. 2019-06-15 16:04:52 +03:00
1400dd98f4 Reorder colors in term_colors/colors 2019-06-15 16:04:02 +03:00
Doncho Gunchev
c001068b94 Added ~/.config/autostart-scripts/
Run ~/.config/autostart-scripts/run_all.sh to start them all.
2016-10-23 21:44:55 +03:00
Doncho Gunchev
2fb7ca7d33 Add scripts showing 16/256 terminal colors. 2015-10-21 23:05:37 +03:00
Doncho Gunchev
a79c6fce59 One more keyboard backlight script... 2015-10-21 22:27:58 +03:00
Doncho Gunchev
484ba7ddc0 Two finger mouse scroll. 2015-10-21 22:27:38 +03:00
Doncho Gunchev
46dca0fea4 Added example script showing terminal size (columns * lines) 2015-10-21 22:26:37 +03:00
Doncho Gunchev
258d487c76 Added my keyboard switching settings (Caps-Lock - Lat-Cyr) 2015-10-21 22:24:51 +03:00
Doncho Gunchev
3dd6e047c1 Added profile.d script to disable tracker.
Read the script for links/info.
2015-10-21 22:22:34 +03:00
Doncho Gunchev
078f98413b Change terminal prompt color to green. 2015-10-21 22:22:12 +03:00
Doncho Gunchev
62f9687de6 Change the root prompt colors. 2015-08-03 13:08:44 +03:00
Doncho Gunchev
446115daef Added valgrind helper scripts. 2014-12-17 01:48:21 +08:00
Doncho Gunchev
a84ef39ed8 Add AES encryption/decryption with openssl
The scripts are a bit insecure, safe for home use, see the TODO.
2014-12-16 20:11:12 +08:00
Doncho Gunchev
20647b0ef8 Move bt_from_core.sh to devel subdir. 2014-12-16 20:09:03 +08:00
Doncho Gunchev
de0c5b31d6 Added bt_from_core.sh (backtrace from core dump file). 2014-12-16 19:57:20 +08:00
0fe8795d35 Added kb_led_inc.sh and kb_led_dec.sh (I use because KDE increments by 3/10=0) 2013-11-20 02:34:52 +02:00
f8c71d3ffa Cosmetics... 2013-11-20 02:14:04 +02:00
a721c1436e ps-twtty-7.sh: use $() instead of ``, update HISTIGNORE and HISTCONTROL. 2013-11-20 02:11:45 +02:00
Doncho N. Gunchev
babed4b418 Cleanup mksparse.py style, added custom exception. 2011-12-03 11:35:30 +02:00
Doncho N. Gunchev
3d4c3e860c Add mksparse.py (create sparse files) 2011-12-03 02:38:52 +02:00
Doncho N. Gunchev
50321ce414 Added my aliases file (see lll, it's cool!) 2011-12-03 02:29:33 +02:00
Doncho N. Gunchev
46e601f800 Added fancy logging bash prompt (ps-twtty-7.sh). 2011-12-03 02:18:52 +02:00
b239b650d6 Rename EGN to egn.py, fix style. 2011-12-02 06:26:12 +02:00
cf46a9464b Add EGN (Bulgarian Universal Citizen Number) check. 2011-12-02 06:17:46 +02:00
70bed2a4d4 Add time2unix and unix2time shell scripts 2011-12-02 06:00:44 +02:00