From e83d35e529fb77ab6cc52608410b7fcd4a2d6fca Mon Sep 17 00:00:00 2001 From: mr-forust Date: Sun, 18 Jan 2026 18:17:07 +0100 Subject: [PATCH] common hyprland config - Decoration - env - exec - sourcing file (hyprland) - hyprlock - hyprpaper --- .config/hypr/decoration.conf | 8 +++++ .config/hypr/env.conf | 8 +++++ .config/hypr/exec.conf | 7 ++++ .config/hypr/hyprland.conf | 9 +++++ .config/hypr/hyprlock.conf | 66 ++++++++++++++++++++++++++++++++++++ .config/hypr/hyprpaper.conf | 2 ++ 6 files changed, 100 insertions(+) create mode 100644 .config/hypr/decoration.conf create mode 100644 .config/hypr/env.conf create mode 100644 .config/hypr/exec.conf create mode 100644 .config/hypr/hyprland.conf create mode 100644 .config/hypr/hyprlock.conf create mode 100644 .config/hypr/hyprpaper.conf diff --git a/.config/hypr/decoration.conf b/.config/hypr/decoration.conf new file mode 100644 index 0000000..c39d765 --- /dev/null +++ b/.config/hypr/decoration.conf @@ -0,0 +1,8 @@ +decoration { + rounding = 12 + blur { + enabled = true + size = 8 + passes = 3 + } +} diff --git a/.config/hypr/env.conf b/.config/hypr/env.conf new file mode 100644 index 0000000..8295c6d --- /dev/null +++ b/.config/hypr/env.conf @@ -0,0 +1,8 @@ +env = QT_QPA_PLATFORMTHEME,qt6ct +# env = QT_QPA_PLATFORMTHEME,qt5ct +# env = QT_STYLE_OVERRIDE,kvantum +# env = QT_QPA_PLATFORMTHEME,kvantum +env = XCURSOR_THEME,Breeze +env = XCURSOR_SIZE,24 +env = VISUAL,code +# env = VISUAL,zeditor diff --git a/.config/hypr/exec.conf b/.config/hypr/exec.conf new file mode 100644 index 0000000..c3e3a41 --- /dev/null +++ b/.config/hypr/exec.conf @@ -0,0 +1,7 @@ +exec-once = hyprpanel +exec-once = XDG_MENU_PREFIX=arch- kbuildsycoca6 +exec-once = copyq --start-server +exec-once = systemctl --user start hyprpolkitagent +exec-once = nm-applet --indicator +# exec-once = blueman-applet +exec-once = eval "$(ssh-agent -s)" diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf new file mode 100644 index 0000000..0628db4 --- /dev/null +++ b/.config/hypr/hyprland.conf @@ -0,0 +1,9 @@ +source = ~/.config/hypr/binds.conf +source = ~/.config/hypr/input.conf +source = ~/.config/hypr/general.conf +source = ~/.config/hypr/decoration.conf +source = ~/.config/hypr/animations.conf +source = ~/.config/hypr/exec.conf +source = ~/.config/hypr/env.conf +source = ~/.config/hypr/windowrules.conf +source = ~/.config/hypr/monitors.conf \ No newline at end of file diff --git a/.config/hypr/hyprlock.conf b/.config/hypr/hyprlock.conf new file mode 100644 index 0000000..42edf6d --- /dev/null +++ b/.config/hypr/hyprlock.conf @@ -0,0 +1,66 @@ +# Main background +background { + monitor = + path = /usr/share/backgrounds/your-wallpaper.jpg # можно убрать, если не хочешь картинку + blur_passes = 2 + noise = true + contrast = 0.9 + brightness = 0.7 + vibrancy = 0.3 +} + +# Clock in the center +label { + monitor = + text = cmd[update:1000] echo "$(date '+%H:%M:%S')" + color = rgba(ffffffee) + font_size = 64 + font_family = JetBrainsMono Nerd Font + position = 0, -100 + halign = center + valign = center +} + +# Date under clock +label { + monitor = + text = cmd[update:60000] echo "$(date '+%A, %d %B %Y')" + color = rgba(bbbbbbdd) + font_size = 20 + font_family = JetBrainsMono Nerd Font + position = 0, -40 + halign = center + valign = center +} + +# Username & prompt +label { + monitor = + text = $USER + color = rgba(aaaaaaff) + font_size = 16 + font_family = JetBrainsMono Nerd Font + position = 0, 20 + halign = center + valign = center +} + +# Password field +input-field { + monitor = + size = 300, 40 + outline_thickness = 2 + dots_size = 0.3 + dots_spacing = 0.15 + dots_center = true + fade_on_empty = true + placeholder_text = Введи пароль + inner_color = rgba(000000aa) + outline_color = rgba(888888aa) + font_color = rgba(ffffffcc) + font_family = JetBrainsMono Nerd Font + font_size = 14 + position = 0, 100 + halign = center + valign = center +} diff --git a/.config/hypr/hyprpaper.conf b/.config/hypr/hyprpaper.conf new file mode 100644 index 0000000..99ce411 --- /dev/null +++ b/.config/hypr/hyprpaper.conf @@ -0,0 +1,2 @@ +preload = /home/forust/.wallpaper/* +ipc = on