update hyprland config

parent 4920f829
...@@ -8,6 +8,10 @@ $filemanager = nemo ...@@ -8,6 +8,10 @@ $filemanager = nemo
#---------- АВТОЗАПУСК ---- AUTOSTART #---------- АВТОЗАПУСК ---- AUTOSTART
# Плагины / Plugins
#plugin = /usr/lib64/hyprland/Hyprspace.so
#plugin = /usr/lib64/hyprland/dynamic-cursors.so
# Обои / Wallpaper # Обои / Wallpaper
exec-once = hyprpaper exec-once = hyprpaper
...@@ -17,10 +21,6 @@ exec-once = /usr/libexec/polkit-1/polkit-gnome-authentication-agent-1 ...@@ -17,10 +21,6 @@ exec-once = /usr/libexec/polkit-1/polkit-gnome-authentication-agent-1
exec-once = dbus-update-activation-environment --all exec-once = dbus-update-activation-environment --all
exec-once = sleep 1 && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP exec-once = sleep 1 && dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# Плагины / Plugins
#plugin = /usr/lib64/hyprland/Hyprspace.so
#plugin = /usr/lib64/hyprland/dynamic-cursors.so
# Утилиты среды рабочего стола / Desktop environment utilities # Утилиты среды рабочего стола / Desktop environment utilities
exec-once = hypridle exec-once = hypridle
exec-once = waybar exec-once = waybar
...@@ -51,20 +51,6 @@ env = QT_STYLE_OVERRIDE,kvantum ...@@ -51,20 +51,6 @@ env = QT_STYLE_OVERRIDE,kvantum
#env = LIBVA_DRIVER_NAME,nvidia #env = LIBVA_DRIVER_NAME,nvidia
#env = WLR_DRM_NO_ATOMIC,1 #env = WLR_DRM_NO_ATOMIC,1
#---------- РАСКЛАДКА КЛАВИАТУРЫ ---- KEYBOARD LAYOUT
input {
kb_layout = us,ru
kb_options = grp:win_space_toggle
follow_mouse = 1
touchpad {
natural_scroll = false
}
numlock_by_default = true
sensitivity = 0.0
}
#---------- ПРОМЕЖУТКИ, ГРАНИЦЫ, ЦВЕТА ---- GAPS, BORDERS, COLORS #---------- ПРОМЕЖУТКИ, ГРАНИЦЫ, ЦВЕТА ---- GAPS, BORDERS, COLORS
general { general {
gaps_in = 3 gaps_in = 3
...@@ -75,20 +61,28 @@ general { ...@@ -75,20 +61,28 @@ general {
col.inactive_border = rgb(808181) col.inactive_border = rgb(808181)
resize_on_border = true resize_on_border = true
layout = dwindle layout = dwindle
snap {
enabled = true
window_gap = 5
monitor_gap = 10
border_overlap = false
}
} }
#---------- УКРАШЕНИЯ ДЛЯ ОКОН ---- WINDOW DECORATIONS #---------- УКРАШЕНИЯ ДЛЯ ОКОН ---- WINDOW DECORATIONS
decoration { decoration {
rounding = 15 rounding = 15
shadow_range = 0
shadow_render_power = 0
col.shadow = rgb(808181)
blur { blur {
noise = 0.0 noise = 0.0
size = 6 size = 6
} }
shadow {
enabled = false
}
} }
#---------- АНИМАЦИЯ ---- ANIMATION #---------- АНИМАЦИЯ ---- ANIMATION
...@@ -105,11 +99,22 @@ animations { ...@@ -105,11 +99,22 @@ animations {
animation = borderangle, 1, 8, default animation = borderangle, 1, 8, default
animation = fade, 1, 7, default animation = fade, 1, 7, default
animation = workspaces, 1, 10, myBezier animation = workspaces, 1, 10, myBezier
animation = specialWorkspace, 1, 10, myBezier, slidefadevert -75%
} }
#---------- НАСТРОЙКА МАКЕТА ---- LAYOUT SETTING #---------- РАСКЛАДКА КЛАВИАТУРЫ ---- KEYBOARD LAYOUT
master { input {
new_status = slaved kb_layout = us,ru
kb_options = grp:win_space_toggle
follow_mouse = 1
touchpad {
natural_scroll = false
}
numlock_by_default = true
sensitivity = 0.0
} }
#---------- ЖЕСТЫ ---- GESTURES #---------- ЖЕСТЫ ---- GESTURES
...@@ -124,10 +129,65 @@ gestures { ...@@ -124,10 +129,65 @@ gestures {
workspace_swipe_create_new = true workspace_swipe_create_new = true
} }
#---------- ГРУППЫ ---- GROUPS
group {
auto_group = true
drag_into_group = 2
col.border_active = rgb(7E01FF)
col.border_inactive = rgb(808181)
col.border_locked_active = rgb(c44200)
col.border_locked_inactive = rgb(561d00)
groupbar {
enabled = true
font_family = "FiraCode Nerd Font"
font_size = 8
stacked = false
col.active = rgb(7E01FF)
col.inactive = rgb(808181)
col.locked_active = rgb(c44200)
col.locked_inactive = rgb(561d00)
}
}
#---------- РАЗНОЕ ---- MISC #---------- РАЗНОЕ ---- MISC
misc { misc {
force_default_wallpaper = 0 disable_hyprland_logo = true
disable_splash_rendering = true
mouse_move_enables_dpms = true
key_press_enables_dpms = true
animate_mouse_windowdragging = true
allow_session_lock_restore = true allow_session_lock_restore = true
}
binds {
workspace_back_and_forth = false
workspace_center_on = 1
}
render {
explicit_sync = 2
explicit_sync_kms = 2
}
cursor {
sync_gsettings_theme = true
no_hardware_cursors = 2 # NVIDIA
hotspot_padding = 1
persistent_warps = true
zoom_factor = 1.0
hide_on_touch = true
}
#---------- НАСТРОЙКА МАКЕТА ---- LAYOUT SETTING
master {
new_status = master
} }
#---------- ПРАВИЛА РАБОТЫ С ОКНАМИ ---- WINDOW RULES #---------- ПРАВИЛА РАБОТЫ С ОКНАМИ ---- WINDOW RULES
...@@ -224,6 +284,13 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8 ...@@ -224,6 +284,13 @@ bind = $mainMod SHIFT, 8, movetoworkspace, 8
bind = $mainMod SHIFT, 9, movetoworkspace, 9 bind = $mainMod SHIFT, 9, movetoworkspace, 9
bind = $mainMod SHIFT, 0, movetoworkspace, 10 bind = $mainMod SHIFT, 0, movetoworkspace, 10
#---------- СПЕЦИАЛЬНЫЕ РАБОЧИЕ ПРОСТРАНСТВА ---- SPECIAL WORKSPACES
bind = $mainMod ALT, 1, togglespecialworkspace, special
bind = $mainMod ALT, 2, togglespecialworkspace, music
bind = $mainMod ALT_SHIFT, 1, movetoworkspace, special:special
bind = $mainMod ALT_SHIFT, 2, movetoworkspace, special:music
#---------- ПЕРЕМЕЩЕНИЕ С ПОМОЩЬЮ КОЛЕСИКА МЫШИ ---- NAVIGATE USING THE MOUSE WHEEL #---------- ПЕРЕМЕЩЕНИЕ С ПОМОЩЬЮ КОЛЕСИКА МЫШИ ---- NAVIGATE USING THE MOUSE WHEEL
bind = $mainMod, mouse_up, workspace, -1 bind = $mainMod, mouse_up, workspace, -1
bind = $mainMod, mouse_down, workspace, +1 bind = $mainMod, mouse_down, workspace, +1
...@@ -233,14 +300,24 @@ bindm = $mainMod, mouse:272, movewindow ...@@ -233,14 +300,24 @@ bindm = $mainMod, mouse:272, movewindow
bindm = $mainMod, mouse:273, resizewindow bindm = $mainMod, mouse:273, resizewindow
#---------- ИЗМЕНЕНИЕ РАЗМЕРА ОКОН ---- RESIZING WINDOWS #---------- ИЗМЕНЕНИЕ РАЗМЕРА ОКОН ---- RESIZING WINDOWS
bind = $mainMod CTRL, left, resizeactive, -50 0 bind = $mainMod ALT, R, submap, resize
bind = $mainMod CTRL, right, resizeactive, 50 0 submap = resize
bind = $mainMod CTRL, up, resizeactive, 0 -50
bind = $mainMod CTRL, down, resizeactive, 0 50 binde = , right, resizeactive, 10 0
binde = , left, resizeactive, -10 0
binde = , up, resizeactive, 0 -10
binde = , down, resizeactive, 0 10
bind = , escape, submap, reset
submap = reset
#---------- ЗАКРЕПИТЬ ПЛАВАЮЩИЕ ОКНО ---- PIN A FLOATING WINDOW #---------- ЗАКРЕПИТЬ ПЛАВАЮЩИЕ ОКНО ---- PIN A FLOATING WINDOW
bind = $mainMod, P, pin bind = $mainMod, P, pin
#---------- ГРУППЫ ---- GROUPS
bind = $mainMod ALT, G, togglegroup
bind = $mainMod CTRL, G, lockactivegroup, toggle
#---------- НАСТРОЙКИ ПЛАГИНОВ ---- PLUGIN SETTINGS #---------- НАСТРОЙКИ ПЛАГИНОВ ---- PLUGIN SETTINGS
#bindr = SUPER, A, overview:toggle #bindr = SUPER, A, overview:toggle
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment