245 lines
8.2 KiB
Plaintext
245 lines
8.2 KiB
Plaintext
# vim:foldmethod=marker
|
|
# https://wiki.hyprland.org/Configuring/Variables/
|
|
|
|
ecosystem {
|
|
no_update_news = true
|
|
}
|
|
|
|
general { # {{{
|
|
border_size = 1
|
|
no_border_on_floating = false
|
|
gaps_in = 0 #4
|
|
gaps_out = 0, 0, 0, 0
|
|
#col.inactive_border = rgb(4499bb)
|
|
#col.active_border = rgb(44ffaa) rgba(00000000) rgb(44ffaa) 145deg
|
|
#col.inactive_border = rgb(bb0055)
|
|
col.inactive_border = rgb(44aaaa)
|
|
col.active_border = rgb(ff00ff)
|
|
#col.group_border = rgb(6666bb)
|
|
#col.group_border_active = rgb(00ddcc)
|
|
#col.group_border_locked = rgb(994444)
|
|
#col.group_border_locked_active = rgb(dd88dd)
|
|
# cursor_inactive_timeout = 0 # hide cursor after
|
|
# no_cursor_warps = false # false = move cursor on focusing
|
|
no_focus_fallback = false
|
|
# apply_sens_to_raw = false
|
|
resize_on_border = true
|
|
extend_border_grab_area = 5
|
|
hover_icon_on_border = false
|
|
allow_tearing = true
|
|
layout = master
|
|
} # }}}
|
|
|
|
dwindle { # {{{
|
|
pseudotile = false
|
|
force_split = 2 # 0->follows mouse, 1->left or top, 2->right or bottom
|
|
preserve_split = true
|
|
smart_split = false
|
|
smart_resizing = false
|
|
permanent_direction_override = true
|
|
special_scale_factor = 1
|
|
split_width_multiplier = 1
|
|
# no_gaps_when_only = 1
|
|
use_active_for_splits = true
|
|
default_split_ratio = 1 # 0.1 - 1.9 1=50/50
|
|
} # }}}
|
|
|
|
master { # {{{
|
|
allow_small_split = true
|
|
special_scale_factor = 1
|
|
mfact = 0.5 #0-1
|
|
# new_is_master = false
|
|
new_on_top = false
|
|
# no_gaps_when_only = 1 # 0, 1-no border, 2-border
|
|
orientation = left
|
|
inherit_fullscreen = true
|
|
# always_center_master = false
|
|
smart_resizing = true
|
|
} # }}}
|
|
|
|
decoration { # {{{
|
|
#rounding = 8
|
|
active_opacity = 1.0
|
|
inactive_opacity = 1.0
|
|
fullscreen_opacity = 1.0
|
|
blur {
|
|
enabled = true
|
|
size = 3
|
|
passes = 1
|
|
ignore_opacity = false # make the blur layer ignore the opacity of the window
|
|
new_optimizations = true
|
|
xray = false
|
|
noise = 0 #0-1
|
|
contrast = 1.45 #0-2
|
|
brightness = 0.8 #0-2
|
|
special = false
|
|
}
|
|
# drop_shadow = false
|
|
# shadow_range = 4
|
|
# shadow_render_power = 3
|
|
# shadow_ignore_window = true
|
|
# shadow_offset = [0, 0]
|
|
# shadow_scale = 1.0
|
|
# col.shadow = rgba(1a1a1aee)
|
|
# col.shadow_inactive = rgba(1a1a1aee)
|
|
dim_inactive = false
|
|
dim_strength = 0.2
|
|
dim_special = 0
|
|
dim_around = 0.4
|
|
#screen_shader = [[Empty]]
|
|
} # }}}
|
|
|
|
animations { # {{{
|
|
enabled = false # animations actually look better that way
|
|
|
|
#bezier = linear, 0, 0, 0, 0
|
|
#bezier = bop, 1, 1, 0, 1 # custom
|
|
#bezier = eob, 0.34, 1.56, 0.64, 1 # easeOutBack
|
|
|
|
#animation = workspaces, 1, 2, bop, slidevert
|
|
#animation = windowsIn, 1, 1, bop, popin 95%
|
|
#animation = windowsOut, 1, 8, linear, slide
|
|
#animation = border, 1, 2, linear
|
|
#animation = borderangle, 1, 50, linear, loop
|
|
|
|
#animation = global, 0 #, 1, linear
|
|
#animation = windows, 0 #, 1, linear
|
|
#animation = fade, 0 #, 1, linear
|
|
#animation = windowsMove, 0 #, 1, linear
|
|
#animation = specialWorkspace, 0 #, 1, linear
|
|
|
|
#animation = fadeIn
|
|
#animation = fadeOut
|
|
#animation = fadeSwitch
|
|
#animation = fadeShadow
|
|
#animation = fadeDim
|
|
} # }}}
|
|
|
|
input { # {{{
|
|
#kb_model
|
|
kb_layout = us,ua
|
|
kb_variant = colemak,
|
|
kb_options = altwin:swap_lalt_lwin, grp:win_space_toggle, grp_led:caps, shift:both_capslock_cancel
|
|
#kb_rules
|
|
#kb_file
|
|
numlock_by_default = false
|
|
repeat_rate = 30
|
|
repeat_delay = 300
|
|
sensitivity = 0.5 # -1.0 to 1.0
|
|
accel_profile = flat
|
|
force_no_accel = false
|
|
left_handed = false
|
|
scroll_method = 2fg
|
|
scroll_button = 0
|
|
scroll_button_lock = 1 # something i don't use
|
|
natural_scroll = false
|
|
follow_mouse = 1 # 0 - Cursor movement will not change focus. 1 - Cursor movement will always change focus to the window under the cursor. 2 - Cursor focus will be detached from keyboard focus. Clicking on a window will move keyboard focus to that window. 3 - Cursor focus will be completely separate from keyboard focus. Clicking on a window will not change keyboard focus.
|
|
mouse_refocus = true # don't let mouse moves on window to steal focus back from new opened window unless the mouse crosses the border or the old window is clicked
|
|
float_switch_override_focus = 1 #???
|
|
|
|
touchpad {
|
|
disable_while_typing = false
|
|
natural_scroll = true
|
|
scroll_factor = 1.1
|
|
middle_button_emulation = false
|
|
clickfinger_behavior = false
|
|
tap-to-click = true
|
|
tap_button_map = lrm
|
|
drag_lock = false
|
|
tap-and-drag = true
|
|
}
|
|
#touchdevice {
|
|
# transform = 0
|
|
# #output
|
|
#}
|
|
}
|
|
|
|
device {
|
|
name = logitech-g102-prodigy-gaming-mouse,
|
|
sensitivity = 0.5
|
|
}
|
|
|
|
device {
|
|
name = at-translated-set-2-keyboard # Ctrl, AltGr, Win, Space, AltR, Ctrl; Shift+Shift for CAPS
|
|
kb_options = altwin:swap_lalt_lwin, grp:win_space_toggle, grp_led:caps, shift:both_capslock_cancel
|
|
} # }}}
|
|
|
|
gestures { # {{{
|
|
workspace_swipe = false
|
|
#workspace_swipe_fingers = 3
|
|
#workspace_swipe_distance = 150
|
|
#workspace_swipe_invert = true
|
|
#workspace_swipe_min_speed_to_force = 30
|
|
#workspace_swipe_cancel_ratio = 0.5
|
|
#workspace_swipe_create_new = true
|
|
#workspace_swipe_forever = false
|
|
#workspace_swipe_numbered = false
|
|
#workspace_swipe_use_r = false
|
|
} # }}}
|
|
|
|
misc { # {{{
|
|
disable_hyprland_logo = true
|
|
disable_splash_rendering = true
|
|
force_default_wallpaper = 1
|
|
#force_hypr_chan = true
|
|
vfr = true # good for battery, variable frame rate
|
|
vrr = 0 # adaptive sync, change refresh rate of display, 0 - off, 1 - on, 2 - fullscreen only
|
|
mouse_move_enables_dpms = true
|
|
key_press_enables_dpms = true
|
|
always_follow_on_dnd = true
|
|
layers_hog_keyboard_focus = true
|
|
animate_manual_resizes = false
|
|
animate_mouse_windowdragging = false
|
|
disable_autoreload = false #! set to true for battery
|
|
enable_swallow = false
|
|
#swallow_regex
|
|
#swallow_exception_regex
|
|
focus_on_activate = false
|
|
# no_direct_scanout = true
|
|
# hide_cursor_on_touch = true
|
|
mouse_move_focuses_monitor = true
|
|
render_ahead_of_time = false
|
|
render_ahead_safezone = 1
|
|
# cursor_zoom_factor = 1.0
|
|
# cursor_zoom_rigid = false
|
|
allow_session_lock_restore = true
|
|
#group_insert_after_current = true # insert new windows after current
|
|
#group_focus_removed_window = true
|
|
#groupbar_scrolling = true
|
|
#render_titles_in_groupbar = true
|
|
#groupbar_titles_font_size = 24
|
|
#groupbar_gradients = false
|
|
#groupbar_text_color = rgb(FFFFFF)
|
|
background_color = rgb(000000)
|
|
close_special_on_empty=true
|
|
new_window_takes_over_fullscreen = 2
|
|
} # }}}
|
|
|
|
binds { # {{{
|
|
pass_mouse_when_bound = false
|
|
scroll_event_delay = 300
|
|
workspace_back_and_forth = true
|
|
allow_workspace_cycles = true # false: 1331 = 1st workspace, true: 3rd
|
|
focus_preferred_method = 0
|
|
workspace_center_on = 0
|
|
ignore_group_lock = false
|
|
} # }}}
|
|
|
|
xwayland { # {{{
|
|
use_nearest_neighbor = true
|
|
force_zero_scaling = false
|
|
} # }}}
|
|
|
|
#debug { # {{{
|
|
#name description type default
|
|
#overlay print the debug performance overlay. Disable VFR for accurate results. bool false
|
|
#damage_blink (epilepsy warning!) flash areas updated with damage tracking bool false
|
|
#disable_logs disable logging bool false
|
|
#disable_time disables time logging bool true
|
|
#damage_tracking redraw only the needed bits of the display. Do not change. (default: full - 2) monitor - 1, none - 0 int 2
|
|
#enable_stdout_logs enables logging to stdout bool false
|
|
#manual_crash set to 1 and then back to 0 to crash Hyprland. int 0
|
|
#suppress_errors if true, do not display config file parsing errors. bool false
|
|
#watchdog_timeout sets the timeout in seconds for watchdog to abort processing of a signal of the main thread. Set to 0 to disable. int 5
|
|
# } # }}}
|