diff --git a/flake.lock b/flake.lock index 094a3ea..0594d2b 100644 --- a/flake.lock +++ b/flake.lock @@ -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": { diff --git a/home/programs/graphical/bars/eww/config/scripts/window_name.py b/home/programs/graphical/bars/eww/config/scripts/window_name.py index be87b65..7f4a069 100755 --- a/home/programs/graphical/bars/eww/config/scripts/window_name.py +++ b/home/programs/graphical/bars/eww/config/scripts/window_name.py @@ -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] + "..." diff --git a/home/programs/graphical/browsers/firefox/default.nix b/home/programs/graphical/browsers/firefox/default.nix index c3af4cb..b44db0e 100644 --- a/home/programs/graphical/browsers/firefox/default.nix +++ b/home/programs/graphical/browsers/firefox/default.nix @@ -13,5 +13,9 @@ in { enable = true; # TODO: Finish this }; + + home.packages = with pkgs; [ + vdhcoapp # video download helper plugin companion app + ]; }; } diff --git a/home/programs/terminal/shell/zsh/rc/completion.zsh b/home/programs/terminal/shell/zsh/rc/completion.zsh index d379bd6..25b9771 100644 --- a/home/programs/terminal/shell/zsh/rc/completion.zsh +++ b/home/programs/terminal/shell/zsh/rc/completion.zsh @@ -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 diff --git a/home/programs/xdg/mime-apps.nix b/home/programs/xdg/mime-apps.nix index 47ca574..4789a67 100644 --- a/home/programs/xdg/mime-apps.nix +++ b/home/programs/xdg/mime-apps.nix @@ -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];