diff --git a/hosts/canopus/home.nix b/hosts/canopus/home.nix index 236abb3..cba9fb1 100644 --- a/hosts/canopus/home.nix +++ b/hosts/canopus/home.nix @@ -2,6 +2,7 @@ imports = [ ../../modules/home/desktop/awesome ../../modules/home/desktop/hyprland + ../../modules/home/desktop/vicinae ../../modules/home/picom ../../modules/home/alacritty ../../modules/home/wezterm @@ -119,6 +120,7 @@ ".local/share/TelegramDesktop" ".local/state/lazygit" ".local/share/steam" + ".local/share/vicinae" ]; files = [ ".wakatime.cfg" diff --git a/modules/home/desktop/hyprland/default.nix b/modules/home/desktop/hyprland/default.nix index f0b3f18..1ec2958 100644 --- a/modules/home/desktop/hyprland/default.nix +++ b/modules/home/desktop/hyprland/default.nix @@ -160,7 +160,6 @@ #-- Window Rules # See https://wiki.hyprland.org/Configuring/Window-Rules 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" # Wezterm and Ghostty floating terminal @@ -204,13 +203,14 @@ "SUPER, D, exec, discord" "SUPER, T, exec, Telegram" "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, S, exec, flameshot gui" # tpanel "SUPER, A, exec, ags toggle launcher" + "SUPER, Space, exec, vicinae toggle" "SUPER_SHIFT, B, exec, ags toggle bar" "SUPER_SHIFT, C, exec, ags toggle control-center" "SUPER_SHIFT, W, exec, ags toggle wallpaper-manager" @@ -301,7 +301,6 @@ "hyprpaper" "${pkgs.tpanel}/bin/tpanel" - "copyq" "kdeconnectd" "kdeconnect-indicator" ]; diff --git a/modules/home/desktop/vicinae/default.nix b/modules/home/desktop/vicinae/default.nix new file mode 100644 index 0000000..bb13b7c --- /dev/null +++ b/modules/home/desktop/vicinae/default.nix @@ -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; + }; + }; + }; +}