Compare commits
2 Commits
327a28ae28
...
f3bddad032
| Author | SHA1 | Date | |
|---|---|---|---|
|
f3bddad032
|
|||
|
ed34c77fd8
|
@ -107,11 +107,15 @@ yes "The quick brown fox jumps over the lazy dog" | head -c <size> > <output>
|
||||
# For-loop in fish shell
|
||||
for o in <objects>; <action>; end
|
||||
|
||||
% shell
|
||||
% fd
|
||||
# Find files larger or smaller than a specified size in the current directory
|
||||
fd --type file --size <mode><size> -- "<regex>" .
|
||||
$ mode: echo -e "+\t\tFind Larger Files\n-\t\tFind Smaller Files" --- --column 1
|
||||
|
||||
% fd
|
||||
# Find .desktop files of an application
|
||||
fd ".*\.desktop" / | rg --trim --pretty "<application>"
|
||||
|
||||
% gdu
|
||||
# Visualize storage usage on all mounted disks
|
||||
sudo gdu -d
|
||||
|
||||
@ -253,9 +253,9 @@
|
||||
# as nixosConfig won't be available otherwise.
|
||||
xdg = {
|
||||
enable = !headless;
|
||||
mime.enable = nixosConfig.xdg.mime.enable;
|
||||
mime.enable = !headless;
|
||||
mimeApps = {
|
||||
enable = nixosConfig.xdg.mime.enable;
|
||||
enable = !headless;
|
||||
associations.added = nixosConfig.xdg.mime.addedAssociations;
|
||||
associations.removed = nixosConfig.xdg.mime.removedAssociations;
|
||||
defaultApplications = nixosConfig.xdg.mime.defaultApplications;
|
||||
|
||||
Reference in New Issue
Block a user