Last active
October 29, 2024 22:08
-
-
Save purarue/996126c45a4b3ed10941c7f190ac0605 to your computer and use it in GitHub Desktop.
where ttt is used in my dotfiles
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[$ grep-dotfiles ttt | clp | |
/home/username/.config/i3/config:7:# ttt is littered throughout here, to track i3 bindsyms | |
/home/username/.config/i3/config:8:# see https://github.com/purarue/ttt/ for more info | |
/home/username/.config/i3/config:15:bindsym $mod+Shift+Escape exec --no-startup-id ttt lock-screen | |
/home/username/.config/i3/config:47:bindsym XF86Display exec --no-startup-id ttt randomize-wallpaper | |
/home/username/.config/i3/config:52:bindsym $mod+g exec --no-startup-id ttt trackpad | |
/home/username/.config/i3/config:62:bindsym $mod+Shift+Tab exec --no-startup-id ttt i3binds-prompt | |
/home/username/.config/i3/config:109:# wrapper to save history using ttt | |
/home/username/.config/i3/config:116:bindsym $mod+n exec --no-startup-id ttt networkmanager_dmenu | |
/home/username/.config/i3/config:119:bindsym --release Print exec --no-startup-id ttt screenshot | |
/home/username/.config/i3/config:121:bindsym Shift+Print exec --no-startup-id ttt screenshot --full | |
/home/username/.config/i3/config:123:bindsym $mod+Print exec --no-startup-id ttt screenshot-to-imgur | |
/home/username/.config/i3/config:260:bindsym $mod+d mode "launcher"; exec --no-startup-id ttt i3-notify-launcher | |
/home/username/.config/i3/config:263: bindsym a exec --no-startup-id ttt alacritty; mode "default" | |
/home/username/.config/i3/config:264: bindsym f exec --no-startup-id ttt firefox-developer-edition; mode "default" | |
/home/username/.config/i3/config:265: bindsym t exec --no-startup-id ttt thunderbird; mode "default" | |
/home/username/.config/i3/config:266: bindsym e exec --no-startup-id ttt emacs; mode "default" | |
/home/username/.config/i3/config:267: bindsym d exec --no-startup-id ttt discord; mode "default" | |
/home/username/.config/i3/config:268: bindsym s exec --no-startup-id ttt slack; mode "default" | |
/home/username/.config/i3/config:269: bindsym k exec --no-startup-id ttt keepassxc; mode "default" | |
/home/username/.config/i3/config:270: bindsym r exec --no-startup-id ttt launch ranger; mode "default" | |
/home/username/.config/i3/config:271: bindsym n exec --no-startup-id ttt launch newsboat-force; mode "default" | |
/home/username/.config/i3/config:272: bindsym h exec --no-startup-id ttt launch htop; mode "default" | |
/home/username/.config/i3/config:273: bindsym v exec --no-startup-id ttt launch keyvol; mode "default" | |
/home/username/.config/i3/config:280: bindsym x exec --no-startup-id ttt mediaproxyvideo; mode "default" | |
/home/username/.config/i3/config:281: bindsym Shift+x exec --no-startup-id ttt mediaproxyaudio; mode "default" | |
/home/username/.config/i3/config:290:bindsym $mod+Return exec --no-startup-id ttt alacritty | |
/home/username/.config/i3/config:292:# another binding to start a terminal, incase ttt isnt working for some reason, as a last resort | |
/home/username/.config/i3/config:296:bindsym $mod+Shift+Return exec --no-startup-id ttt firefox-developer-edition --new-tab; | |
/home/username/.config/ranger/rc.conf:94:map S shell ttt $SHELL | |
/home/username/.config/ranger/rc.conf:98:map ! console shell ttt%space | |
/home/username/.config/ranger/rc.conf:99:map @ console -p10 shell ttt %s | |
/home/username/.config/ranger/rc.conf:101:map $ console shell ttt ./%f | |
/home/username/.config/ranger/rc.conf:173:map du shell -p ttt du --max-depth=1 -h --apparent-size | |
/home/username/.config/ranger/rc.conf:174:map dU shell -p ttt du --max-depth=1 -h --apparent-size | sort -rh | |
/home/username/.config/ranger/rc.conf:175:map yp shell -f ttt echo -n %%d/%%f | xsel -i; xsel -o | xsel -i -b | |
/home/username/.config/ranger/rc.conf:176:map yd shell -f ttt echo -n %%d | xsel -i; xsel -o | xsel -i -b | |
/home/username/.config/ranger/rc.conf:177:map yn shell -f ttt echo -n %%f | xsel -i; xsel -o | xsel -i -b | |
/home/username/.config/ranger/rc.conf:204:map yb shell ttt cp %s %s.bak # backup file | |
/home/username/.config/ranger/rc.conf:357:map V console shell ttt nvim%space | |
/home/username/.config/ranger/rc.conf:363:map dR shell ttt dragon-drag-and-drop -x %s | |
/home/username/.config/ranger/rc.conf:364:map dS shell ttt dragon-sink | |
/home/username/.config/ranger/rc.conf:365:map dM shell ttt dragon-sink --mv | |
/home/username/.config/ranger/rc.conf:368:map X shell ttt unar %f | |
/home/username/.config/ranger/rc.conf:369:map T shell ttt tar -cvzf %f.tar.gz %s | |
/home/username/.config/ranger/rc.conf:370:map Z shell ttt zip -r %f.zip %s | |
/home/username/.config/ranger/rc.conf:382:map ex shell ttt fileinfo %f | $PAGER | |
/home/username/.config/ranger/rc.conf:385:map <C-p> shell ttt plainplay | |
/home/username/.config/ranger/rc.conf:386:map P shell ttt play-music | |
/home/username/.config/ranger/rc.conf:389:map im shell ttt imgur-uploader %s | |
/home/username/.config/ranger/rc.conf:391:map cii shell ttt to-icon %f | |
/home/username/.config/ranger/rc.conf:392:map cip shell ttt to-png %f | |
/home/username/.config/ranger/rc.conf:393:map ciP shell ttt pinta %f | |
/home/username/.config/ranger/rc.conf:396:map ytv console shell ttt youtube-dl%space | |
/home/username/.config/ranger/rc.conf:397:map yta console shell ttt youtube-dl -x%space | |
/home/username/.config/ranger/rifle.conf:56:# ttt is littered throughout here, to track rifle launces | |
/home/username/.config/ranger/rifle.conf:57:# see https://github.com/purarue/ttt/ for more info | |
/home/username/.config/ranger/rifle.conf:62:ext x?html?, has firefox-developer-edition, X, flag f = ttt firefox-developer-edition --new-tab "$1" | |
/home/username/.config/ranger/rifle.conf:70:ext desktop, file, has dex, X, flag f = ttt dex "$@" | |
/home/username/.config/ranger/rifle.conf:71:ext pickle, file, has show-pickle = ttt show-pickle "$1" | $PAGER | |
/home/username/.config/ranger/rifle.conf:74:mime ^text, label editor = ttt $VISUAL -- "$@" | |
/home/username/.config/ranger/rifle.conf:76:mime ^text, label pager = ttt $PAGER -- "$@" | |
/home/username/.config/ranger/rifle.conf:77:label editor, ext rs|go|mod|sql|xml|json|csv|tex|py|pl|rb|js|sh|php = ttt $VISUAL -- "$@" | |
/home/username/.config/ranger/rifle.conf:78:label pager, ext rs|go|mod|sql|xml|json|csv|tex|py|pl|rb|js|sh|php = ttt $PAGER -- "$@" | |
/home/username/.config/ranger/rifle.conf:81:mime .*json = ttt $VISUAL -- "$@" | |
/home/username/.config/ranger/rifle.conf:83:directory = ttt ranger "$1" | |
/home/username/.config/ranger/rifle.conf:85:file, ext 1 = ttt man "$1" | |
/home/username/.config/ranger/rifle.conf:87:ext s[wmf]c, has snes9x-gtk, X = ttt snes9x-gtk "$1" | |
/home/username/.config/ranger/rifle.conf:89:ext kdbx, has keepassxc, X, flag f = ttt keepassxc "$1" | |
/home/username/.config/ranger/rifle.conf:91:ext sqlite, has sqlitebrowser, X, flag f = ttt sqlitebrowser "$1" | |
/home/username/.config/ranger/rifle.conf:98:mime audio/midi, has vlc, X, flag f = ttt vlc -- "$@" | |
/home/username/.config/ranger/rifle.conf:100:mime ^video, has mpv, X, flag f = ttt mpv -- "$@" | |
/home/username/.config/ranger/rifle.conf:104:mime ^audio, has mpv, X = ttt mpv --no-audio-display -- "$@" | |
/home/username/.config/ranger/rifle.conf:110:ext pdf, has okular, path [Bb]ooks, X, flag f = ttt okular -- "$@" | |
/home/username/.config/ranger/rifle.conf:112:ext pdf, has mupdf, X, flag f = ttt mupdf "$@" | |
/home/username/.config/ranger/rifle.conf:114:ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has gnumeric, X, flag f = ttt gnumeric -- "$@" | |
/home/username/.config/ranger/rifle.conf:115:ext sxc|xlsx?|xlt|xlw|gnm|gnumeric, has kspread, X, flag f = ttt kspread -- "$@" | |
/home/username/.config/ranger/rifle.conf:116:ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has libreoffice, X, flag f = ttt libreoffice "$@" | |
/home/username/.config/ranger/rifle.conf:117:ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has soffice, X, flag f = ttt soffice "$@" | |
/home/username/.config/ranger/rifle.conf:118:ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has ooffice, X, flag f = ttt ooffice "$@" | |
/home/username/.config/ranger/rifle.conf:119:ext epub, has mupdf, X, flag f = ttt mupdf -- "$@" | |
/home/username/.config/ranger/rifle.conf:124:mime image/gif, has mpv, X, flag f = ttt sxiv -a -- "$@" | |
/home/username/.config/ranger/rifle.conf:125:mime ^image, has sxiv, X, flag f = ttt sxiv -- "$@" | |
/home/username/.config/ranger/rifle.conf:134:ext ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = ttt atool --list --each -- "$@" | "$PAGER" | |
/home/username/.config/ranger/rifle.conf:135:ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = ttt atool --list --each -- "$@" | "$PAGER" | |
/home/username/.config/ranger/rifle.conf:136:ext 7z|ace|ar|arc|bz2?|cab|cpio|cpt|deb|dgc|dmg|gz, has atool = ttt atool --extract --each -- "$@" | |
/home/username/.config/ranger/rifle.conf:137:ext iso|jar|msi|pkg|rar|shar|tar|tgz|xar|xpi|xz|zip, has atool = ttt atool --extract --each -- "$@" | |
/home/username/.config/ranger/rifle.conf:140:ext tar|gz|bz2|xz, has tar = ttt tar vvtf "$1" | "$PAGER" | |
/home/username/.config/ranger/rifle.conf:141:ext zip, has unzip = ttt unzip -l "$1" | $PAGER | |
/home/username/.config/ranger/rifle.conf:142:ext ace, has unace = ttt unace l "$1" | $PAGER | |
/home/username/.config/ranger/rifle.conf:143:ext rar, has unrar = ttt unrar l "$1" | $PAGER | |
/home/username/.config/ranger/rifle.conf:148:mime ^font, has fontforge, X, flag f = ttt fontforge "$@" | |
/home/username/.config/ranger/rifle.conf:153:mime ^ranger/x-terminal-emulator, has alacritty = ttt alacritty -e "$@" | |
/home/username/.config/ranger/rifle.conf:154:mime ^ranger/x-terminal-emulator, has termite = ttt termite -x '"$@"' | |
/home/username/.config/ranger/rifle.conf:164:mime application/x-sharedlib = ttt fileinfo "$@" | $PAGER | |
/home/username/.config/ranger/rifle.conf:165:mime application/x-executable = ttt fileinfo "$@" | $PAGER | |
/home/username/.config/ranger/rifle.conf:166:mime application/x-pie-executable = ttt fileinfo "$@" | $PAGER | |
/home/username/.config/shortcuts.toml:87:command -v tttlog >/dev/null 2>&1 && tttlog "$(basename "$0")" | |
/home/username/.config/shortcuts.toml:103:command -v tttlog >/dev/null 2>&1 && tttlog "$(basename "$0") $SEARCH_STR" | |
/home/username/.config/shortcuts.toml:112:command -v tttlog >/dev/null 2>&1 && tttlog "$(basename "$0") $SEARCH_STR" | |
/home/username/.config/shortcuts.toml:132:command -v tttlog >/dev/null 2>&1 && tttlog "$(basename "$0") $SEARCH_STR" | |
/home/username/.config/shortcuts.toml:488:command -v tttlog >/dev/null 2>&1 && tttlog "$(basename "$0") $*" | |
/home/username/.config/yadm/bootstrap:193:required_binaries=("wait-for-internet" "shortcuts" "exists" "ttt" "tttlog") | |
/home/username/.config/yadm/README.md:32:[`ttt`](https://github.com/purarue/ttt/) is sprinkled throughout lots of my scripts, it acts as an extension to my shell history, saving commands from `i3` `bindsym`s, or `ranger` commands. | |
/home/username/.config/zsh/functions/fzf-edit:11: ttt cd "$chosen_file" | |
/home/username/.local/scripts/cross-platform/editor:46: ttt nvim +Explore | |
/home/username/.local/scripts/cross-platform/editor:50: m +Explore "$@" | |
/home/username/.local/scripts/cross-platform/editor:52: m "$@" | |
/home/username/.local/scripts/cross-platform/editor:55: m "$@" | |
/home/username/.local/scripts/cross-platform/editor:61: ttt setsid emacs "$@" & | |
/home/username/.local/scripts/cross-platform/editor:63: ttt emacs "$@" # alacritty can handle this in terminal | |
/home/username/.local/scripts/cross-platform/editor:68: ttt setsid emacsclient -c "$@" & | |
/home/username/.local/scripts/cross-platform/editor:70: ttt emacs "$@" # dont use emacsclient on mac | |
/home/username/.local/scripts/cross-platform/input-dialog:4:command -v tttlog >/dev/null 2>&1 && tttlog "$(basename "$0") $@" | |
/home/username/.local/scripts/cross-platform/notify:4:command -v tttlog >/dev/null 2>&1 && tttlog "$(basename "$0") $@" | |
/home/username/.local/scripts/cross-platform/openurl:18:command -v tttlog >/dev/null 2>&1 && tttlog "openurl $URL" | |
/home/username/.local/scripts/linux/rofi-run:3:# I ran using https://github.com/purarue/ttt/ | |
/home/username/.local/scripts/linux/rofi-run:6:command -v ttt >/dev/null 2>&1 && tttlog "$CMD_TO_RUN" | |
/home/username/.local/share/shortcuts/cheat:2:command -v tttlog >/dev/null 2>&1 && tttlog "$(basename "$0") $*" | |
/home/username/.local/share/shortcuts/moviesearch-letterboxd:5:command -v tttlog >/dev/null 2>&1 && tttlog "$(basename "$0") $SEARCH_STR" | |
/home/username/.local/share/shortcuts/moviesearch-trakt:5:command -v tttlog >/dev/null 2>&1 && tttlog "$(basename "$0") $SEARCH_STR" | |
/home/username/.local/share/shortcuts/tvsearch:5:command -v tttlog >/dev/null 2>&1 && tttlog "$(basename "$0") $SEARCH_STR" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment