update system

This commit is contained in:
2026-02-16 14:57:54 +01:00
parent 1a1211a8fa
commit 0503faaf3b
10 changed files with 152 additions and 149 deletions

View File

@@ -21,9 +21,13 @@ in
bind = [
"SUPER_SHIFT,V,exec,XDG_CURRENT_DESKTOP=sway uwsm app -- flameshot gui --clipboard"
];
windowrulev2 = [
"float,class:^(flameshot)$"
"animation fade,class:^(flameshot)$"
windowrule = [
{
name = "Flameshot";
"match:class" = "^(flameshot)$";
animation = "fade";
float = true;
}
];
};
};

View File

@@ -16,11 +16,15 @@ in
config = lib.mkIf cfg.enable {
home-manager.users.${username} = {
wayland.windowManager.hyprland.settings.windowrulev2 = [
"dimaround,class:^(gcr-prompter)$"
"noborder,class:^(gcr-prompter)$"
"rounding 10,class:^(gcr-prompter)$"
"animation slide,class:^(gcr-prompter)$"
wayland.windowManager.hyprland.settings.windowrule = [
{
name = "Gnome Keyring";
"match:class" = "^(gcr-prompter)$";
border_size = 0;
rounding = 10;
animation = "slide";
dim_around = true;
}
];
home.packages = with pkgs; [
polkit_gnome

View File

@@ -8,7 +8,6 @@
let
cfg = config.shell.components.walker;
hmConfig = config.home-manager.users.${username};
in
{
options.shell.components.walker = {
@@ -29,27 +28,14 @@ in
};
programs.niri.settings.binds."Mod+Space".action.spawn = [ (lib.getExe pkgs.walker) ];
home.packages = with pkgs; [
walker
wl-clipboard
];
xdg.configFile."walker/config.toml".source = (pkgs.formats.toml { }).generate "walker-config.toml" {
app_launch_prefix = "uwsm app -- ";
close_when_open = true;
force_keyboard_focus = true;
};
systemd.user.services.walker = {
Unit = {
Description = "Walker - Application Runner";
X-Restart-Triggers = [
"${hmConfig.xdg.configFile."walker/config.toml".source}"
];
After = [ "graphical-session.target" ];
};
Install.WantedBy = [ "graphical-session.target" ];
Service = {
ExecStart = "${lib.getExe pkgs.walker} --gapplication-service";
Restart = "always";
programs.walker = {
enable = true;
runAsService = true;
config = {
close_when_open = true;
force_keyboard_focus = true;
};
};
};