nixos-configs/modules/desktop/environment/home/hyprexpo.nix

41 lines
1.1 KiB
Nix
Raw Normal View History

self: {pkgs, ...}: let
inherit (self.lib.hypr) mkBind;
in {
config = {
wayland.windowManager.hyprland = {
# FIXME: https://pr-tracker.nelim.org/?pr=365776
chore: update sources Flake Inputs: • Updated input 'caddy-plugins': 'github:matt1432/nixos-caddy-cloudflare' (2024-08-03) rev: 7b8472315cd0db91093173dd52d7a346c15353a0 → 'github:matt1432/nixos-caddy-cloudflare' (2024-12-17) rev: b6cecba0d5b3c6eded63751f202fb4877db3f776 • Updated input 'custom-sidebar-src': 'github:elchininet/custom-sidebar' (2024-12-12) rev: 1ea81c3b2f553847b8b01d1a7ec397e64e4340ca → 'github:elchininet/custom-sidebar' (2024-12-16) rev: 9c7b557ec9595748e6bb98cad469ba3567df1026 • Updated input 'discord-overlay': 'github:matt1432/discord-nightly-overlay' (2024-12-13) rev: f80d3bdb5db114e2a5ee5d49ba813756fc150c54 → 'github:matt1432/discord-nightly-overlay' (2024-12-17) rev: 0e4b7e02015ca477d6da4945b34fa002c19e3c6c • Updated input 'home-manager': 'github:nix-community/home-manager' (2024-12-13) rev: 66c5d8b62818ec4c1edb3e941f55ef78df8141a8 → 'github:nix-community/home-manager' (2024-12-16) rev: 83ecd50915a09dca928971139d3a102377a8d242 • Updated input 'hyprgrass': 'github:horriblename/hyprgrass' (2024-12-13) rev: dc19ccb209147312a4f60d76193b995c2634e756 → 'github:horriblename/hyprgrass' (2024-12-17) rev: 9df724651ea92fc0c90ec55e0ef66048c9f76b57 • Updated input 'hyprland': 'github:hyprwm/Hyprland' (2024-12-13) rev: 61a51bb4ef5ff38a8482933da1756bf31d4475be → 'github:hyprwm/Hyprland' (2024-12-17) rev: 5f1df55fcb45a72e92258113685aa9064f6ebf3e • Updated input 'hyprland/aquamarine': 'github:hyprwm/aquamarine' (2024-11-18) rev: 4468981c1c50999f315baa1508f0e53c4ee70c52 → 'github:hyprwm/aquamarine' (2024-12-17) rev: a132fa41be7ebe797ad758e84d9df068151a723b • Updated input 'hyprland/hyprcursor': 'github:hyprwm/hyprcursor' (2024-10-11) rev: 0264e698149fcb857a66a53018157b41f8d97bb0 → 'github:hyprwm/hyprcursor' (2024-12-16) rev: f388aacd22be4a6e4d634fbaf6f75eb0713d239a • Updated input 'hyprland/hyprgraphics': 'github:hyprwm/hyprgraphics' (2024-12-03) rev: cc95e5babc6065bc3ab4cd195429a9900836ef13 → 'github:hyprwm/hyprgraphics' (2024-12-08) rev: fb2c0268645a77403af3b8a4ce8fa7ba5917f15d • Updated input 'hyprland/hyprland-qtutils': 'github:hyprwm/hyprland-qtutils' (2024-12-06) rev: 969427419276c7ee170301ef1ebe0f68eb6eb2e2 → 'github:hyprwm/hyprland-qtutils' (2024-12-11) rev: 3833097e50473a152dd614d4b468886840b4ea78 • Updated input 'hyprland/hyprlang': 'github:hyprwm/hyprlang' (2024-10-05) rev: f054f2e44d6a0b74607a6bc0f52dba337a3db38e → 'github:hyprwm/hyprlang' (2024-12-16) rev: 16e59c1eb13d9fb6de066f54e7555eb5e8a4aba5 • Updated input 'hyprland/hyprwayland-scanner': 'github:hyprwm/hyprwayland-scanner' (2024-09-20) rev: 500c81a9e1a76760371049a8d99e008ea77aa59e → 'github:hyprwm/hyprwayland-scanner' (2024-12-16) rev: 90e87f7fcfcce4862826d60332cbc5e2f87e1f88 • Updated input 'hyprland/pre-commit-hooks': 'github:cachix/git-hooks.nix' (2024-12-04) rev: 6f4e2a2112050951a314d2733a994fbab94864c6 → 'github:cachix/git-hooks.nix' (2024-12-16) rev: 0bb4be58f21ff38fc3cdbd6c778eb67db97f0b99 • Updated input 'hyprland/xdph': 'github:hyprwm/xdg-desktop-portal-hyprland' (2024-12-02) rev: fd85ef39369f95eed67fdf3f025e86916edeea2f → 'github:hyprwm/xdg-desktop-portal-hyprland' (2024-12-17) rev: 3e884d941ca819c1f2e50df8bdae0debded1ed87 • Updated input 'hyprland-plugins': 'github:hyprwm/hyprland-plugins' (2024-12-04) rev: 2530394e67b436f4aea8225111cf37c1403ccb78 → 'github:hyprwm/hyprland-plugins' (2024-12-17) rev: 179fab73cd399982f5d37389fb307497eb65be45 • Updated input 'hyprpaper': 'github:hyprwm/hyprpaper' (2024-11-28) rev: a3ceb20095c1fae9acb10c37713caf2df28f3ec9 → 'github:hyprwm/hyprpaper' (2024-12-15) rev: eb9db3b815b09e8dcc5ae92b1bd03f9c8e63eeea • Updated input 'hyprpaper/hyprgraphics': 'github:hyprwm/hyprgraphics' (2024-11-28) rev: 4d927a52be7e15e0846456f2aa1b0ad76b5bf059 → 'github:hyprwm/hyprgraphics' (2024-12-08) rev: fb2c0268645a77403af3b8a4ce8fa7ba5917f15d • Updated input 'hyprutils': 'github:hyprwm/hyprutils' (2024-12-06) rev: 104117aed6dd68561be38b50f218190aa47f2cd8 → 'github:hyprwm/hyprutils' (2024-12-16) rev: e6cf45cd1845368702e03b8912f4cc44ebba3322 • Updated input 'jellyfin-flake': 'github:matt1432/nixos-jellyfin' (2024-11-27) rev: 28c58c6ae0edf39df3eb402e826ae7d6d6cfa6d9 → 'github:matt1432/nixos-jellyfin' (2024-12-15) rev: ea908887a515b904117de1216da9e6457f35e210 • Updated input 'jovian': 'github:Jovian-Experiments/Jovian-NixOS' (2024-12-12) rev: 71a588300c2902ca668f505be9f2fc4b4abf4c7e → 'github:Jovian-Experiments/Jovian-NixOS' (2024-12-14) rev: 31bdf4c7c91204d65afbde01146deee0259a8fb7 • Updated input 'nix-gaming': 'github:fufexan/nix-gaming' (2024-12-12) rev: 43b9832ae7407054aa411d485e701b4a207ce6d3 → 'github:fufexan/nix-gaming' (2024-12-18) rev: 3a37d41cbe8cda558c5d1a83e73fd452207cd914 • Updated input 'nix-index-db': 'github:Mic92/nix-index-database' (2024-12-08) rev: f1e477a7dd11e27e7f98b646349cd66bbabf2fb8 → 'github:Mic92/nix-index-database' (2024-12-15) rev: 311d6cf3ad3f56cb051ffab1f480b2909b3f754d • Updated input 'nixpkgs': 'github:NixOS/nixpkgs' (2024-12-11) rev: 5d67ea6b4b63378b9c13be21e2ec9d1afc921713 → 'github:NixOS/nixpkgs' (2024-12-13) rev: 3566ab7246670a43abd2ffa913cc62dad9cdf7d5 • Updated input 'nixpkgs-wayland': 'github:nix-community/nixpkgs-wayland' (2024-12-13) rev: 496de7758455678c1014925a12acc1e442c1912a → 'github:nix-community/nixpkgs-wayland' (2024-12-17) rev: 31b60284243f8b077894371f1ab3753dc26653c7 • Updated input 'pcsd': 'github:matt1432/nixos-pcsd' (2024-12-13) rev: 2632c3a670f73fada8e0830c3f6152524a17b323 → 'github:matt1432/nixos-pcsd' (2024-12-18) rev: e306b77b44c461b1b66c5f17f6f52859b5d3374e • Updated input 'spotifyplus-src': 'github:thlucas1/homeassistantcomponent_spotifyplus' (2024-12-12) rev: dd319cc6ce10863d695692ecffd48441d08e00b9 → 'github:thlucas1/homeassistantcomponent_spotifyplus' (2024-12-17) rev: 233e2f48ee78aaeb53553fcde9e635e5b8df4c3d • Updated input 'tuya-local-src': 'github:make-all/tuya-local' (2024-12-13) rev: e6a7dd1cb485bbdda0bac82b89bac7f418f73704 → 'github:make-all/tuya-local' (2024-12-17) rev: 5f1e17a065b6f7cddadd9244348dbaf004b12e5b Docker Images: • ghcr.io/linuxserver/bazarr latest: sha256:954b303893a33b84075857534ad863dc349b8a9e7e838f134e037558ea84823f → sha256:a602332403fcac11717c37ba14fb1852eb0b752d95db67915914fc9dd9e653a8 • ghcr.io/linuxserver/prowlarr latest: sha256:6b4ce037964e4bf50d341bc9b3aa800238d46ff7de4d7ecc029280c4bb5b2e68 → sha256:e64cb6fe480d68615cbec57b9c717fafb321676f360575b332990fc6251a386c • ghcr.io/linuxserver/radarr latest: sha256:18d7873c8b773c10944c475fe96ca8ae79186512d3c6f403bcbd4409c9c4acfc → sha256:ee4c2213b769bc9a891b5dd5aa1786804634fb681dd261b3bed6b65d98592c55 Firefox Addons: darkreader: 4.9.97 -> 4.9.99 sponsorblock: 5.10.1 -> 5.10.3 Node modules: @eslint/js: 9.16.0 -> 9.17.0 eslint: 9.16.0 -> 9.17.0 jiti: 2.4.1 -> 2.4.2 typescript-eslint: 8.18.0 -> 8.18.1
2024-12-17 22:55:40 -05:00
plugins = [
(self.inputs.hyprland-plugins.packages.${pkgs.system}.hyprexpo.override {
hyprlandPlugins = pkgs.hyprlandPlugins;
})
];
settings = {
plugin.hyprexpo = {
columns = 3;
gap_size = 5;
bg_col = "rgb(111111)";
workspace_method = "center current"; # [center/first] [workspace] e.g. first 1 or center m+1
enable_gesture = true; # laptop touchpad
gesture_fingers = 3;
gesture_distance = 300; # how far is the "max"
gesture_positive = true; # positive = swipe down. Negative = swipe up.
};
bind = [
(mkBind {
modifier = "ALT";
key = "tab";
dispatcher = "hyprexpo:expo";
command = "toggle"; # can be: toggle, off/disable or on/enable
})
];
};
};
};
# For accurate stack trace
_file = ./hyprexpo.nix;
}