mirror of
https://github.com/Theaninova/TheaninovOS.git
synced 2026-04-22 12:39:02 +00:00
update system
This commit is contained in:
@@ -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;
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user