feat: add vicinae

This commit is contained in:
tux
2026-02-04 05:46:19 +05:30
parent 759874689f
commit 705b6c8cf9
3 changed files with 41 additions and 3 deletions

View File

@@ -2,6 +2,7 @@
imports = [ imports = [
../../modules/home/desktop/awesome ../../modules/home/desktop/awesome
../../modules/home/desktop/hyprland ../../modules/home/desktop/hyprland
../../modules/home/desktop/vicinae
../../modules/home/picom ../../modules/home/picom
../../modules/home/alacritty ../../modules/home/alacritty
../../modules/home/wezterm ../../modules/home/wezterm
@@ -119,6 +120,7 @@
".local/share/TelegramDesktop" ".local/share/TelegramDesktop"
".local/state/lazygit" ".local/state/lazygit"
".local/share/steam" ".local/share/steam"
".local/share/vicinae"
]; ];
files = [ files = [
".wakatime.cfg" ".wakatime.cfg"

View File

@@ -160,7 +160,6 @@
#-- Window Rules #-- Window Rules
# See https://wiki.hyprland.org/Configuring/Window-Rules # See https://wiki.hyprland.org/Configuring/Window-Rules
windowrule = [ windowrule = [
"float on, center on, size 900 700, match:class com.github.hluk.copyq"
"float on, center on, size 800 600, match:class org.pulseaudio.pavucontrol" "float on, center on, size 800 600, match:class org.pulseaudio.pavucontrol"
# Wezterm and Ghostty floating terminal # Wezterm and Ghostty floating terminal
@@ -204,13 +203,14 @@
"SUPER, D, exec, discord" "SUPER, D, exec, discord"
"SUPER, T, exec, Telegram" "SUPER, T, exec, Telegram"
"SUPER, S, exec, ${spotify}" "SUPER, S, exec, ${spotify}"
"SUPER, V, exec, copyq show" "SUPER, V, exec, vicinae vicinae://extensions/vicinae/clipboard/history"
"SUPER_SHIFT, Return, exec, ${floating_terminal}" "SUPER_SHIFT, Return, exec, ${floating_terminal}"
"SUPER_SHIFT, S, exec, flameshot gui" "SUPER_SHIFT, S, exec, flameshot gui"
# tpanel # tpanel
"SUPER, A, exec, ags toggle launcher" "SUPER, A, exec, ags toggle launcher"
"SUPER, Space, exec, vicinae toggle"
"SUPER_SHIFT, B, exec, ags toggle bar" "SUPER_SHIFT, B, exec, ags toggle bar"
"SUPER_SHIFT, C, exec, ags toggle control-center" "SUPER_SHIFT, C, exec, ags toggle control-center"
"SUPER_SHIFT, W, exec, ags toggle wallpaper-manager" "SUPER_SHIFT, W, exec, ags toggle wallpaper-manager"
@@ -301,7 +301,6 @@
"hyprpaper" "hyprpaper"
"${pkgs.tpanel}/bin/tpanel" "${pkgs.tpanel}/bin/tpanel"
"copyq"
"kdeconnectd" "kdeconnectd"
"kdeconnect-indicator" "kdeconnect-indicator"
]; ];

View File

@@ -0,0 +1,37 @@
{...}: {
programs.vicinae = {
enable = true;
systemd = {
enable = true;
autoStart = true;
};
useLayerShell = true;
settings = {
close_on_focus_loss = true;
consider_preedit = true;
pop_to_root_on_close = true;
favicon_service = "twenty";
search_files_in_root = true;
font = {
normal = {
size = 10;
family = "JetBrainsMono Nerd Font";
};
};
theme = {
light = {
name = "vicinae-light";
icon_theme = "default";
};
dark = {
name = "vicinae-dark";
icon_theme = "default";
};
};
launcher_window = {
opacity = 0.98;
};
};
};
}