Config files to make everyday life easier...
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。
Carlos Reding b632f45c39 Corrected usage msg. 3ヶ月前 Code snippet fixed. 3ヶ月前 Bug fixed: attempted backup with wrong keyword. 3ヶ月前 Create repo... 9ヶ月前 Corrected usage msg. 3ヶ月前 Newline (\n) placed in right place. 3ヶ月前 Create repo... 9ヶ月前

Custom scripts to make (my) life easier

How to install?

Include the following in your .bashrc or .profile files by adding:

source $HOME/path_to/
source $HOME/path_to/
source $HOME/path_to/
source $HOME/path_to/
source $HOME/path_to/

NOTE: Only tested in (Arch) GNU/Linux.


  • Copies files and folders of interest to a specified location by a .conf file. This configuration file looks like:

There can be different profiles, each with its own .conf and destination. By default, I added HOME and WORK. Simple. But you can add as many as you like. To backup the data, type backup home or backup work in a terminal.

  • Enables or disables discrete NVIDIA (OPTIMUS) GPU. Useful to extend battery life in beefy laptops when this GPU is not needed. Type nvidia on or nvidia off. NOTE: will ask for administrator (root) password to change status of /proc/acpi/bbswitch.

  • Enables or disables wireless interface (handy in non-distracting environments such as sway, herbstluftwm, i3, etc.). Type wifi on or wifi off in a terminal.

  • Enables or disables simultaneous multithreading (a.k.a. hyperthreading). Why would you…? If you crush numbers heavily (model data fitting, solving ODEs, etc) hyperthreading reduces the computer’s performance by a factor of 2 (the program takes twice as long to complete). This is bad. However, it does improve performance in other tasks (i.e. compiling kernel takes half the time with hyperthreading). This is good. Type hyperthreading on or hyperthreading off before running your software. NOTE: will ask for administrator (root) password to change status of /sys/devices/system/cpu/smt/control.

  • Changes the default colours of the system reference manuals (man). Why not.