Compare commits
No commits in common. "430cc53cdfa502be9239ce815817e3af43c40d3d" and "187b86e62200ab9b8720393ba7b15d7a5a334805" have entirely different histories.
430cc53cdf
...
187b86e622
@ -47,8 +47,6 @@ in
|
|||||||
libnotify # notifications
|
libnotify # notifications
|
||||||
mako # notification daemon
|
mako # notification daemon
|
||||||
xdg-desktop-portal-hyprland # desktop portal (hyprland fork)
|
xdg-desktop-portal-hyprland # desktop portal (hyprland fork)
|
||||||
neovim # text editor
|
|
||||||
yt-dlp # video downloader
|
|
||||||
];
|
];
|
||||||
|
|
||||||
imports = [
|
imports = [
|
||||||
@ -77,8 +75,6 @@ in
|
|||||||
# user environment variables
|
# user environment variables
|
||||||
sessionVariables = {
|
sessionVariables = {
|
||||||
SSH_AUTH_SOCK = "/run/user/1000/ssh-agent.socket";
|
SSH_AUTH_SOCK = "/run/user/1000/ssh-agent.socket";
|
||||||
EDITOR = "nvim";
|
|
||||||
VISUAL = "nvim";
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
@ -33,6 +33,3 @@ set fish_color_cwd yellow
|
|||||||
# SSH Agent
|
# SSH Agent
|
||||||
set SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/ssh-agent.socket"
|
set SSH_AUTH_SOCK "$XDG_RUNTIME_DIR/ssh-agent.socket"
|
||||||
export SSH_AUTH_SOCK
|
export SSH_AUTH_SOCK
|
||||||
# text editor
|
|
||||||
set EDITOR nvim
|
|
||||||
set VISUAL nvim
|
|
||||||
|
@ -5,32 +5,7 @@
|
|||||||
enable = true;
|
enable = true;
|
||||||
interactiveShellInit = (builtins.readFile ./config/fish/conf.d/interactive.fish);
|
interactiveShellInit = (builtins.readFile ./config/fish/conf.d/interactive.fish);
|
||||||
shellAliases = {
|
shellAliases = {
|
||||||
# open emacs in terminal
|
|
||||||
emacs = "emacs --no-window-system";
|
|
||||||
# colored wget output
|
|
||||||
wget = "wget -c";
|
wget = "wget -c";
|
||||||
# copy terminfo to remote server with kitty
|
|
||||||
sshkp = "kitty +kitten ssh use-python";
|
|
||||||
sshk = "kitty +kitten ssh";
|
|
||||||
# colored ls output
|
|
||||||
ls = "ls --color=auto";
|
|
||||||
# kill all wine processes
|
|
||||||
killwine = "ls -l /proc/*/exe 2>/dev/null | grep -E 'wine(64)?-preloader|wineserver' | perl -pe 's;^.*/proc/(\d+)/exe.*$;$1;g;' | xargs -n 1 kill";
|
|
||||||
# colored grep output
|
|
||||||
grep = "grep --color=auto";
|
|
||||||
# yt-dlp aliases
|
|
||||||
# best audio
|
|
||||||
yta-best = "yt-dlp -f bestaudio --extract-audio ";
|
|
||||||
# best video
|
|
||||||
ytv-best = "yt-dlp -f bestvideo+bestaudio ";
|
|
||||||
# download video including metadata from youtube
|
|
||||||
ytv-metadata = "yt-dlp -f bestvideo+bestaudio --add-metadata --parse-metadata \"%(title)s:%(meta_title)s\" --parse-metadata \"%(uploader)s:%(meta_artist)s\" --write-info-json --write-thumbnail --embed-thumbnail --embed-subs --sub-langs \"en.*\" --merge-output-format mkv ";
|
|
||||||
# activate venv called "venv" in the local directory
|
|
||||||
activate = "source venv/bin/activate.fish";
|
|
||||||
# lsblk including file system type
|
|
||||||
lsblkf = "lsblk -o NAME,FSTYPE,LABEL,MOUNTPOINT,SIZE,MODEL,UUID";
|
|
||||||
# color ip command
|
|
||||||
ip = "ip -c";
|
|
||||||
};
|
};
|
||||||
functions = {
|
functions = {
|
||||||
fish_prompt = (builtins.readFile ./config/fish/functions/fish_prompt.fish);
|
fish_prompt = (builtins.readFile ./config/fish/functions/fish_prompt.fish);
|
||||||
|
Reference in New Issue
Block a user