Compare commits
No commits in common. "1af3d8796d044bbc245a88d20182bb4f9a16dcf5" and "6b8ee077953d5a7d15f7527cce196b43a6aa7576" have entirely different histories.
1af3d8796d
...
6b8ee07795
8 changed files with 34 additions and 49 deletions
|
@ -53,14 +53,11 @@ in {
|
||||||
csharp-ls
|
csharp-ls
|
||||||
cups
|
cups
|
||||||
curl
|
curl
|
||||||
dbeaver-bin
|
|
||||||
discord
|
discord
|
||||||
dolphin-emu
|
|
||||||
dotnet-sdk_8
|
dotnet-sdk_8
|
||||||
dotnetPackages.Nuget
|
dotnetPackages.Nuget
|
||||||
dunst
|
dunst
|
||||||
easytag
|
easytag
|
||||||
ffmpeg
|
|
||||||
firefox
|
firefox
|
||||||
flac
|
flac
|
||||||
flameshot
|
flameshot
|
||||||
|
|
|
@ -8,6 +8,5 @@
|
||||||
./neovim
|
./neovim
|
||||||
./picom
|
./picom
|
||||||
./polybar
|
./polybar
|
||||||
./yt-dlp
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
@ -50,7 +50,29 @@ vim.opt.ttyfast = true
|
||||||
-- Do not add a newline at the end of the file
|
-- Do not add a newline at the end of the file
|
||||||
vim.opt.fixeol = false
|
vim.opt.fixeol = false
|
||||||
|
|
||||||
vim.cmd [[packadd packer.nvim]]
|
local data_dir = vim.fn.has('nvim') == 1 and vim.fn.stdpath('data') .. '/site' or '~/.vim'
|
||||||
|
|
||||||
|
-- Ensure packer is installed
|
||||||
|
local install_path = vim.fn.stdpath('data')..'/site/pack/packer/start/packer.nvim'
|
||||||
|
if vim.fn.empty(vim.fn.glob(install_path)) > 0 then
|
||||||
|
vim.fn.system({'git', 'clone', '--depth', '1', 'https://github.com/wbthomason/packer.nvim', install_path})
|
||||||
|
vim.cmd [[packadd packer.nvim]]
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Use a protected call so we don't error out on first use
|
||||||
|
local status_ok, packer = pcall(require, "packer")
|
||||||
|
if not status_ok then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
|
-- Have packer use a popup window
|
||||||
|
packer.init {
|
||||||
|
display = {
|
||||||
|
open_fn = function()
|
||||||
|
return require('packer.util').float { border = 'rounded' }
|
||||||
|
end,
|
||||||
|
},
|
||||||
|
}
|
||||||
|
|
||||||
return require('packer').startup(function(use)
|
return require('packer').startup(function(use)
|
||||||
-- Packer can manage itself
|
-- Packer can manage itself
|
||||||
|
@ -75,6 +97,7 @@ return require('packer').startup(function(use)
|
||||||
use 'github/copilot.vim'
|
use 'github/copilot.vim'
|
||||||
use {'CopilotC-Nvim/CopilotChat.nvim', branch = 'canary'}
|
use {'CopilotC-Nvim/CopilotChat.nvim', branch = 'canary'}
|
||||||
end)
|
end)
|
||||||
|
vim.cmd [[packadd packer.nvim]]
|
||||||
|
|
||||||
-- Copilot Chat
|
-- Copilot Chat
|
||||||
local prompts = require('CopilotChat.prompts')
|
local prompts = require('CopilotChat.prompts')
|
||||||
|
|
|
@ -1,22 +0,0 @@
|
||||||
# Output format: album/tracks.format
|
|
||||||
-o "%(album,playlist_title)U/%(track_number,playlist_index)s - %(title)U.%(ext)s"
|
|
||||||
--windows-filenames
|
|
||||||
# --restrict-filenames
|
|
||||||
|
|
||||||
# Extract audio
|
|
||||||
-f bestaudio
|
|
||||||
--extract-audio
|
|
||||||
--audio-format mp3
|
|
||||||
|
|
||||||
# Thumbnail squared
|
|
||||||
--convert-thumbnails png
|
|
||||||
--ppa "ThumbnailsConvertor+ffmpeg_o:-c:v png -vf crop=\"'if(gt(ih,iw),iw,ih)':'if(gt(iw,ih),ih,iw)'\""
|
|
||||||
--embed-thumbnail
|
|
||||||
|
|
||||||
# Metadata, with playlist number as track number if the latter is missing
|
|
||||||
--embed-metadata
|
|
||||||
--parse-metadata "playlist_index:%(track_number)s"
|
|
||||||
|
|
||||||
# Misc
|
|
||||||
--no-overwrites
|
|
||||||
--concurrent-fragments 4
|
|
|
@ -1,3 +0,0 @@
|
||||||
{
|
|
||||||
home.file."/home/vylpes/.config/yt-dlp/config".source = ./config;
|
|
||||||
}
|
|
|
@ -1,13 +0,0 @@
|
||||||
# Neovim
|
|
||||||
|
|
||||||
Neovim is mostly configured in the flake, we just need to install packer
|
|
||||||
separately, although this is only required to do once.
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
Run the following command in the terminal
|
|
||||||
|
|
||||||
```bash
|
|
||||||
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
|
|
||||||
~/.local/share/nvim/site/pack/packer/start/packer.nvim
|
|
||||||
```
|
|
12
flake.lock
12
flake.lock
|
@ -7,11 +7,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1726989464,
|
"lastModified": 1726818100,
|
||||||
"narHash": "sha256-Vl+WVTJwutXkimwGprnEtXc/s/s8sMuXzqXaspIGlwM=",
|
"narHash": "sha256-z2V74f5vXqkN5Q+goFlhbFXY/dNaBAyeLpr2bxu4Eic=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "2f23fa308a7c067e52dfcc30a0758f47043ec176",
|
"rev": "1bbc1a5a1f4de7401c92db85b2119ed21bb4139d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -23,11 +23,11 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1729691686,
|
"lastModified": 1726838390,
|
||||||
"narHash": "sha256-BAuPWW+9fa1moZTU+jFh+1cUtmsuF8asgzFwejM4wac=",
|
"narHash": "sha256-NmcVhGElxDbmEWzgXsyAjlRhUus/nEqPC5So7BOJLUM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "32e940c7c420600ef0d1ef396dc63b04ee9cad37",
|
"rev": "944b2aea7f0a2d7c79f72468106bc5510cbf5101",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -114,6 +114,10 @@
|
||||||
gcm = "git commit -m";
|
gcm = "git commit -m";
|
||||||
gco = "git checkout";
|
gco = "git checkout";
|
||||||
|
|
||||||
|
yt-mp3 = "yt-dlp -xi --audio-format mp3";
|
||||||
|
yt-mp3-meta = "yt-dlp -xi --audio-format mp3 --parse-metadata \"playlist_index:%(track_number)s\" --add-metadata";
|
||||||
|
yt-mp3-meta-cookies = "yt-dlp -xi --audio-format mp3 --parse-metadata \"playlist_index:%(track_number)s\" --add-metadata --cookies-from-browser firefox";
|
||||||
|
|
||||||
s = "swallow";
|
s = "swallow";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue