Compare commits

...

6 commits

Author SHA1 Message Date
ItsDrike e52008cf2c
flake: update 2024-08-01 13:13:47 +02:00
ItsDrike 092ad13727
flake: update 2024-07-31 23:36:30 +02:00
ItsDrike 31da020c32
zsh: Optimize up loading shell completions 2024-07-31 23:36:19 +02:00
ItsDrike f765e8935b
eww: Avoid newlines in window name 2024-07-31 23:16:32 +02:00
ItsDrike e1818d2abd
Add vdhcoapp 2024-07-29 18:54:15 +02:00
ItsDrike e344135588
Add webp image association 2024-07-29 18:50:09 +02:00
5 changed files with 34 additions and 17 deletions

View file

@ -304,11 +304,11 @@
]
},
"locked": {
"lastModified": 1722067813,
"narHash": "sha256-nxpzoKXwn+8RsxpxwD86mtEscOMw64ZD/vGSNWzGMlA=",
"lastModified": 1722462338,
"narHash": "sha256-ss0G8t8RJVDewA3MyqgAlV951cWRK6EtVhVKEZ7J5LU=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "975b83ca560d17db51a66cb2b0dc0e44213eab27",
"rev": "6e090576c4824b16e8759ebca3958c5b09659ee8",
"type": "github"
},
"original": {
@ -389,11 +389,11 @@
]
},
"locked": {
"lastModified": 1721874161,
"narHash": "sha256-w0/TnOrm3w2t+fX7aY3PsxyrmXDk7IDZkvTNpQfFf1o=",
"lastModified": 1722479120,
"narHash": "sha256-P0fXZvYT56dKd5Zjuao4uQqgw9YFZ5AE2V31f4iluXI=",
"owner": "nixpak",
"repo": "nixpak",
"rev": "4e7ff8dfbf4143b429a5d389ba28c098255b36ca",
"rev": "c53bd63c6851f6972fb1f1f192e608775fb54a9f",
"type": "github"
},
"original": {
@ -430,11 +430,11 @@
},
"nixpkgs": {
"locked": {
"lastModified": 1721924956,
"narHash": "sha256-Sb1jlyRO+N8jBXEX9Pg9Z1Qb8Bw9QyOgLDNMEpmjZ2M=",
"lastModified": 1722185531,
"narHash": "sha256-veKR07psFoJjINLC8RK4DiLniGGMgF3QMlS4tb74S6k=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "5ad6a14c6bf098e98800b091668718c336effc95",
"rev": "52ec9ac3b12395ad677e8b62106f0b98c1f8569d",
"type": "github"
},
"original": {
@ -603,11 +603,11 @@
]
},
"locked": {
"lastModified": 1722053480,
"narHash": "sha256-DG1jdoSIcRLkQvCs63MSMJmssHTwm4zGOmP3hUtAzSY=",
"lastModified": 1722485526,
"narHash": "sha256-bIO63IKm8Frw9lLCqthj/fYphS0i3oGCfw1Lkh5HkPI=",
"owner": "Gerg-L",
"repo": "spicetify-nix",
"rev": "e954f700aeaeb1b4df261c68c2391089f655fac8",
"rev": "e42c13fcca982699b5b56da962a474401c109228",
"type": "github"
},
"original": {
@ -654,11 +654,11 @@
]
},
"locked": {
"lastModified": 1722092938,
"narHash": "sha256-Tr/B0RnPnQjMBLtk30Fno8gZhpJ72hvdKOH4gJ0s1A8=",
"lastModified": 1722436631,
"narHash": "sha256-CdmXKOgRnPIg7H8Cc8PKmw9+l3yJF3xP83tZ7a9i7kQ=",
"owner": "abenz1267",
"repo": "walker",
"rev": "4bf1dece38bf7d5dc0260e54d63d99b8077a6df8",
"rev": "b21d226d9ec6e379b13b633515af301d223cedcd",
"type": "github"
},
"original": {

View file

@ -97,6 +97,7 @@ def main() -> None:
formatted_name = new_name
break
formatted_name = formatted_name.split("\n")[0]
if len(formatted_name) > MAX_LENGTH:
formatted_name = formatted_name[: MAX_LENGTH - 3] + "..."

View file

@ -13,5 +13,9 @@ in {
enable = true;
# TODO: Finish this
};
home.packages = with pkgs; [
vdhcoapp # video download helper plugin companion app
];
};
}

View file

@ -2,7 +2,18 @@
autoload -Uz compinit
zmodload -i zsh/complist # load completion list
compinit -d $ZSH_COMPDUMP # Specify compdump file
if [[ -n "$(print ${ZDOTDIR:-$HOME}/.zcompdump(Nmh+5))" ]]; then
# Re-check for new completions, re-creating .zcompdump if necessary.
# This check can be quite slow and it's rare that we actually have new completions to load.
# For that reason, we only do this if the compdump file is older than 5 hours.
compinit
else
# This will omit the check for new completions,
# only re-creating .zcompdump if it doesn't yet exist.
compinit -C
fi
zstyle ':completion:*' menu select # select completions with arrow keys
zstyle ':completion:*' group-name '' # group results by category
zstyle ':completion:::::' completer _expand _complete _ignored _approximate #enable approximate matches for completion
zstyle ':completion:::::' completer _expand _complete _ignored _approximate # enable approximate matches for completion

View file

@ -34,6 +34,7 @@ in {
"image/jpeg" = [imageViewer];
"image/jpg" = [imageViewer];
"image/png" = [imageViewer];
"image/webp" = [imageViewer];
"image/tiff" = [imageViewer];
"image/x-bmp" = [imageViewer];
"image/x-pcx" = [imageViewer];