class | instance |
---|---|
hw | thinkpad x1 nano g1, voyager |
env | void linux, hyprland, 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, FOCUS, MOVE | ||
CA-\b | power menu | |
M/A-L | resize / move window | |
MS[C]-\e | close [ or kill ] window | |
M/S- num | 1 / 2 / 3 / 4 / 5 | focus / move to nth desktop |
M- char | comma / semic / f | toggle float / split / fullscreen |
APP | ||
[S]-print | take picture of screen [ then edit ] | |
M-\s | dismiss notification | |
M- char | \n / grave / e / p / t / w | launch launcher / treeview / editor / color picker / 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.