Added waycast

This commit is contained in:
Javier Feliz 2025-09-08 23:04:17 -04:00
parent da62178c02
commit e0fd7bc356
8 changed files with 145 additions and 3 deletions

108
flake.lock generated
View File

@ -247,6 +247,24 @@
"inputs": { "inputs": {
"systems": "systems_3" "systems": "systems_3"
}, },
"locked": {
"lastModified": 1731533236,
"narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "11707dc2f618dd54ca8739b309ec4fc024de578b",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_2": {
"inputs": {
"systems": "systems_4"
},
"locked": { "locked": {
"lastModified": 1705309234, "lastModified": 1705309234,
"narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=",
@ -403,6 +421,24 @@
"type": "github" "type": "github"
} }
}, },
"home-manager_2": {
"inputs": {
"nixpkgs": "nixpkgs_5"
},
"locked": {
"lastModified": 1757256385,
"narHash": "sha256-WK7tOhWwr15mipcckhDg2no/eSpM1nIh4C9le8HgHhk=",
"owner": "nix-community",
"repo": "home-manager",
"rev": "f35703b412c67b48e97beb6e27a6ab96a084cd37",
"type": "github"
},
"original": {
"owner": "nix-community",
"repo": "home-manager",
"type": "github"
}
},
"hyprcursor": { "hyprcursor": {
"inputs": { "inputs": {
"hyprlang": [ "hyprlang": [
@ -797,6 +833,38 @@
} }
}, },
"nixpkgs_5": { "nixpkgs_5": {
"locked": {
"lastModified": 1757068644,
"narHash": "sha256-NOrUtIhTkIIumj1E/Rsv1J37Yi3xGStISEo8tZm3KW4=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "8eb28adfa3dc4de28e792e3bf49fcf9007ca8ac9",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_6": {
"locked": {
"lastModified": 1756787288,
"narHash": "sha256-rw/PHa1cqiePdBxhF66V7R+WAP8WekQ0mCDG4CFqT8Y=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "d0fc30899600b9b3466ddb260fd83deb486c32f1",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"nixpkgs_7": {
"locked": { "locked": {
"lastModified": 1708161998, "lastModified": 1708161998,
"narHash": "sha256-6KnemmUorCvlcAvGziFosAVkrlWZGIc6UNT9GUYr0jQ=", "narHash": "sha256-6KnemmUorCvlcAvGziFosAVkrlWZGIc6UNT9GUYr0jQ=",
@ -869,6 +937,7 @@
"neovim-nightly-overlay": "neovim-nightly-overlay", "neovim-nightly-overlay": "neovim-nightly-overlay",
"nixpkgs": "nixpkgs_4", "nixpkgs": "nixpkgs_4",
"stylix": "stylix", "stylix": "stylix",
"waycast": "waycast",
"zig": "zig" "zig": "zig"
} }
}, },
@ -951,6 +1020,21 @@
"type": "github" "type": "github"
} }
}, },
"systems_4": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
},
"tinted-foot": { "tinted-foot": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -1053,6 +1137,26 @@
"type": "github" "type": "github"
} }
}, },
"waycast": {
"inputs": {
"flake-utils": "flake-utils",
"home-manager": "home-manager_2",
"nixpkgs": "nixpkgs_6"
},
"locked": {
"lastModified": 1757292265,
"narHash": "sha256-QLgPSIaaSdK3RpCmTimh+xcroV7dQjggns0+KPXNcFg=",
"ref": "refs/heads/master",
"rev": "a24962007b607d7b38ebe3c3624f4bcbbbb7fa2e",
"revCount": 68,
"type": "git",
"url": "https://gitgud.foo/thegrind/waycast"
},
"original": {
"type": "git",
"url": "https://gitgud.foo/thegrind/waycast"
}
},
"xdph": { "xdph": {
"inputs": { "inputs": {
"hyprland-protocols": [ "hyprland-protocols": [
@ -1097,8 +1201,8 @@
"zig": { "zig": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_4", "flake-compat": "flake-compat_4",
"flake-utils": "flake-utils", "flake-utils": "flake-utils_2",
"nixpkgs": "nixpkgs_5" "nixpkgs": "nixpkgs_7"
}, },
"locked": { "locked": {
"lastModified": 1755864794, "lastModified": 1755864794,

View File

@ -8,6 +8,7 @@
}; };
hyprshell.url = "git+https://gitgud.foo/thegrind/hypr-shell.git"; hyprshell.url = "git+https://gitgud.foo/thegrind/hypr-shell.git";
hyprland.url = "github:hyprwm/Hyprland"; hyprland.url = "github:hyprwm/Hyprland";
waycast.url = "git+https://gitgud.foo/thegrind/waycast";
# hyprland-plugins = { # hyprland-plugins = {
# url = "github:hyprwm/hyprland-plugins"; # url = "github:hyprwm/hyprland-plugins";
# inputs.hyprland.follows = "hyprland"; # inputs.hyprland.follows = "hyprland";
@ -40,6 +41,7 @@
overlays = [ overlays = [
inputs.neovim-nightly-overlay.overlays.default inputs.neovim-nightly-overlay.overlays.default
inputs.zig.overlays.default inputs.zig.overlays.default
inputs.waycast.overlays.default
]; ];
# Helper function to create a host configuration # Helper function to create a host configuration

View File

@ -45,6 +45,8 @@
ms-python.debugpy ms-python.debugpy
ms-python.python ms-python.python
ms-python.vscode-pylance ms-python.vscode-pylance
# Rust
rust-lang.rust-analyzer
# Zig # Zig
# ziglang.vscode-zig # ziglang.vscode-zig
# C++ # C++
@ -225,6 +227,13 @@
"workbench.editor.pinnedTabsOnSeparateRow" = true; "workbench.editor.pinnedTabsOnSeparateRow" = true;
"C_Cpp.default.compileCommands" = "\${workspaceFolder}/build/compile_commands.json"; "C_Cpp.default.compileCommands" = "\${workspaceFolder}/build/compile_commands.json";
"C_Cpp.default.configurationProvider" = "ms-vscode.cmake-tools"; "C_Cpp.default.configurationProvider" = "ms-vscode.cmake-tools";
# Rust Analyzer
"rust-analyzer.inlayHints.chainingHints.enable" = false;
"rust-analyzer.inlayHints.closingBraceHints.enable" = false;
"rust-analyzer.inlayHints.parameterHints.enable" = false;
"rust-analyzer.inlayHints.typeHints.enable" = false;
"rust-analyzer.inlayHints.closureStyle" = "hide";
# Antlers (Statamic)
"antlersLanguageServer.languageVersion" = "runtime"; "antlersLanguageServer.languageVersion" = "runtime";
"[antlers]" = { "[antlers]" = {
"editor.defaultFormatter" = "html"; "editor.defaultFormatter" = "html";

View File

@ -70,6 +70,10 @@
nodejs_22 nodejs_22
bun bun
zls # Zig language server zls # Zig language server
rustup
gcc
pkg-config
python3
]; ];
sessionVariables = { sessionVariables = {

View File

@ -23,7 +23,7 @@
]; ];
bind = [ bind = [
# "$mod, a, hyprexpo:expo, toggle" "$mod, a, hyprexpo:expo, toggle"
# Start programs # Start programs
"$mod, q, exec, $terminal" "$mod, q, exec, $terminal"
"$mod SHIFT, o, exec, $browser" "$mod SHIFT, o, exec, $browser"

View File

@ -14,6 +14,7 @@
./wofi.nix ./wofi.nix
./desktop-env.nix ./desktop-env.nix
./screenshots.nix ./screenshots.nix
./waycast.nix
]; ];
home = { home = {

View File

@ -0,0 +1,21 @@
{
pkgs,
config,
inputs,
...
}:
{
imports = [ inputs.waycast.homeManagerModules.default ];
programs.waycast = {
enable = true;
settings = {
plugins.projects = {
open_command = "code -n {path}";
search_paths = [
"/home/javi/projects"
];
};
};
};
}

View File

@ -8,6 +8,7 @@ let
"container-data" "container-data"
"javi" "javi"
"xrandr" "xrandr"
"media"
]; ];
configureShare = share: { configureShare = share: {