aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/fastfetch/config.jsonc2
-rw-r--r--config/hypr/UserConfigs/ENVariables.conf10
-rw-r--r--config/hypr/UserConfigs/UserSettings.conf120
-rwxr-xr-xconfig/hypr/UserScripts/QuickEdit.sh20
-rwxr-xr-xconfig/hypr/scripts/SwitchKeyboardLayout.sh4
-rw-r--r--config/hypr/v2.3 (renamed from config/hypr/v2.2.14)0
-rwxr-xr-xcopy.sh12
7 files changed, 95 insertions, 73 deletions
diff --git a/config/fastfetch/config.jsonc b/config/fastfetch/config.jsonc
index c6eb694b..ae5f1b11 100644
--- a/config/fastfetch/config.jsonc
+++ b/config/fastfetch/config.jsonc
@@ -91,6 +91,7 @@
{
"type": "gpu",
"key": "│ ├󰻑",
+ "format": "{2}",
"keyColor": "green"
},
{
@@ -122,6 +123,7 @@
{
"type": "sound",
"key": " AUDIO",
+ "format": "{2}",
"keyColor": "cyan"
},
{
diff --git a/config/hypr/UserConfigs/ENVariables.conf b/config/hypr/UserConfigs/ENVariables.conf
index ea4af035..679a94e0 100644
--- a/config/hypr/UserConfigs/ENVariables.conf
+++ b/config/hypr/UserConfigs/ENVariables.conf
@@ -27,22 +27,24 @@ env = MOZ_ENABLE_WAYLAND,1
env = ELECTRON_OZONE_PLATFORM_HINT,auto
# NVIDIA
-# This is from Hyprland Wiki. As a start, WLR_NO_HARDWARE_CURSORS 1 will be activated if nvidia gpu detected
+# This is from Hyprland Wiki. Below will be activated nvidia gpu detected
#env = LIBVA_DRIVER_NAME,nvidia
#env = __GLX_VENDOR_LIBRARY_NAME,nvidia
+#env = NVD_BACKEND,direct
+
+# additional ENV's for nvidia. Caution, activate with care
#env = GBM_BACKEND,nvidia-drm
#env = __NV_PRIME_RENDER_OFFLOAD,1
#env = __VK_LAYER_NV_optimus,NVIDIA_only
#env = WLR_DRM_NO_ATOMIC,1
-#env = NVD_BACKEND,direct
+
# FOR VM and POSSIBLY NVIDIA
-#env = WLR_NO_HARDWARE_CURSORS,1
+#env = WLR_NO_HARDWARE_CURSORS,1 # On hyprland >v0.41, now configured on variable cursor section
#env = WLR_RENDERER_ALLOW_SOFTWARE,1
# nvidia firefox (for hardware acceleration on FF)?
# check this post https://github.com/elFarto/nvidia-vaapi-driver#configuration
#env = MOZ_DISABLE_RDD_SANDBOX,1
-#env = NVD_BACKEND,direct
#env = EGL_PLATFORM,wayland \ No newline at end of file
diff --git a/config/hypr/UserConfigs/UserSettings.conf b/config/hypr/UserConfigs/UserSettings.conf
index 8d137cc8..3ec9fa43 100644
--- a/config/hypr/UserConfigs/UserSettings.conf
+++ b/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
# 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
source = $HOME/.config/hypr/wallust/wallust-hyprland.conf
@@ -18,17 +18,19 @@ dwindle {
}
master {
- new_is_master=1
+ new_is_master=1 # comment this when Hyprland release a new version or you are running the git version
+ #new_status=master # hyprland upstream or git version (next release maybe v0.41.2 or v0.42)
new_on_top=1
mfact = 0.5
}
general {
- sensitivity=1.00
- apply_sens_to_raw=1
+ sensitivity = 1.00
+ border_size = 2
+ apply_sens_to_raw = 1
gaps_in = 6
gaps_out = 8
- border_size = 2
+
resize_on_border = true
col.active_border = $color0 $color2 $color9 $color12 $color15 90deg
@@ -37,14 +39,6 @@ general {
layout = dwindle
}
-group {
- col.border_active = $color15
-
- groupbar {
- col.active = $color0
- }
-}
-
decoration {
rounding = 10
@@ -56,21 +50,22 @@ decoration {
dim_strength = 0.1
dim_special = 0.8
- drop_shadow=true
- shadow_range=6
+ drop_shadow = true
+ shadow_range = 6
shadow_render_power = 1
col.shadow = $color12
col.shadow_inactive = 0x50000000
blur {
- enabled = true
- size = 6
- passes = 2
- ignore_opacity = true
- new_optimizations = true
- special = true
+ enabled = true
+ size = 6
+ passes = 2
+ ignore_opacity = true
+ new_optimizations = true
+ special = true
}
}
+
animations {
enabled = yes
@@ -91,37 +86,57 @@ animations {
}
input {
- kb_layout=us
- kb_variant=
- kb_model=
- kb_options=
- kb_rules=
- repeat_rate=50
- repeat_delay=300
- numlock_by_default=true
- left_handed=false
- follow_mouse=true
- float_switch_override_focus=false
+ kb_layout = us
+ kb_variant =
+ kb_model =
+ kb_options =
+ kb_rules =
+ repeat_rate = 50
+ repeat_delay = 300
+ numlock_by_default = true
+ left_handed = false
+ follow_mouse = true
+ float_switch_override_focus = false
touchpad {
- disable_while_typing=true
- natural_scroll=false
- clickfinger_behavior=false
- middle_button_emulation=true
- tap-to-click=true
- drag_lock=false
+ disable_while_typing = true
+ natural_scroll = false
+ clickfinger_behavior = false
+ middle_button_emulation = true
+ tap-to-click = true
+ 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 {
- workspace_swipe=true
- workspace_swipe_fingers=3
- workspace_swipe_distance=400
- 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=true
+ workspace_swipe = true
+ workspace_swipe_fingers = 3
+ workspace_swipe_distance = 400
+ 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 = true
+}
+
+
+group {
+ col.border_active = $color15
+
+ groupbar {
+ col.active = $color0
+ }
}
misc {
@@ -134,6 +149,7 @@ misc {
focus_on_activate = false
swallow_regex = ^(kitty)$
#disable_autoreload = true
+ initial_workspace_tracking = 0
}
binds {
@@ -144,10 +160,12 @@ binds {
#Could help when scaling and not pixelating
xwayland {
- force_zero_scaling = true
+ force_zero_scaling = true
}
-# cursor section for Hyprland v0.41.0 or newer
-#cursor {
-# enable_hyprcursor = true
-#}
+# cursor section for Hyprland >= v0.41.0
+cursor {
+ no_hardware_cursors = false
+ enable_hyprcursor = true
+ warp_on_change_workspace = true # for -git or Hyprland >v0.41.1
+}
diff --git a/config/hypr/UserScripts/QuickEdit.sh b/config/hypr/UserScripts/QuickEdit.sh
index da6a8931..cd604619 100755
--- a/config/hypr/UserScripts/QuickEdit.sh
+++ b/config/hypr/UserScripts/QuickEdit.sh
@@ -9,16 +9,16 @@ configs="$HOME/.config/hypr/configs"
UserConfigs="$HOME/.config/hypr/UserConfigs"
menu(){
- printf "1. view Env-variables\n"
- printf "2. view Window-Rules\n"
- printf "3. view Startup_Apps\n"
- printf "4. view User-Keybinds\n"
- printf "5. view Monitors\n"
- printf "6. view Laptop-Keybinds\n"
- printf "7. view User-Settings\n"
- printf "8. view Workspace-Rules\n"
- printf "9. view Default-Settings\n"
- printf "10. view Default-Keybinds\n"
+ printf "1. edit Env-variables\n"
+ printf "2. edit Window-Rules\n"
+ printf "3. edit Startup_Apps\n"
+ printf "4. edit User-Keybinds\n"
+ printf "5. edit Monitors\n"
+ printf "6. edit Laptop-Keybinds\n"
+ printf "7. edit User-Settings\n"
+ printf "8. edit Workspace-Rules\n"
+ printf "9. edit Default-Settings\n"
+ printf "10. edit Default-Keybinds\n"
}
main() {
diff --git a/config/hypr/scripts/SwitchKeyboardLayout.sh b/config/hypr/scripts/SwitchKeyboardLayout.sh
index cbacd74f..55bdf997 100755
--- a/config/hypr/scripts/SwitchKeyboardLayout.sh
+++ b/config/hypr/scripts/SwitchKeyboardLayout.sh
@@ -8,7 +8,7 @@ notif="$HOME/.config/swaync/images/bell.png"
# Check if ~/.cache/kb_layout exists and create it with a default layout from Settings.conf if not found
if [ ! -f "$layout_f" ]; then
- default_layout=$(grep 'kb_layout=' "$settings_file" | cut -d '=' -f 2 | cut -d ',' -f 1 2>/dev/null)
+ default_layout=$(grep 'kb_layout = ' "$settings_file" | cut -d '=' -f 2 | cut -d ',' -f 1 2>/dev/null)
if [ -z "$default_layout" ]; then
default_layout="us" # Default to 'us' layout if Settings.conf or 'kb_layout' is not found
fi
@@ -19,7 +19,7 @@ current_layout=$(cat "$layout_f")
# Read keyboard layout settings from Settings.conf
if [ -f "$settings_file" ]; then
- kb_layout_line=$(grep 'kb_layout=' "$settings_file" | cut -d '=' -f 2)
+ kb_layout_line=$(grep 'kb_layout = ' "$settings_file" | cut -d '=' -f 2)
IFS=',' read -ra layout_mapping <<< "$kb_layout_line"
fi
diff --git a/config/hypr/v2.2.14 b/config/hypr/v2.3
index 31b3414d..31b3414d 100644
--- a/config/hypr/v2.2.14
+++ b/config/hypr/v2.3
diff --git a/copy.sh b/copy.sh
index afbe8a58..e8283488 100755
--- a/copy.sh
+++ b/copy.sh
@@ -45,15 +45,15 @@ xdg-user-dirs-update 2>&1 | tee -a "$LOG" || true
# uncommenting WLR_NO_HARDWARE_CURSORS if nvidia is detected
if lspci -k | grep -A 2 -E "(VGA|3D)" | grep -iq nvidia; then
echo "Nvidia GPU detected. Setting up proper env's" 2>&1 | tee -a "$LOG" || true
- sed -i '/env = WLR_NO_HARDWARE_CURSORS,1/s/^#//' config/hypr/UserConfigs/ENVariables.conf
sed -i '/env = LIBVA_DRIVER_NAME,nvidia/s/^#//' config/hypr/UserConfigs/ENVariables.conf
sed -i '/env = __GLX_VENDOR_LIBRARY_NAME,nvidia/s/^#//' config/hypr/UserConfigs/ENVariables.conf
+ sed -i '/env = NVD_BACKEND,direct/s/^#//' config/hypr/UserConfigs/ENVariables.conf
fi
# uncommenting WLR_RENDERER_ALLOW_SOFTWARE,1 if running in a VM is detected
if hostnamectl | grep -q 'Chassis: vm'; then
echo "System is running in a virtual machine." 2>&1 | tee -a "$LOG" || true
- sed -i '/env = WLR_NO_HARDWARE_CURSORS,1/s/^#//' config/hypr/UserConfigs/ENVariables.conf
+ sed -i 's/^\([[:space:]]*no_hardware_cursors[[:space:]]*=[[:space:]]*\)false/\1true/' config/hypr/UserConfigs/UserSettings.conf
sed -i '/env = WLR_RENDERER_ALLOW_SOFTWARE,1/s/^#//' config/hypr/UserConfigs/ENVariables.conf
sed -i '/monitor = Virtual-1, 1920x1080@60,auto,1/s/^#//' config/hypr/UserConfigs/Monitors.conf
fi
@@ -120,8 +120,8 @@ while true; do
case $confirm in
[yY])
- # 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
+ # 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
mv temp.conf config/hypr/UserConfigs/UserSettings.conf
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
- # 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
+ # 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
mv temp.conf config/hypr/UserConfigs/UserSettings.conf
echo "${NOTE} kb_layout $new_layout configured in settings." 2>&1 | tee -a "$LOG"
break ;;
send patches to the email below
yukais@pinapelz.com
include the subject [PATCH repo_name]
pinapelz.com
homepage