upd
This commit is contained in:
@ -361,13 +361,24 @@ in {
|
||||
# "10, defaultName:"
|
||||
];
|
||||
windowrulev2 = [
|
||||
# tray/misc utilities
|
||||
"float, initialTitle:MainPicker" # why is it not floating by default
|
||||
## tray/misc utilities
|
||||
# file picker
|
||||
"float, class:xdg-desktop-portal-gtk"
|
||||
"size <50% <90%, class:xdg-desktop-portal-gtk"
|
||||
"center 1, class:xdg-desktop-portal-gtk"
|
||||
# xdp-hyprland stream picker
|
||||
"float, initialTitle:MainPicker"
|
||||
# general apps
|
||||
"float, class:(com.saivert.pwvucontrol)"
|
||||
"float, class:(re.sonny.Junction)"
|
||||
"float, class:(com.github.hluk.copyq)"
|
||||
"float, class:(nm-connection-editor)"
|
||||
"float, class:(.blueman-manager-wrapped)"
|
||||
# telegram
|
||||
"maximize, initialTitle:Медіапереглядач"
|
||||
"float, title:TelegramDesktop"
|
||||
"noborder, title:TelegramDesktop"
|
||||
"noblur, title:TelegramDesktop"
|
||||
# screenshot editor
|
||||
"noanim, class:com.gabm.satty"
|
||||
"float, class:com.gabm.satty"
|
||||
@ -378,8 +389,6 @@ in {
|
||||
## games
|
||||
"float, class:(com.mojang.minecraft.java-edition)"
|
||||
"immediate, class:(com.mojang.minecraft.java-edition)"
|
||||
# apex legends
|
||||
# "immediate, class:(steam_app_1172470)"
|
||||
# cs2
|
||||
"immediate, class:(cs2)"
|
||||
# deadlock
|
||||
@ -416,41 +425,38 @@ in {
|
||||
submap = reset
|
||||
'';
|
||||
};
|
||||
services.hyprpaper = {
|
||||
enable = true;
|
||||
};
|
||||
services.hypridle = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
before_sleep_cmd = "loginctl lock-session";
|
||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||
lock_cmd = "pidof hyprlock || hyprlock";
|
||||
# unlock_cmd = "loginctl unlock-session";
|
||||
};
|
||||
listener = [
|
||||
{
|
||||
timeout = 600;
|
||||
on-timeout = "pidof hyprlock || hyprlock";
|
||||
}
|
||||
{
|
||||
timeout = 601;
|
||||
on-timeout = "hyprctl dispatch dpms off";
|
||||
on-resume = "hyprctl dispatch dpms on";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
|
||||
services.gnome-keyring = {
|
||||
enable = true;
|
||||
components = ["secrets" "ssh"];
|
||||
};
|
||||
services = {
|
||||
hyprpaper.enable = true;
|
||||
hypridle = {
|
||||
enable = true;
|
||||
settings = {
|
||||
general = {
|
||||
before_sleep_cmd = "loginctl lock-session";
|
||||
after_sleep_cmd = "hyprctl dispatch dpms on";
|
||||
lock_cmd = "pidof hyprlock || hyprlock";
|
||||
# unlock_cmd = "loginctl unlock-session";
|
||||
};
|
||||
listener = [
|
||||
{
|
||||
timeout = 600;
|
||||
on-timeout = "pidof hyprlock || hyprlock";
|
||||
}
|
||||
{
|
||||
timeout = 601;
|
||||
on-timeout = "hyprctl dispatch dpms off";
|
||||
on-resume = "hyprctl dispatch dpms on";
|
||||
}
|
||||
];
|
||||
};
|
||||
};
|
||||
network-manager-applet.enable = true;
|
||||
blueman-applet.enable = true;
|
||||
playerctld.enable = true;
|
||||
copyq.enable = true;
|
||||
gnome-keyring = {
|
||||
enable = true;
|
||||
components = ["secrets" "ssh"];
|
||||
};
|
||||
};
|
||||
gtk = {
|
||||
enable = true;
|
||||
@ -523,9 +529,6 @@ in {
|
||||
system = "";
|
||||
media = "";
|
||||
tray = "";
|
||||
#focused = "";
|
||||
#active = "";
|
||||
#default = "";
|
||||
};
|
||||
};
|
||||
"hyprland/language" = {
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
pkgs,
|
||||
pkgs-51b85c,
|
||||
# pkgs-51b85c,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
|
@ -28,8 +28,8 @@ in {
|
||||
languages = {
|
||||
"Nix" = {
|
||||
language-servers = [
|
||||
"nil"
|
||||
"!nixd"
|
||||
"!nil"
|
||||
"nixd"
|
||||
];
|
||||
formatter = {
|
||||
external.command = lib.getExe pkgs.alejandra;
|
||||
@ -84,6 +84,13 @@ in {
|
||||
path = lib.getExe pkgs.ruff;
|
||||
};
|
||||
};
|
||||
nixd = {
|
||||
binary = {
|
||||
arguments = [];
|
||||
path = lib.getExe pkgs.nixd;
|
||||
};
|
||||
initialization_options.formatting.command = [(lib.getExe pkgs.alejandra)];
|
||||
};
|
||||
nil = {
|
||||
binary = {
|
||||
arguments = [];
|
||||
|
Reference in New Issue
Block a user