Files
dotfiles/hypr/hyprland/looknfeel.lua

89 lines
3.3 KiB
Lua

--██ ▄████▄ ▄████▄ ██ ▄█▀ ▄▀▀▄ ██████ ██████ ██████ ██
--██ ██ ██ ██ ██ ████ ▄▀▀▄ ▄ ██▄▄ ██▄▄ ██▄▄ ██
--██████ ▀████▀ ▀████▀ ██ ▀█▄ ▀▄▄▀▀▄ ██ ██▄▄▄▄ ██▄▄▄▄ ██████
hl.config({
cursor = {
inactive_timeout = 5,
},
input = {
kb_options = "caps:none", --deactivate capslock
-- Change speed of keyboard repeat
-- repeat_rate = 40
-- repeat_delay = 600
accel_profile = "flat",
--force_no_accel = true
follow_mouse = 1,
numlock_by_default = true,
-- Increase sensitity for mouse/trackpack (default: 0)
sensitivity = 0, --0.35
touchpad = {
-- Use natural (inverse) scrolling
natural_scroll = false, --true
-- Use two-finger clicks for right-click instead of lower-right corner
clickfinger_behavior = true,
-- Control the speed of your scrolling
scroll_factor = 0.4,
},
},
misc = {
key_press_enables_dpms = true, -- key press will trigger wake
mouse_move_enables_dpms = true, -- mouse move will trigger wake
force_default_wallpaper = 0, -- 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. :(
},
general = {
gaps_in = 0,
gaps_out = 0,
border_size = 1,
-- https://wiki.hyprland.org/Configuring/Variables/#variable-types for info about colors
col = {
active_border = "rgba(ff9100ff)",
inactive_border = "rgba(595959aa)",
},
-- Set to true enable resizing windows by clicking and dragging on borders and gaps
resize_on_border = false,
-- Please see https://wiki.hyprland.org/Configuring/Tearing/ before you turn this on
allow_tearing = false,
layout = "dwindle",
},
-- https://wiki.hyprland.org/Configuring/Variables/#decoration
decoration = {
rounding = 10,
rounding_power = 2,
-- Change transparency of focused and unfocused windows
active_opacity = 1.0,
inactive_opacity = 0.9,
shadow = {
enabled = false,
range = 4,
render_power = 3,
color = "rgba(1a1a1aee)",
},
-- https://wiki.hyprland.org/Configuring/Variables/#blur
blur = {
enabled = true,
size = 7,
passes = 4,
ignore_opacity = true,
noise = 0.0117,
contrast = 0.8916,
brightness = 0.8172,
xray = false,
new_optimizations = true,
special = true,
popups = true,
},
},
-- App launcher
--layerrule = blur, rofi
--layerrule = ignorezero, rofi
--layerrule = animation slide bottom, rofi
-- Top bar
--layerrule = blur, waybar
--layerrule = ignorezero, waybar
dwindle = {
preserve_split = true, -- You probably want this
},
})