class | instance |
---|---|
hw | thinkpad x1 nano g1, corne, atheris, mz1, i1601fwux |
env | void linux, labwc, bash, tcl |
look | cemant, sarasa, agave, inter, font awesome |
name | description |
---|---|
00 | run file(s) based on mimetype (like xdg-open ) |
0c | pass command string to tcl |
0l | read log |
0m | wrap xrandr |
0s | system utilities |
0t | graphical shell utilities |
0u | general utilities |
0v | wrap qemu |
lib.tcl | help 0* tcl scripts |
stow.tcl | prep and link all user files |
load.tcl | setup entire system + user configuration from scratch |
key template | key more | do |
---|---|---|
GENERAL, MOVE, RESIZE | ||
MS-r | reconfigure | |
CA- char | \b / \d | lock / sleep |
M/A-L | resize / move window | |
MS[C]-\e | close [ or kill ] window | |
MS- num | 1 / 2 / 3 / 4 | move window to nth desktop |
M[S]- dir | h / j / k / l / y / u / b / n | move [ and snap ] window to edge |
M- char | c / slash / quote / semic / comma / dot / lt / gt | snap window to variations of grid |
M[S]-f | toggle maximise [ or fullscreen ] | |
FOCUS | ||
M- num | 1 / 2 / 3 / 4 | focus nth desktop |
A[S]-\t | cycle focus [ backwards ] | |
M-a | toggle always on top | |
APP | ||
[S]-print | take picture of screen [ then edit ] | |
M-\s | dismiss notification | |
M- char | \n / grave / e / t / w | launch launcher / treeview / editor / terminal / www |
- Let’s say this repository is saved as
dotfiles
and you are in it. - Create a directory with a name of your choice, prepending
_
. cd
inside the new directory.- Pretending that you are at
$HOME
, recreate the location of the configuration file.- For example, say you want to back up mimeapps.list. Create the path of folders
...dotfiles/_mime/.config
, and write the file...dotfiles/_mime/.config/mimeapps.list
.
- For example, say you want to back up mimeapps.list. Create the path of folders
Note: Sometimes, a subpath may not exist, and that will affect both keeping and loading. Say you want to keep $HOME/.config/foo/bar.txt
, but $HOME/.config
doesn’t exist yet. If you call ./stow.tcl
now to load everything, a link called $HOME/.config
will be created referencing somewhere in dotfiles
. When other files get put into $HOME/.config
, all those files (even those you don’t want to keep) will actually reside in this repository!
For this reason, edit the fend
list inside stow.tcl
. For the above example, add .config
to the list (to link foo/
) or add .config/foo
(to link bar.txt
).
Note: If you don’t want to load some _configuration
, place it in disabled
first.
- Go to the
dotfiles
root directory. ./stow.tcl
IMPORTANT: Customised to my system. Will most likely bork your system.
WIP
- Go to the
dotfiles
root directory. ./load.tcl
- presumes: drives prepped; base system and tcl installed; internet available
WIP
- Find the link and manually
rm
it.