1

Compare commits

...

2 Commits

2 changed files with 7 additions and 3 deletions

View File

@ -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

View File

@ -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;