working hyprland

This commit is contained in:
vali 2024-05-05 14:01:33 +02:00
commit e6cd363571
9 changed files with 514 additions and 20 deletions

38
modules/gui/anyrun.nix Normal file
View file

@ -0,0 +1,38 @@
{ config, pkgs, lib, inputs, ... }:
with lib;
let
username = config.modules.other.system.username;
cfg = config.modules.programs.anyrun;
in {
options.modules.programs.anyrun.enable = mkEnableOption "anyrun";
config = mkIf cfg.enable {
home-manager.users.${username} = {
imports = [ inputs.anyrun.homeManagerModules.default ];
programs.anyrun = {
enable = true;
config = {
plugins = with inputs.anyrun.packages.${pkgs.system}; [
applications
dictionary
kidex
rink
symbols
translate
];
hideIcons = false;
ignoreExclusiveZones = false;
layer = "overlay";
hidePluginInfo = false;
closeOnClick = true;
showResultsImmediately = true;
maxEntries = 50;
width.fraction = 0.3;
y.absolute = 15;
};
};
};
};
}

View file

@ -7,6 +7,7 @@ _: {
./qt.nix
./zathura.nix
./stylix.nix
./anyrun.nix
./rofi.nix
./kitty.nix
./vivado.nix

View file

@ -23,6 +23,7 @@ in {
vim.enable = true;
zathura.enable = true;
gtk.enable = true;
hyprland.enable = true;
};
opacity = {
@ -54,6 +55,7 @@ in {
};
};
stylix = {
polarity = "dark";
image = ../../hosts/vali/mars/2024-04-21-14-50.png;
cursor = {
package = pkgs.bibata-cursors;