tomocafe / dotfiles Goto Github PK
View Code? Open in Web Editor NEW๐
License: MIT License
๐
License: MIT License
Common prompt setup, aliases, functions
Blocklet can be activated on signal only, then i3 config can link the release of Caps Lock (e.g.)
bindsym --release Caps_Lock exec pkill -SIGRTMIN+11 i3blocks
After #8, use short text for color highlight. Color all matches of short text in long text format.
Link color schemes to other repositories? (or fork?)
But don't host the images in this repository; use a secondary hosting repository and link to the images from this README.md
.
Cleans up code, just pass cache ID around (set 0 default), use cachesize to get string length for padding, directly use cache ID as index.
Call xdpyinfo
to get resolution from Makefile and pass in the desired pixel width to dunstrc.m4
as a variable
If in purge mode, purge them, else just list them?
Handle multiple archive formats, guess by file extension.
Query VM status, etc.
Then make dmenu_theme call make
.
This way I can easily generate all the files without having to load i3
first and call dmenu_theme
.
Active jobs and statuses, load, etc.
Currently +2
refers to cache index 2, and all further actions for this cache need to use the +2
prefix.
After doing search-list-cache
and search-select +2
to list the matches, if we plan on doing a lot of file opening with cache 2 (e.g. search-select +2 a
, search-select +2 b
, ...), it would be easier to drop the +2
prefix.
Instead we could do search-select %2
which does the same as +2
but then touch
es the cache file so that it will now be indexed at 0. Then any future search-select
calls will refer to that cache by default (e.g. search-select a
, search-select b
, ...).
List open networks, then prompt for password (if applicable).
gvim gutters don't currently match the theme's normal background, need to add theme-based GTK2/3 settings for the GTK app background to match.
e.g. in fatal.
When _getRootProcess
is a connection daemon, map the shell pid to a WM ID and save a property to the window to let close-mode
know this window needs the special close mode. Currently it relies on WM command name, which doesn't work well with qrsh
.
Some login managers make it difficult (impossible) to add $I3_HOME/bin
to your PATH
before launching i3
, so referring directly to an executable such as close-mode
would fail.
Just changing the config file to refer to the full path ${I3_HOME:-~/.i3}/bin/close-mode
should suffice.
Read/write speeds
Both Xft.dpi
in Xresources and xrandr --dpi
.
Based on workspace name, window class/name
$ pwd
/aaa/bbb/ccc/ddd/eee
$ dc <tab>/aaa/bbb/ccc/ddd<tab>/aaa/bbb/ccc<tab>/aaa/bbb<enter>
$ pwd
/aaa/bbb
Support both git and p4 status information (based on current working directory and/or environment variables).
Give options to turn these on/off depending on situation:
Also set terminal title.
Script to purge file from any backup/snapshot directories
purge -I DIR [-I DIR ...] -d depth [-f] [--all] FILES ...
Removes FILES
and also traverses paths of FILES
to find any instances of FILES
under DIR/*{depth}
. By default, it only would delete files with the same inode, with --all
it will remove all matching files (versions). It is also interactive by default, which can be turned off with -f
.
e.g.
$ pwd
/path/to/my/files
$ purge -I.snapshot -d 2 ./looong.log
Remove /path/to/.snapshot/nightly.0/my/files/looong.log ? (Yy) >y
Remove /path/to/.snapshot/nightly.1/my/files/looong.log ? (Yy) >y
Removed 3 files.
search-select 1 2 3
should open matches 1, 2, and 3, to the correct line numbers, in separate editor buffers/windows/etc.
I typically write it from scratch for each machine (need different information in each case), but it's good to have something to start with so that it works out of the box.
Enhance it to be python / curses based? Or keep as is with shell?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.