Corrected layout files

This commit is contained in:
2026-03-03 22:00:30 +01:00
parent 2776626e40
commit 53fa96fc51
4 changed files with 40 additions and 51 deletions
@@ -1,28 +1,32 @@
# Keyboard and mouse settings
input {
follow_mouse = yes
kb_layout = us
kb_options = ctrl:nocaps
sensitivity = -0.5
accel_profile = adaptive
scroll_factor = 0.5
}
# Scrolling settings
# Scrolling modifier settings
input {
scroll_main_mod = alt
scroll_main_mod_invert = no
scroll_per_border = yes
}
# Touchpad settings (replace "touchpad_name" with your device name from `hyprctl devices`)
# Touchpad settings (applies to all touchpads)
input:touchpad:* {
natural_scroll = yes
scroll_factor = 0.5
}
# Focus settings
focus {
follow_mouse = yes
new_windows = smart
}
# Miscellaneous settings
misc {
resize_step = 10 10
anim_resize_friction = 0.1
@@ -1,4 +1,3 @@
general {
gaps_in = 2
gaps_out = 4
@@ -8,31 +7,17 @@ general {
layout = dwindle
resize_on_border = yes
border_grab_modifier = 20
disable_hyprland_logo = false
disable_hyprland_logo = no # Use 'no' instead of 'false'
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 {
rounding = 5
blur = yes
blur_size = 8
blur_passes = 3
blur_new_optimizations = on
# Exclude specific windows from blur (e.g., fullscreen)
blur_new_optimizations = yes
blur_exclude = fullscreen
# Drop shadows for floating windows
drop_shadow = yes
shadow_range = 4
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 =====
windowrulev2 {
center = yes, class:.*
# Example: float specific apps
# float = yes, class:^(pavucontrol)$
}
# Center all new windows by default
windowrule = center, ^(.*)
# Example: Float specific apps (uncomment to use)
# 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
workspace = 1, workspace:1
workspace = 2, workspace:2
workspace = 3, workspace:3
workspace = 4, workspace:4
workspace = 5, workspace:5
# Auto-launch apps on specific workspaces (use `exec` with `workspace` rule)
exec-once = kitty, workspace 1
exec-once = flatpak run app.betterbird.zen, workspace 2
exec-once = zen, workspace 3
# Example: Auto-launch apps on specific workspaces
exec-once = [workspace 1] kitty
exec-once = [workspace 2] flatpak run app.betterbird.zen
exec-once = [workspace 3] zen
# Force a specific layout for a workspace
workspace 1, layout:dwindle
workspace 2, layout:master
workspace 3, layout:msg
# Example: Force a specific layout for a workspace
workspace = 1, layout:dwindle
workspace = 2, layout:master
workspace = 3, layout:msg
# Set workspace persistence
workspace 1, persistent:true
workspace 2, persistent:true
# Example: Set workspace persistence (remember apps)
workspace = 1, persistent:true
workspace = 2, persistent:true
# Move specific apps to workspaces automatically
windowrule = move workspace 1, ^(kitty)$
windowrule = move workspace 2, ^(zen)$
windowrule = move workspace 3, ^(libreoffice)$
# Example: Move specific apps to workspaces automatically
windowrulev2 = move to workspace 1, class:^(kitty)$
windowrulev2 = move to workspace 2, class:^(zen)$
windowrulev2 = move to workspace 3, class:^(libreoffice)$
# ===== Workspace Behavior =====
# Workspace behavior
workspace {
cycle_move_empty = no
}