add power config

This commit is contained in:
2025-12-13 02:36:44 +03:00
parent 737b10813b
commit eb4ff0dfdf
5 changed files with 74 additions and 8 deletions
+5 -4
View File
@@ -49,12 +49,13 @@
layerrule = [ "noanim, vicinae" "blur,vicinae" "ignorealpha 0, vicinae" ];
env = [ "XCURSOR_SIZE,24" "HYPRCURSOR_SIZE,24" ];
# кто-то возраждает swww
# надо узнать, кому он нужен
exec-once = [
# "hyprlock"
"wal -R &"
# "hyprpaper &"
# "(swww-daemon &) && sleep 2 && swww img /home/krosh/Pictures/wallpaper.png"
# "hyprctl hyprpaper reload ,~/Pictures/wallpaper.png"
"swww img ${config.home.homeDirectory}/Pictures/wallpaper.png &"
# "(swww-daemon &) && sleep 2 && swww img ${config.home.homeDirectory}/Pictures/wallpaper.png"
"hyprpanel &"
"vicinae server &"
"gsettings set org.gnome.desktop.interface cursor-theme '${config.home.pointerCursor.name}'"
@@ -67,7 +68,7 @@
submap = "global";
debug = { disable_logs = false; };
monitor = lib.mkForce [
monitor = [
"eDP-1,preferred,auto,1.333333"
"HDMI-A-1,preferred,auto-left,auto"
"HDMI-A-2,preferred,auto-left,auto"
+2 -2
View File
@@ -2,8 +2,8 @@
{
services.hypridle = let
# lock_cmd = "hyprlock --grace 10";
lock_cmd = "exit";
lock_cmd = "hyprlock --grace 10";
# lock_cmd = "exit";
suspend_cmd = "systemctl suspend || loginctl suspend";
in {
enable = true;
+4
View File
@@ -21,6 +21,10 @@
ignore_empty_input = true
}
auth {
fingerprint:enabled = true
}
background {
color = rgba(181818FF)
path = ${config.home.homeDirectory}/Pictures/wallpaper.png
+2 -2
View File
@@ -92,12 +92,12 @@
"theme.bar.menus.opacity": 90,
"theme.matugen": true,
"wallpaper.pywal": true,
"wallpaper.image": "/home/krosh/Pictures/wallpaper.png",
"wallpaper.image": "${config.home.homeDirectory}/Pictures/wallpaper.png",
"theme.bar.border.width": "0.15em",
"theme.bar.buttons.padding_x": "0.7rem",
"theme.bar.outer_spacing": "0.4em",
"theme.bar.buttons.radius": "0.6em",
"menus.dashboard.powermenu.avatar.image": "/home/krosh/Pictures/avatar.png",
"menus.dashboard.powermenu.avatar.image": "${config.home.homeDirectory}/Pictures/avatar.png",
"menus.dashboard.shortcuts.left.shortcut1.tooltip": "",
"menus.dashboard.shortcuts.left.shortcut1.command": "",
"menus.dashboard.shortcuts.left.shortcut1.icon": "",