Make ranger text editor work without X
This commit is contained in:
parent
181ec9575f
commit
777ebab1c4
3 changed files with 7 additions and 9 deletions
|
@ -2,8 +2,8 @@
|
|||
{
|
||||
home.packages = with pkgs; lib.mkIf config.home.school.enable [
|
||||
freerdp
|
||||
globalprotect-openconnect
|
||||
gpauth
|
||||
remmina
|
||||
globalprotect-openconnect
|
||||
];
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
rifle = [
|
||||
# Media
|
||||
{
|
||||
condition = ''mime ^image, has imv, X, flag f'';
|
||||
condition = ''mime ^image, has imv, flag f'';
|
||||
command = ''imv -- "$@"'';
|
||||
}
|
||||
{
|
||||
|
@ -35,11 +35,11 @@
|
|||
command = ''mpv --shuffle --no-audio-display -- "$@"'';
|
||||
}
|
||||
{
|
||||
condition = ''ext x?html?|pdf, has firefox, X, flag f'';
|
||||
condition = ''ext x?html?|pdf, has firefox, flag f'';
|
||||
command = ''firefox -- "$@"'';
|
||||
}
|
||||
{
|
||||
condition = ''ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has libreoffice, X, flag f'';
|
||||
condition = ''ext pptx?|od[dfgpst]|docx?|sxc|xlsx?|xlt|xlw|gnm|gnumeric, has libreoffice, flag f'';
|
||||
command = ''libreoffice "$@"'';
|
||||
}
|
||||
|
||||
|
@ -75,7 +75,7 @@
|
|||
command = ''7z x -- "$@"'';
|
||||
}
|
||||
{
|
||||
condition = ''label open, has xdg-open'';
|
||||
condition = ''label open'';
|
||||
command = ''vim -- "$@"'';
|
||||
}
|
||||
];
|
||||
|
@ -88,9 +88,7 @@
|
|||
};
|
||||
}
|
||||
];
|
||||
extraConfig = ''
|
||||
default_linemode devicons2
|
||||
'';
|
||||
extraConfig = "default_linemode devicons2";
|
||||
};
|
||||
|
||||
# Ranger's bookmarks and necessary tools
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
output = ''"%(artist)s - %(title)s.%(ext)s"'';
|
||||
};
|
||||
};
|
||||
home.shellAliases.opusdl = ''yt-dlp -f ba -x --audio-quality 0'';
|
||||
home.shellAliases.opusdl = "yt-dlp -f ba -x --audio-quality 0";
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue