Migrate Hyprland to Lua
This commit is contained in:
67
hypr/hyprland/config.lua
Normal file
67
hypr/hyprland/config.lua
Normal file
@@ -0,0 +1,67 @@
|
||||
hl.config({
|
||||
input = {
|
||||
kb_layout = "us",
|
||||
kb_variant = "dvorak",
|
||||
repeat_delay = 600,
|
||||
touchpad = {
|
||||
natural_scroll = true
|
||||
}
|
||||
},
|
||||
general = {
|
||||
gaps_in = 4,
|
||||
gaps_out = 6,
|
||||
border_size = 0,
|
||||
|
||||
layout = "dwindle",
|
||||
no_focus_fallback = true
|
||||
},
|
||||
decoration = {
|
||||
rounding = 12,
|
||||
rounding_power = 2,
|
||||
-- active_opacity = 0.95,
|
||||
-- inactive_opacity = 0.9,
|
||||
-- fullscreen_opacity = 1.0,
|
||||
blur = {
|
||||
enabled = true,
|
||||
size = 8,
|
||||
passes = 3,
|
||||
new_optimizations = true,
|
||||
ignore_opacity = true,
|
||||
special = false,
|
||||
brightness = 0.2,
|
||||
},
|
||||
shadow = {
|
||||
range = 18,
|
||||
render_power = 4,
|
||||
scale = 0.9995,
|
||||
color = "#000000",
|
||||
}
|
||||
},
|
||||
dwindle = {
|
||||
preserve_split = true,
|
||||
smart_split = false,
|
||||
use_active_for_splits = true,
|
||||
force_split = 2,
|
||||
},
|
||||
binds = {
|
||||
disable_keybind_grabbing = true
|
||||
},
|
||||
misc = {
|
||||
disable_hyprland_logo = true,
|
||||
disable_splash_rendering = false,
|
||||
on_focus_under_fullscreen = 2,
|
||||
key_press_enables_dpms = true,
|
||||
mouse_move_enables_dpms = true,
|
||||
focus_on_activate = true,
|
||||
session_lock_xray = false,
|
||||
animate_manual_resizes = true,
|
||||
enable_anr_dialog = false,
|
||||
background_color = "#141414",
|
||||
},
|
||||
cursor = {
|
||||
persistent_warps = true,
|
||||
},
|
||||
xwayland = {
|
||||
force_zero_scaling = true,
|
||||
},
|
||||
})
|
||||
Reference in New Issue
Block a user