about summary refs log tree commit diff stats
path: root/bin/lh
Commit message (Collapse)AuthorAgeFilesLines
* restructure, cleanups, greener pastures, new additionsensa2023-02-041-9/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | config and data are now etc and share, to better match my homedir bin: generally, shellcheck errors (where there's actually a problem) have been fixed bother now includes alternate support for libnotify as well as my notif comm-sel now loops, so spawning programs doesn't require multiple runs fcard: my flashcard script accepts a tsv's path on $1, expecting: the word on column 1 the defintion on column 2 (optional) the section on column 3 if $2 is specified, only runs through lines with that string as its section fl: added aesgcm to the url detector string, because of profanity cleaned up urlparse now outputs the urls, one per line, making it more unixy flc: a quick script. uses fl's output to do what fl once did on its own. kbsetup now lacks escape xcape magic, qmk does that for me now. lh: general cleanup. added and removed a site for the video extract section metamv: gives arguments self-describing names based off metadata. mainly just for sorting FLACs off bandcamp this might not be entirely safe. use your own discretion. notif: xnotify wasn't happy with the previous design. it was sending notifications in pieces. this new one's an absolute mess but it works well, is smaller, and faster op: changed the pdf bit to allow variants smv: file is self-explanatory applies the pipeline specified in "$1" to every file name specified after it xbg: contains a fallback if xwallpaper isn't downloaded or its path is empty. yw: just a quick and dirty line for watching things in mpv using yt-dlp. etc: X11/: xprofile now includes the latest xnotify initialization. xresources prevents a variable collision also updates new xnotify resource names and changes which program to pipe the screen to. mpd/mpd.conf just updates to path structure. yt-dlp/* too many changes to describe. should be fairly self-explanatory. ksh/: prompt.ksh: the $ is green now. hooray! lf/lfrc: removed ttmsh function. i use my server for that now. newsboat/config: external-url-viewer is now non-python. zathura/zathurarc: font is now hermit. aliasrc: exa is no more. vis is also no more. youtube-dl is dead. long live yt-dlp. shrc: locale vars changed to ones than glibc is ok with
* organization and replacements, fixesensa2021-09-161-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | bin/ bother, mbsync-cron, rsschk: notify-send switched to notif catgirl-open.sh: simplified comm-sel: removed cordless kbsetup: sets up keyboard stuff lh: cleanup added mov and wav support audio files now create a terminal mpv notif: sends notification to xnotify config/ X11/ xprofile: replaced keyboard lines with kbsetup replaced dunst with xnotify/tiramisu added a line for cleaning up catgirl-open.sh xresources: xnotify resources betteresc: xmodmap file for easy-to-access hyper key color/colors.sh: cleaned up dunst/dunstrc: removed lf/lfrc: fixed prompt replaced notify-send with notif shrc: moved MEDNAFEN_HOME to $HOME_EXT vis/visrc.lua: add ctags, fix hyper|esc issue
* catgirl-open.sh simplified, lh now handles stdinensa2020-07-081-1/+12
| | | | | | | | | | | | | | | bin/ bar.sh: doesn't specify width (defaults to display width) bother: incorrectly used last, now uses tail uses : instead of true (telling the shell to do nothing) catgirl-open.sh: tabbed now called with -c, network chosen before invoking tabbed just tests xprop instead of hacky $? handling comm-sel: no longer specifies config directory for cordless (cordless does this correctly now) lh: if no arguments are given, set $1 to standard input. turned actual link handling into a loop, lh can now be sent multiple links and handle them all in sequence.
* fixed bin/lhensa2020-06-301-2/+2
| | | | bin/lh: url sent to findredir via a pipe instead
* bin/fl added, lh reworked, opener renamed, data/applications removedensa2020-06-291-14/+42
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bin/ fl: finds links, sends list to dmenu so user can choose one to copy to the clipboard lh: replaced sed invocations with lstrip() invocations redir handling changed to function findredir(), which loops over curl's output, only outputting location urls changed case statement to look for .extensions instead of the end of the url local files are now sent to bin/op for processing mpv given --no-terminal flag for no output instead of redirection shit similarly, sxiv is given -q (and -p to not cache) op: formerly opener changed error message to be more portable prompt: removed help text pw: doesn't need to be in a variable rsschk: redesigned after an eternity uses a modified re_urls, looking for .rss and .xml urls generally smaller shenv: uses ${var:=val} specifies /bin/sh xbg: removed .fehbg handling config/ aliasrc: e and v set TERM to xterm-256color, otherwise vis freaks out cwmrc: urgencyborder color added (with color1) ungroupborder changed to color5 program list removed 4-Return set to $TERMINAL 4S-r rebound to restart 4-X set to $LOCK prompt binds fixed dunst/dunstrc: icons disabled ksh/functions/l.: changed to ksh function for non-current directories, changes there in a subshell and uses that current directory, sending an error message if the directory doesn't exist lf/lfrc: cmd open removed cmd ttmsh fixed shrc: removed ALTSCR added OPENER=op IRC_SERVERS_FILE removed TODO changed to correct path GOCACHE and GOBIN added, self-explanatory data/ applications/: removed mailcap: changed to relegate most of its functionality to bin/op
* improved lh, switched to catgirlensa2020-06-261-16/+22
| | | | | | | | | | | | | | | | | | | | | | bin/ lh: now resolves link shorteners first, so web browser is used less catgirl-open.sh: uses tabbed with xterm to put multiple catgirl clients on one "window" comm-sel: now uses catgirl-open.sh instead of epic5 in xterm cordless specifies config dir so non-standard config locations will work added different x class flags for different TERMINAL values config/ cwmrc: removed St and tabbed from autogroups, added tabbed-surf things generally fixed to accommodate for xterm ALTSCR removed $SCR invocations now include -u to hide the cursor window force-killing uses non-old $() syntax ksh/prompt.ksh: uses unicode halfbar instead of powerline triangles clears formatting at start of PS1 before coloring things
* new functionality, themes, man pageensa2020-05-301-3/+16
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bin/ bar.sh: pipes spoon into dzen2 lh: added gemini/gopher handling with bombadillo shortened (no loss of functionality) opener: shortened (no loss of functionality) config/ X11/xprofile: added bar.sh aliasrc: just read it color/colors.sh: color environment variables, like wal's cwmrc: font specified as otb swapped oxbar with bar.sh ksh/ completions.ksh: added completions for shortcut functions diraliases: redone with self-references, more complete functions/ pcl: copies password for $1 to selection uses clip if two arguments pct: copies totp for $1 to selection uses clip if two arguments pkg_complete: uses cache diralias kshrc: added functions command fixed ensuring existence of HISTFILE's dir nvim/init.vim: deleted, no longer used vis/ themes/causalagency.lua: good colorscheme for vis themes/fake256.lua: scrapped visrc.lua: removed change-256color disable added cul nu ai youtube-dl/ config, config-music: fixed output dir zathura/zathurarc: specified cozette otb data/ applications/text.desktop now uses xterm and vis man/man7/user-hier.7 based off hier(7), describes structure of .. home directory
* cwm added, general updates, etcEnsa2020-05-011-7/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | bother made the WM detection and X startup file detection more robust comm-sel replaced 6cord with cordless made the default case do nothing so it's less annoying lh removed ipc-server garbage changed the audio group to allow for streaming audio to mpv (this works with livestream audio files) mbsync-cron moved config file to $XDG_CONFIG_HOME/mbsync/mbsyncrc made error exits actually error (helps with crontab -n) renamed old popmail touch file to something more nominally appropriate same with notify-send --app-name cwmrc reading it, DEPENDENCIES.md, and `man cwmrc` will more than explain everything in here. except the commented binds, these are behaviours cwm does not have. completions.ksh self-explanatory. read it. diraliases added ~bin for user binaries dir added ~ksh for ksh config dir added ~pass for password database kshrc added safeguards for ensuring used directories exist switched lfcd source to a test and source prompt.ksh better sep symbols git branch occupies less space lfrc added auto-upload to ttm.sh, bound to t init.vim switched colourscheme to zellner removed syntastic checker specifiers, now uses aggregate checks. syntastic_c_compiler set to cc, symlink your preferred compiler to ~bin/cc switched ectags to ctags enabled folds shrc ALTSCR: terminal you want to use for programs that already have scrollback. set to "$TERMINAL" if you don't have one. fiddled with LESS, hopefully better now $TODO is the file todo(1) uses. ENV: file ksh sources on startup. 6cord.toml removed because it's abandoned now. colors-wal-dwm.h removed because i don't use dwm anymore. dunstrc, zathurarc now uses cozette font
* first significant commitEnsa2019-12-201-0/+37
see README.md for information