update hyprland and swaylock

This commit is contained in:
end-4
2024-01-01 16:39:09 +07:00
parent 2932ffbf4b
commit fae6cf50c1
5 changed files with 47 additions and 86 deletions
+17 -46
View File
@@ -2,35 +2,26 @@
# For Environment variables see env.conf
# For Keybinds variables see keybinds.conf
# For Auto-run stuff see execs.conf
# For Window/layer rules see rules.conf
source=~/.config/hypr/env.conf
$mainMod = SUPER
# MONITOR CONFIG
monitor=,preferred,auto,1
monitor=,addreserved, 0, 0, 0, 0
#monitor=HDMI-A-1,1920x1080@60,1920x0,1,mirror,eDP-1
#################### Core components (authentication, idle daemon and stuff) ##############
# monitor=HDMI-A-1,1920x1080@60,1920x0,1,mirror,eDP-1
# Startup executions
source=~/.config/hypr/execs.conf
############################# Keybinds ############################
source=~/.config/hypr/keybinds.conf
############################## Input ##############################
input {
# Mouse
# accel_profile = adaptive
force_no_accel = false
#sensitivity = 0
# Keyboard
# Add a layout and comment kb_options for Win+Space switching shortcut
# Keyboard: Add a layout and uncomment kb_options for Win+Space switching shortcut
kb_layout = us
# kb_options = grp:win_space_toggle
follow_mouse = 1
numlock_by_default = true
repeat_delay = 250
repeat_rate = 35
@@ -41,31 +32,25 @@ input {
clickfinger_behavior = true
scroll_factor = 0.5
}
scroll_method = 2fg
}
binds {
# focus_window_on_workspace_change = true
# focus_window_on_workspace_c# For Auto-run stuff see execs.confhange = true
scroll_event_delay = 0
}
gestures {
# See https://wiki.hyprland.org/Configuring/Variables/ for more
workspace_swipe = true
workspace_swipe_distance = 700
workspace_swipe_fingers = 4
workspace_swipe_cancel_ratio = 0.2
workspace_swipe_min_speed_to_force = 5
workspace_swipe_direction_lock = true
workspace_swipe_direction_lock_threshold = 0
workspace_swipe_direction_lock_threshold = 10
workspace_swipe_create_new = true
}
general {
max_fps = 75
# Gaps and border
gaps_in = 4
gaps_out = 5
@@ -76,17 +61,16 @@ general {
col.active_border = rgba(0DB7D4FF)
col.inactive_border = rgba(31313600)
# Functionality
# resize_on_border = true
resize_on_border = true
no_focus_fallback = true
layout = dwindle
#focus_to_other_workspaces = true
#focus_to_other_workspaces = true # ahhhh i still haven't properly implemented this
allow_tearing = false # some guy told me tearing might make things smoother idk
}
dwindle {
preserve_split = true # you definitely want this
preserve_split = true
# no_gaps_when_only = 1
smart_split = false
smart_resizing = false
@@ -100,16 +84,11 @@ decoration {
xray = true
special = false
new_optimizations = on
size = 5
passes = 4
brightness = 1
noise = 0.01
contrast = 1
#vibrancy = 0.1
#vibrancy_darkness = 0
}
# Shadow
drop_shadow = true
@@ -170,22 +149,10 @@ misc {
}
debug {
#overlay = true
#damage_tracking = 0
# overlay = true
# damage_tracking = 0
#damage_blink = yes
}
#misc {
# vfr = false
#}
#debug {
# overlay = true
#}
decoration {
#screen_shader = ~/.config/hypr/shaders/drugs.frag
#screen_shader = ~/.config/hypr/shaders/crt.frag
# damage_blink = yes
}
# Window and layer rules
@@ -196,3 +163,7 @@ source=~/.config/hypr/rules.conf
# Dynamic colors
source=~/.config/hypr/colors.conf
# Keybinds
source=~/.config/hypr/keybinds.conf