feat(vicinae): added configuration

This commit is contained in:
kenji
2026-01-02 07:57:28 -06:00
parent 6b3662c07c
commit 18e67e1c4c
7 changed files with 32 additions and 4 deletions
+1
View File
@@ -11,6 +11,7 @@
./hypr/animation.nix ./hypr/animation.nix
./hypr/misc.nix ./hypr/misc.nix
./hypr/input.nix ./hypr/input.nix
./hypr/layers.nix
./scripts/movement.nix ./scripts/movement.nix
]; ];
+2 -1
View File
@@ -29,6 +29,7 @@
# essential # essential
"SUPER, Return, Open Terminal, exec, uwsm app -- xdg-terminal-exec" "SUPER, Return, Open Terminal, exec, uwsm app -- xdg-terminal-exec"
"SUPER, Q, Kill active, killactive" "SUPER, Q, Kill active, killactive"
"SUPER, SPACE, Open Vicinae, exec, vicinae toggle"
# resize # resize
"SUPER CTRL, H, Resize Left, resizeactive, -40 0" "SUPER CTRL, H, Resize Left, resizeactive, -40 0"
@@ -57,7 +58,7 @@
# apps # apps
"SUPER, W, Open Browser, exec, uwsm app -- firefox" # FIXME: must be xdg-open "SUPER, W, Open Browser, exec, uwsm app -- firefox" # FIXME: must be xdg-open
"SUPER, SPACE, Open App Launcher, exec, nc -U $XDG_RUNTIME_DIR/walker/walker.sock" # "SUPER, SPACE, Open App Launcher, exec, nc -U $XDG_RUNTIME_DIR/walker/walker.sock"
"SUPER, T, Toggle Steam, togglespecialworkspace, steam" "SUPER, T, Toggle Steam, togglespecialworkspace, steam"
"SUPER, M, Toggle Music, togglespecialworkspace, music" "SUPER, M, Toggle Music, togglespecialworkspace, music"
"SUPER, Y, Toggle YouTube, togglespecialworkspace, youtube" "SUPER, Y, Toggle YouTube, togglespecialworkspace, youtube"
+2 -2
View File
@@ -9,6 +9,7 @@
]; ];
exec-once = [ exec-once = [
"hyprpm reload -n" "hyprpm reload -n"
"vicinae server"
"fcitx5 -d --replace" "fcitx5 -d --replace"
"[workspace special:preload silent] uwsm app -- firefox" "[workspace special:preload silent] uwsm app -- firefox"
"[workspace special:preload silent] uwsm app -- firefox -P YouTube" "[workspace special:preload silent] uwsm app -- firefox -P YouTube"
@@ -19,12 +20,11 @@
"uwsm app -- elephant" "uwsm app -- elephant"
"uwsm app -- swayosd-server" "uwsm app -- swayosd-server"
"uwsm app -- pywalfox start" "uwsm app -- pywalfox start"
"uwsm app -- pywalfox start"
"uwsm app -- hypridle" "uwsm app -- hypridle"
"walker --gapplication-service" "walker --gapplication-service"
"sh -c 'sleep 2.5; hakase-workspace-switch-force 1'" "sh -c 'sleep 3; hakase-workspace-switch-force 1'"
"[workspace 1] uwsm app -- ghostty -e bash -c 'fastfetch; exec $SHELL'" "[workspace 1] uwsm app -- ghostty -e bash -c 'fastfetch; exec $SHELL'"
"[workspace special:steam silent] uwsm app -- steam" "[workspace special:steam silent] uwsm app -- steam"
+12
View File
@@ -0,0 +1,12 @@
{pkgs, ...}: {
wayland.windowManager.hyprland.settings = {
layerrule = [
# Blur and transparency for vicinae
"blur, vicinae"
"ignorealpha 0, vicinae"
# Disable animation for vicinae
"noanim, vicinae"
];
};
}
+12
View File
@@ -0,0 +1,12 @@
{pkgs, ...}: {
services.vicinae = {
enable = true;
systemd = {
enable = true;
autoStart = true;
environment = {
USE_LAYER_SHELL = 1;
};
};
};
}
+1 -1
View File
@@ -49,7 +49,7 @@
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
inputs.elephant.follows = "elephant"; inputs.elephant.follows = "elephant";
}; };
vicinae.url = { vicinae = {
url = "github:vicinaehq/vicinae"; url = "github:vicinaehq/vicinae";
inputs.nixpkgs.follows = "nixpkgs"; inputs.nixpkgs.follows = "nixpkgs";
}; };
+2
View File
@@ -1,4 +1,6 @@
{pkgs, ...}: { {pkgs, ...}: {
extra-substituters = ["https://vicinae.cachix.org"];
extra-trusted-public-keys = ["vicinae.cachix.org-1:1kDrfienkGHPYbkpNj1mWTr7Fm1+zcenzgTizIcI3oc="];
nix.settings = { nix.settings = {
substituters = [ substituters = [
"https://cache.nixos.org" "https://cache.nixos.org"