729 Commits

Author SHA1 Message Date
Luke Smith
2e3790a695
fix #1464 2025-04-02 18:57:24 +02:00
Luke Smith
fdfd23a82c
Revert "aliasrc | improve se() (#1433)" close #1459
This reverts commit e2d787992ed8cdd3105fdf8d45ab2d695796238b.
2025-03-18 20:05:39 +01:00
Rokosun
8e2abf828a
Fix UI rendering issues in neovim (#1455)
Neovim started showing UI rendering issues after the latest update. Some of the Unicode characters used in the vim-airline plugin were found to be the cause, this commit aims to solve the issue by removing those characters.

Check this issue for more details - https://github.com/vim-airline/vim-airline/issues/2704
2025-03-08 09:58:26 +00:00
Alessio Artoni
70ee0fe03f
Evaluate aliases at runtime (#1456) 2025-03-06 21:47:02 +00:00
Luke Smith
2ca3f80dd3
Merge branch 'feat/latexmk' of github.com:aartoni/dotfiles into aartoni-feat/latexmk 2025-03-02 16:51:52 +01:00
Emre AKYÜZ
e2d787992e
aliasrc | improve se() (#1433)
* 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
2025-02-28 19:11:57 +00:00
Rokosun
4606e9156a
Improve UI for move/copy in lf (#1438)
* Clear screen before move/copy

Quick fix for https://github.com/LukeSmithxyz/voidrice/pull/1437#issuecomment-2430008043

* More UI improvements
2025-02-28 19:10:40 +00:00
Alessio Artoni
53f1df79e5
Fix magick related actions in nsxiv (#1449) 2025-02-28 14:57:16 +00:00
pa-d-v
85801d095f
Fix breaking height and preferred offset syntax in dunstrc since v1.12.0 (#1453) 2025-02-28 14:25:56 +00:00
aartoni
f1c7405012 latexmk 2024-11-09 14:49:13 +07:00
appeasementPolitik
6f67789b8b
Clean up pipewire conf (#1427)
* Clean up pipewire.conf

* Needs extra newline
2024-10-22 18:46:41 +00:00
Rokosun
61026e18de
Fix dangerous copy/move script in lf (#1437)
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
2024-10-22 18:34:33 +00:00
fennomaani
779ef2f5fe
Update mpd to use PipeWire (#1412)
per https://wiki.archlinux.org/title/Music_Player_Daemon#Audio_configuration
2024-07-15 17:37:38 +00:00
Kipras Melnikovas
131dcce268
shortcuts: export env vars for each shortcut (#1395)
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>
2024-07-15 17:37:04 +00:00
appeasementPolitik
368d3583a6
weath: Add option to get forecast from a different location (#1327)
* 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
2024-07-15 17:28:50 +00:00
Visrut
b4b462029c
shortcuts: zathura full screen mode shortcuts should work as before (#1396)
* shortcuts work in full-screen mode

* update wal template
2024-07-15 17:15:55 +00:00
Luke Smith
e1bfc20f96
Merge branch 'tiny-fixes' of https://github.com/thetubster99/cookedrice into thetubster99-tiny-fixes 2024-07-15 13:04:42 -04:00
Luke Smith
6556ef5c4d
close #1423 2024-07-15 13:02:59 -04:00
venatio
475e4abb40
(lf,maimpick) added preview for .xcf files, fixed OCR selection in dmenu script (#1420) 2024-06-02 20:40:47 +00:00
thetubster99
7a9bfe6f69
Tiny fix and optimization 2024-05-23 22:23:16 +00:00
Luke Smith
28eff887e0
Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2024-05-23 13:03:55 -04:00
Luke Smith
441d26b75d
for legacy vim colorscheme 2024-05-23 13:03:41 -04:00
Ryan F
db6ee8f819
map gh fix (#1414)
map gh doesn't do anything because it doesn't recognize multi-letter commands. mapping H to cd to ~
2024-05-23 16:42:08 +00:00
Luke Smith
487be9193c
remove default rss feeds 2024-05-17 09:13:07 -04:00
poeplva
1f7376c805
Corrects "application/octet-stream is for arbitrary binary files" (#1337)
* 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
2024-05-11 14:22:52 +00:00
TheYellowArchitect
5c8d46a4e7
Added 5 new mappings, 3 of which pipe to clipboard (#1373)
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.
2024-05-11 12:53:48 +00:00
Alessio Artoni
dd6eb37469
Remove unused vim configs and shortcuts (#1385)
Remove: ranger shortcuts, "nocompatible", plain Vim support for
NERDTreeBookmarksFile and vimling configuration.
2024-05-11 12:42:22 +00:00
fennomaani
b545443993
Save command to history before it is executed (#1409) 2024-05-11 12:35:28 +00:00
ewof
cf4a12acb3
Update xinitrc (#1402) 2024-03-28 13:13:34 +00:00
Luciano
0795202675
lf-scope: adds SVG preview creating cache. (#1360) 2023-11-15 01:37:39 +00:00
appeasementPolitik
bbcbac64fa
Fix unsupported characters in vim-airline (#1317) 2023-11-15 01:35:53 +00:00
thirtysix
52fab9d50a
Make shell profile POSIX, remove unnecessary variable fallbacks (#1368) 2023-11-15 01:35:14 +00:00
thirtysix
0db54f9618
Fix pdf and plain text previws in lf (#1369)
* Fix pdf and plain text previws in lf

Pdf previws don't appear because are generated with wrong filename.
Plain text previws with `bat` don't respect terminal theme and have
annoying border.

* Revert pdf cache filename to work properly
2023-11-15 01:34:29 +00:00
Emre AKYÜZ
50e72a1a03
An unnecessary(?), small improvement for lf mkdir command (#1372)
The new method is more robust and better handles directory names with spaces and special characters.

It's more minimal.
2023-11-13 13:30:08 +00:00
Luke Smith
0cc589bcad
Merge branch 'master' of github.com:LukeSmithxyz/voidrice 2023-10-28 08:41:43 -04:00
Luke Smith
6ba48b2733
fix #1366 2023-10-28 08:41:26 -04:00
Lalle
1e3adf9c03
Launch dwm in a dbus session (#1340)
* Launch dwm in a dbus session

* Add ssh-agent

* Update dbus env

* Update xprofile
2023-10-27 19:42:32 +00:00
Emre AKYÜZ
bca6b403eb
Unpack Function for LF Without Aunpack (#1334)
We can simply eliminate the usage of an external tool by adding a simple case statement to handle different types of compressed files.
2023-10-27 18:54:15 +00:00
sban
b8cd0ab495
Timeout added to forecast module, ncmpcpp now tracks player state (#1359)
* Added timeout to getforecast to prevent status bar breakage.

A 2 second timeout is used in the case that wttr.in is inaccessible when dwm is started; as otherwise it tries to curl wttr.in indefinitely, not allowing other status bar modules to be loaded.

* Update music status bar module on player state change
2023-09-05 07:51:05 +00:00
Alessio Artoni
798ba175d0
Fix wrong font name (#1353) 2023-08-25 07:53:59 +00:00
Luke Smith
8315e4c885
libertinus replaces libertine 2023-08-23 12:28:42 +02:00
poeplva
d8a8970715
djvu files cannot be previewed (#1335)
added support for previewing books in djvu format.
2023-07-23 23:06:04 +00:00
Lalle
0497dcd51c
Add jsonl to lf (#1345) 2023-07-23 23:02:33 +00:00
Luke Smith
9a85d328cc
nsxiv replaces unmaintained sxiv 2023-07-15 18:57:12 +02:00
Luke Smith
07de33840d
Revert "application/octet-stream is for arbitrary binary files (#1321)" (#1336)
This reverts commit af2710799b069486d04ba23c5bdab9cf6c4d6b04.
2023-05-27 01:46:54 +00:00
poeplva
af2710799b
application/octet-stream is for arbitrary binary files (#1321)
application/octet-stream mime-type is used for arbitrary binary files, so the best guess at opening those kind of should be based on the extension. before this all of this kind of files were tried to be opened with zathura, now it is the last resort in case the file extension is unknown.
2023-05-26 22:10:29 +00:00
Mahdi Nayef
1633233c9d
bulkrename using built-ins instead of using a completely separate program (#1330)
* bulkrename using bult-ins instead of using a completely separate program

* Make it more efficient
2023-05-26 22:08:43 +00:00
Spenser Truex
ce1f0bfa05
Re-add whitespace to some buffer types as needed. (#1333)
Very arcane.

C ANSI standard requires a newline at the end. GCC will complain.

Email signatures should have a space after the -- according to the
standard. Neomutt does this automatically for you if you have a
signature.

Co-authored-by: Spenser Truex <truex@equwal.com>
2023-05-25 03:40:55 +00:00
Mahdi Nayef
0a29cfbf4f
Fix rename key bindings in lf (#1331) 2023-05-24 13:28:56 +00:00
pony-montana
b2833f8a67
change requested by lf-git after update. (#1319) 2023-05-02 19:49:56 +00:00