Browse Source

Bump to v2.3, Some hyprland settings adjustments

pull/347/head
JaKooLit 2 years ago
parent
commit
0d77d8a0b2
  1. 113
      config/hypr/UserConfigs/UserSettings.conf
  2. 0
      config/hypr/v2.3
  3. 8
      copy.sh

113
config/hypr/UserConfigs/UserSettings.conf

@ -3,7 +3,7 @@
# This is where you put your own settings as this will not be touched during update # This is where you put your own settings as this will not be touched during update
# if the upgrade.sh is used. # if the upgrade.sh is used.
# refer to Hyprland wiki for more info https://wiki.hyprland.org/Configuring/Variables # refer to Hyprland wiki for more info https://wiki.hyprland.org/Configuring/Variables/
# Sourcing colors generated by wallust # Sourcing colors generated by wallust
source = $HOME/.config/hypr/wallust/wallust-hyprland.conf source = $HOME/.config/hypr/wallust/wallust-hyprland.conf
@ -24,11 +24,12 @@ master {
} }
general { general {
sensitivity=1.00 sensitivity = 1.00
apply_sens_to_raw=1 border_size = 2
apply_sens_to_raw = 1
gaps_in = 6 gaps_in = 6
gaps_out = 8 gaps_out = 8
border_size = 2
resize_on_border = true resize_on_border = true
col.active_border = $color0 $color2 $color9 $color12 $color15 90deg col.active_border = $color0 $color2 $color9 $color12 $color15 90deg
@ -37,14 +38,6 @@ general {
layout = dwindle layout = dwindle
} }
group {
col.border_active = $color15
groupbar {
col.active = $color0
}
}
decoration { decoration {
rounding = 10 rounding = 10
@ -56,21 +49,22 @@ decoration {
dim_strength = 0.1 dim_strength = 0.1
dim_special = 0.8 dim_special = 0.8
drop_shadow=true drop_shadow = true
shadow_range=6 shadow_range = 6
shadow_render_power = 1 shadow_render_power = 1
col.shadow = $color12 col.shadow = $color12
col.shadow_inactive = 0x50000000 col.shadow_inactive = 0x50000000
blur { blur {
enabled = true enabled = true
size = 6 size = 6
passes = 2 passes = 2
ignore_opacity = true ignore_opacity = true
new_optimizations = true new_optimizations = true
special = true special = true
} }
} }
animations { animations {
enabled = yes enabled = yes
@ -91,37 +85,57 @@ animations {
} }
input { input {
kb_layout=us kb_layout = us
kb_variant= kb_variant =
kb_model= kb_model =
kb_options= kb_options =
kb_rules= kb_rules =
repeat_rate=50 repeat_rate = 50
repeat_delay=300 repeat_delay = 300
numlock_by_default=true numlock_by_default = true
left_handed=false left_handed = false
follow_mouse=true follow_mouse = true
float_switch_override_focus=false float_switch_override_focus = false
touchpad { touchpad {
disable_while_typing=true disable_while_typing = true
natural_scroll=false natural_scroll = false
clickfinger_behavior=false clickfinger_behavior = false
middle_button_emulation=true middle_button_emulation = true
tap-to-click=true tap-to-click = true
drag_lock=false drag_lock = false
} }
# below for devices with touchdevice ie. touchscreen
touchdevice {
enabled = true
}
# below is for table see link above for proper variables
tablet {
transform = 0
left_handed = 0
}
} }
gestures { gestures {
workspace_swipe=true workspace_swipe = true
workspace_swipe_fingers=3 workspace_swipe_fingers = 3
workspace_swipe_distance=400 workspace_swipe_distance = 400
workspace_swipe_invert=true workspace_swipe_invert = true
workspace_swipe_min_speed_to_force=30 workspace_swipe_min_speed_to_force = 30
workspace_swipe_cancel_ratio=0.5 workspace_swipe_cancel_ratio = 0.5
workspace_swipe_create_new=true workspace_swipe_create_new = true
workspace_swipe_forever=true workspace_swipe_forever = true
}
group {
col.border_active = $color15
groupbar {
col.active = $color0
}
} }
misc { misc {
@ -134,6 +148,7 @@ misc {
focus_on_activate = false focus_on_activate = false
swallow_regex = ^(kitty)$ swallow_regex = ^(kitty)$
#disable_autoreload = true #disable_autoreload = true
initial_workspace_tracking = 0
} }
binds { binds {
@ -147,7 +162,7 @@ xwayland {
force_zero_scaling = true force_zero_scaling = true
} }
# cursor section for Hyprland v0.41.0 or newer # cursor section for Hyprland >= v0.41.0
#cursor { cursor {
# enable_hyprcursor = true enable_hyprcursor = true
#} }

0
config/hypr/v2.2.14 → config/hypr/v2.3

8
copy.sh

@ -120,8 +120,8 @@ while true; do
case $confirm in case $confirm in
[yY]) [yY])
# If the detected layout is correct, update the 'kb_layout=' line in the file # If the detected layout is correct, update the 'kb_layout =' line in the file
awk -v layout="$layout" '/kb_layout/ {$0 = " kb_layout=" layout} 1' config/hypr/UserConfigs/UserSettings.conf > temp.conf awk -v layout="$layout" '/kb_layout/ {$0 = " kb_layout = " layout} 1' config/hypr/UserConfigs/UserSettings.conf > temp.conf
mv temp.conf config/hypr/UserConfigs/UserSettings.conf mv temp.conf config/hypr/UserConfigs/UserSettings.conf
echo "${NOTE} kb_layout $layout configured in settings. " 2>&1 | tee -a "$LOG" echo "${NOTE} kb_layout $layout configured in settings. " 2>&1 | tee -a "$LOG"
@ -138,8 +138,8 @@ while true; do
read -p "${CAT} - Please enter the correct keyboard layout: " new_layout read -p "${CAT} - Please enter the correct keyboard layout: " new_layout
# Update the 'kb_layout=' line with the correct layout in the file # Update the 'kb_layout =' line with the correct layout in the file
awk -v new_layout="$new_layout" '/kb_layout/ {$0 = " kb_layout=" new_layout} 1' config/hypr/UserConfigs/UserSettings.conf > temp.conf awk -v new_layout="$new_layout" '/kb_layout/ {$0 = " kb_layout = " new_layout} 1' config/hypr/UserConfigs/UserSettings.conf > temp.conf
mv temp.conf config/hypr/UserConfigs/UserSettings.conf mv temp.conf config/hypr/UserConfigs/UserSettings.conf
echo "${NOTE} kb_layout $new_layout configured in settings." 2>&1 | tee -a "$LOG" echo "${NOTE} kb_layout $new_layout configured in settings." 2>&1 | tee -a "$LOG"
break ;; break ;;

Loading…
Cancel
Save