* aliasrc | improve se()
1. Remove external commands like find.
2. Remove extensions and path (if present) from the names in fzf.
3. Only open Nvim if there is a selection.
Do all of these without using find, sed, grep.
- First line creates an array with the files in the scripts directory.
- Second line removes path (:t) and the extensions (:r) from the scripts.
- [[ "${c}" ]] checks if this variable is non-empty.
- ${${(M)s:#*/${c}*}[1]}
(M) enables "match" mode.
:# anchors the pattern to the start of each array element.
*/${c}* matches any path containing the selected basename.
[1] selects the first matching item.
* capture sub-directories too
This is a (subjectively) preferable behavior for locking the system.
- Pause all media players and mute audio when the system is locked. Unmute after unlocking.
Co-authored-by: Shahram <80352285+ShahramMohammed@users.noreply.github.com>
* Update compiler to include instruction for the Rink calculator
Added a compiler option for rink calculator files. Rink is a unit-conversion calculator written in Rust.
* Update compiler to include COBOL instructions
Programs like Chrome run multiple processes that take up the entire notification window. This commit solves this issue by grouping and aggregating CPU and memory usage for multi-process programs into single entries.
Context: I accidentally pressed the C key on my .config directory and was presented with a list of directories to copy it to, then I pressed escape to quit the fzf menu without choosing anything - instead of doing nothing the script copied all of the contents inside my .config directory into my home directory. After dealing with that mess I decided to make this PR which does the following:
- Allow users to escape out of the fzf menu without unexpected copies
- Asks the user for confirmation before copying/moving files
- Some improvements in the UI
useful if want to use shortcuts w/ different progs instead of
their default behavior (cd / $EDITOR), e.g.:
```sh
cd ~/Downloads
mv foo.mp3 $music
```
Co-authored-by: Luke Smith <luke@lukesmith.xyz>
* weath: Add option to get forecast from a different location
* Remove retry and make max time lower because it is interactive
* Give weath 'cp' option to copy forecast as plain text for sharing
* Make weath a separate script
* Corrects the syntax error in "application/octet-stream is for arbitrary binary files"
#1321 had a syntax error, this commit correct it.
* Update lfrc
support for ts
added `^` and `$` to the pattern used in `grep -v`
in order to avoid matching displays whose name
contains some other display name. e.g ("DPI", "eDPI")
1. Copies the selected filename instead of the filepath, and pipes it to clipboard.
2. Copies the selected filename and if it matches the yt-dlp downloaded video format [1234567891011], gets the full youtube URL and pipes it to clipboard.
3. Copies the selected filename and if it matches the yt-dlp downloaded video format [1234567891011], gets the full piped.video URL and pipes it to the clipboard. (piped.video is a mirror of youtube, even includes comments)
4. Opens current folder in full picture mode. Think windows large icons mode. Good for browsing quickly through image albums.
5. Ctrl+l to unselect all selections so the behaviour matches the terminal.