Corrected layout files
This commit is contained in:
@@ -1,28 +1,32 @@
|
|||||||
|
# Keyboard and mouse settings
|
||||||
input {
|
input {
|
||||||
follow_mouse = yes
|
|
||||||
kb_layout = us
|
kb_layout = us
|
||||||
kb_options = ctrl:nocaps
|
kb_options = ctrl:nocaps
|
||||||
sensitivity = -0.5
|
sensitivity = -0.5
|
||||||
accel_profile = adaptive
|
accel_profile = adaptive
|
||||||
scroll_factor = 0.5
|
scroll_factor = 0.5
|
||||||
|
}
|
||||||
|
|
||||||
# Scrolling settings
|
# Scrolling modifier settings
|
||||||
|
input {
|
||||||
scroll_main_mod = alt
|
scroll_main_mod = alt
|
||||||
scroll_main_mod_invert = no
|
scroll_main_mod_invert = no
|
||||||
scroll_per_border = yes
|
scroll_per_border = yes
|
||||||
}
|
}
|
||||||
|
|
||||||
# Touchpad settings (replace "touchpad_name" with your device name from `hyprctl devices`)
|
# Touchpad settings (applies to all touchpads)
|
||||||
input:touchpad:* {
|
input:touchpad:* {
|
||||||
natural_scroll = yes
|
natural_scroll = yes
|
||||||
scroll_factor = 0.5
|
scroll_factor = 0.5
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Focus settings
|
||||||
focus {
|
focus {
|
||||||
follow_mouse = yes
|
follow_mouse = yes
|
||||||
new_windows = smart
|
new_windows = smart
|
||||||
}
|
}
|
||||||
|
|
||||||
|
# Miscellaneous settings
|
||||||
misc {
|
misc {
|
||||||
resize_step = 10 10
|
resize_step = 10 10
|
||||||
anim_resize_friction = 0.1
|
anim_resize_friction = 0.1
|
||||||
|
|||||||
@@ -1,4 +1,3 @@
|
|||||||
|
|
||||||
general {
|
general {
|
||||||
gaps_in = 2
|
gaps_in = 2
|
||||||
gaps_out = 4
|
gaps_out = 4
|
||||||
@@ -8,31 +7,17 @@ general {
|
|||||||
layout = dwindle
|
layout = dwindle
|
||||||
resize_on_border = yes
|
resize_on_border = yes
|
||||||
border_grab_modifier = 20
|
border_grab_modifier = 20
|
||||||
disable_hyprland_logo = false
|
disable_hyprland_logo = no # Use 'no' instead of 'false'
|
||||||
focus_on_activate = yes
|
focus_on_activate = yes
|
||||||
}
|
}
|
||||||
|
|
||||||
dwindle {
|
|
||||||
pseudotile = yes
|
|
||||||
preserve_split = yes
|
|
||||||
}
|
|
||||||
|
|
||||||
master {
|
|
||||||
new_is_master = true # New windows become master by default
|
|
||||||
}
|
|
||||||
|
|
||||||
# (Already covered in `general`, but you can override per-workspace if needed)
|
|
||||||
# Example: workspace 1,gaps_in:0,gaps_out:0
|
|
||||||
|
|
||||||
decoration {
|
decoration {
|
||||||
rounding = 5
|
rounding = 5
|
||||||
blur = yes
|
blur = yes
|
||||||
blur_size = 8
|
blur_size = 8
|
||||||
blur_passes = 3
|
blur_passes = 3
|
||||||
blur_new_optimizations = on
|
blur_new_optimizations = yes
|
||||||
# Exclude specific windows from blur (e.g., fullscreen)
|
|
||||||
blur_exclude = fullscreen
|
blur_exclude = fullscreen
|
||||||
# Drop shadows for floating windows
|
|
||||||
drop_shadow = yes
|
drop_shadow = yes
|
||||||
shadow_range = 4
|
shadow_range = 4
|
||||||
shadow_render_power = 3
|
shadow_render_power = 3
|
||||||
|
|||||||
@@ -1,8 +1,10 @@
|
|||||||
match:class nm-connection-editor, float 1, center 1, size 900 700
|
# Floating and centering nm-connection-editor
|
||||||
|
windowrule = float, nm-connection-editor
|
||||||
|
windowrule = move center, nm-connection-editor
|
||||||
|
windowrule = size 900 700, nm-connection-editor
|
||||||
|
|
||||||
# ===== Window Rules =====
|
# Center all new windows by default
|
||||||
windowrulev2 {
|
windowrule = center, ^(.*)
|
||||||
center = yes, class:.*
|
|
||||||
# Example: float specific apps
|
# Example: Float specific apps (uncomment to use)
|
||||||
# float = yes, class:^(pavucontrol)$
|
# windowrule = float, ^(pavucontrol)$
|
||||||
}
|
|
||||||
|
|||||||
@@ -1,32 +1,30 @@
|
|||||||
# ./assets/conf/desktop/hypr/workspace-rules.conf
|
# Workspace definitions (modern syntax)
|
||||||
|
workspace = 1
|
||||||
|
workspace = 2
|
||||||
|
workspace = 3
|
||||||
|
workspace = 4
|
||||||
|
workspace = 5
|
||||||
|
|
||||||
# Set default applications for specific workspaces
|
# Auto-launch apps on specific workspaces (use `exec` with `workspace` rule)
|
||||||
workspace = 1, workspace:1
|
exec-once = kitty, workspace 1
|
||||||
workspace = 2, workspace:2
|
exec-once = flatpak run app.betterbird.zen, workspace 2
|
||||||
workspace = 3, workspace:3
|
exec-once = zen, workspace 3
|
||||||
workspace = 4, workspace:4
|
|
||||||
workspace = 5, workspace:5
|
|
||||||
|
|
||||||
# Example: Auto-launch apps on specific workspaces
|
# Force a specific layout for a workspace
|
||||||
exec-once = [workspace 1] kitty
|
workspace 1, layout:dwindle
|
||||||
exec-once = [workspace 2] flatpak run app.betterbird.zen
|
workspace 2, layout:master
|
||||||
exec-once = [workspace 3] zen
|
workspace 3, layout:msg
|
||||||
|
|
||||||
# Example: Force a specific layout for a workspace
|
# Set workspace persistence
|
||||||
workspace = 1, layout:dwindle
|
workspace 1, persistent:true
|
||||||
workspace = 2, layout:master
|
workspace 2, persistent:true
|
||||||
workspace = 3, layout:msg
|
|
||||||
|
|
||||||
# Example: Set workspace persistence (remember apps)
|
# Move specific apps to workspaces automatically
|
||||||
workspace = 1, persistent:true
|
windowrule = move workspace 1, ^(kitty)$
|
||||||
workspace = 2, persistent:true
|
windowrule = move workspace 2, ^(zen)$
|
||||||
|
windowrule = move workspace 3, ^(libreoffice)$
|
||||||
|
|
||||||
# Example: Move specific apps to workspaces automatically
|
# Workspace behavior
|
||||||
windowrulev2 = move to workspace 1, class:^(kitty)$
|
|
||||||
windowrulev2 = move to workspace 2, class:^(zen)$
|
|
||||||
windowrulev2 = move to workspace 3, class:^(libreoffice)$
|
|
||||||
|
|
||||||
# ===== Workspace Behavior =====
|
|
||||||
workspace {
|
workspace {
|
||||||
cycle_move_empty = no
|
cycle_move_empty = no
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user