Рефактор hyprland.conf
This commit is contained in:
1 parent
7115f8f882
commit
379d8d78e1
1 file changed
+61
-20
@@ -20,6 +20,7 @@ monitor = eDP-1,1920x1080@60,0x0,1
|
||||
### AUTOSTART ###
|
||||
#################
|
||||
|
||||
exec-once = gnome-keyring-daemon --start --components=secrets
|
||||
exec-once = waypaper --random --folder ~/Pictures/Wallpapers
|
||||
exec-once = hypridle
|
||||
exec-once = waybar -c $HOME/.config/waybar/config.jsonc -s $HOME/.config/waybar/styles.css
|
||||
@@ -47,9 +48,13 @@ env = XCURSOR_SIZE,28
|
||||
env = XCURSOR_THEME,rose-pine
|
||||
env = HYPRCURSOR_SIZE,28
|
||||
env = HYPRCURSOR_THEME,rose-pine-hyprcursor
|
||||
|
||||
env = ELECTRON_OZON_PLATFORM_HINT,auto
|
||||
env = QT_QPA_PLATFORM,wayland
|
||||
env = QT_QPA_PLATFORMTHEME,qt5ct
|
||||
|
||||
env = QT_QPA_PLATFORM,wayland;xcb
|
||||
env = QT_QPA_PLATFORMTHEME,qt6ct
|
||||
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
|
||||
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
|
||||
|
||||
|
||||
#####################
|
||||
@@ -59,25 +64,32 @@ env = QT_QPA_PLATFORMTHEME,qt5ct
|
||||
# https://wiki.hyprland.org/Configuring/Variables/
|
||||
|
||||
general {
|
||||
gaps_in = 5
|
||||
gaps_in = 4
|
||||
gaps_out = 7
|
||||
gaps_workspaces = 20
|
||||
|
||||
border_size = 3
|
||||
border_size = 2
|
||||
|
||||
col.active_border = rgb(B4B4B4) rgb(898989) 90deg
|
||||
col.active_border = rgb(bbbbbb)
|
||||
col.inactive_border = rgba(595959aa)
|
||||
|
||||
resize_on_border = true
|
||||
no_focus_fallback = true
|
||||
allow_tearing = true
|
||||
|
||||
layout = dwindle
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Tearing/
|
||||
allow_tearing = false
|
||||
snap {
|
||||
enabled = true
|
||||
window_gap = 10
|
||||
monitor_gap = 10
|
||||
respect_gaps = true
|
||||
}
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#decoration
|
||||
decoration {
|
||||
rounding = 12
|
||||
rounding = 13
|
||||
|
||||
active_opacity = 0.92
|
||||
inactive_opacity = 0.92
|
||||
@@ -85,9 +97,17 @@ decoration {
|
||||
blur {
|
||||
enabled = true
|
||||
new_optimizations = true
|
||||
size = 1
|
||||
passes = 5
|
||||
brightness = 0.9
|
||||
xray = true
|
||||
special = false
|
||||
size = 13
|
||||
passes = 2
|
||||
brightness = 1
|
||||
noise = 0.04
|
||||
contrast = 0.9
|
||||
}
|
||||
|
||||
shadow {
|
||||
enabled = false
|
||||
}
|
||||
}
|
||||
|
||||
@@ -107,13 +127,13 @@ animations {
|
||||
|
||||
animation = fade, 1, 4, default
|
||||
# animation = border, 1, 1, liner
|
||||
# animation = borderangle, 1, 20, liner, once
|
||||
# animation = borderangle, 1, 20, liner, loop
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Dwindle-Layout/
|
||||
dwindle {
|
||||
pseudotile = true # Master switch for pseudotiling. Enabling is bound to mainMod + P in the keybinds section below
|
||||
preserve_split = true # You probably want this
|
||||
pseudotile = true
|
||||
preserve_split = true
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Master-Layout/
|
||||
@@ -123,10 +143,23 @@ master {
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#misc
|
||||
misc {
|
||||
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
|
||||
disable_hyprland_logo = true # If true disables the random hyprland logo / anime girl background. :(
|
||||
force_default_wallpaper = 0
|
||||
disable_hyprland_logo = true
|
||||
animate_manual_resizes = true
|
||||
new_window_takes_over_fullscreen = 2
|
||||
allow_session_lock_restore = true
|
||||
focus_on_activate = true
|
||||
}
|
||||
|
||||
binds {
|
||||
hide_special_on_workspace_change = true
|
||||
}
|
||||
|
||||
cursor {
|
||||
zoom_factor = 1
|
||||
zoom_rigid = false
|
||||
hotspot_padding = 1
|
||||
}
|
||||
|
||||
#############
|
||||
### INPUT ###
|
||||
@@ -141,8 +174,7 @@ input {
|
||||
kb_rules =
|
||||
|
||||
numlock_by_default = true
|
||||
|
||||
follow_mouse = 1
|
||||
follow_mouse = true
|
||||
|
||||
sensitivity = 0
|
||||
|
||||
@@ -153,7 +185,16 @@ input {
|
||||
}
|
||||
|
||||
# https://wiki.hyprland.org/Configuring/Variables/#gestures
|
||||
gesture = 3, swipe, move,
|
||||
gesture = 4, horizontal, workspace
|
||||
gesture = 4, pinch, float
|
||||
gesture = 4, up, special
|
||||
gesture = 4, down, dispatcher, exec, $HOME/.config/waybar/scripts/logoutlaunch.sh 1
|
||||
gestures {
|
||||
workspace_swipe_distance = 200
|
||||
workspace_swipe_distance = 600
|
||||
workspace_swipe_cancel_ratio = 0.2
|
||||
workspace_swipe_min_speed_to_force = 5
|
||||
workspace_swipe_direction_lock = true
|
||||
workspace_swipe_direction_lock_threshold = 10
|
||||
workspace_swipe_create_new = true
|
||||
}
|
||||
gesture = 3, horizontal, workspace
|
||||
Reference in new issue
Block a user