📚 hypr: update config comments with hyprland wiki links

This commit is contained in:
retrozinndev
2025-03-21 16:09:23 -03:00
parent 5f1937a157
commit cc60e9c4cb
9 changed files with 45 additions and 20 deletions
+3
View File
@@ -3,6 +3,9 @@
## AUTOSTART ## ## AUTOSTART ##
############### ###############
# Wiki: https://wiki.hyprland.org/Configuring/Keywords/#executing
# Services/Daemons # Services/Daemons
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1 exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = systemctl enable --user --now hypridle exec-once = systemctl enable --user --now hypridle
+5
View File
@@ -1,6 +1,7 @@
############### ###############
## VARIABLES ## ## VARIABLES ##
############### ###############
# Wiki: https://wiki.hyprland.org/Hypr-Ecosystem/hyprlang#defining-variables # Wiki: https://wiki.hyprland.org/Hypr-Ecosystem/hyprlang#defining-variables
$mainMod = SUPER # The master key $mainMod = SUPER # The master key
@@ -19,9 +20,13 @@ $screenshotSelect = hyprshot -m region -o $screenshotDir
############## ##############
## BINDINGS ## ## BINDINGS ##
############## ##############
# Wiki: https://wiki.hyprland.org/Configuring/Binds # Wiki: https://wiki.hyprland.org/Configuring/Binds
# Uncomment if you want to press SUPER to launch application search
# bind = $mainMod, $mainMod_L, exec, astal toggle apps-window
bind = $mainMod, K, exec, $terminal bind = $mainMod, K, exec, $terminal
bind = $mainMod, Q, killactive bind = $mainMod, Q, killactive
bind = $mainMod, E, exec, $fm bind = $mainMod, E, exec, $fm
+4 -2
View File
@@ -1,11 +1,13 @@
source = ~/.cache/wal/colors-hypr.conf
################ ################
## DECORATION ## ## DECORATION ##
################ ################
# See https://wiki.hyprland.org/Configuring/Variables for more information on how to configure appearance # See https://wiki.hyprland.org/Configuring/Variables for more information on how to configure appearance
source = ~/.cache/wal/colors-hypr.conf
general { general {
gaps_in = 6 gaps_in = 6
@@ -61,7 +63,7 @@ decoration {
animations { animations {
enabled = true enabled = true
# Beziers # Beziers (yeah, I need better names)
bezier = myBezier, 0.05, 0.9, 0.1, 1.05 bezier = myBezier, 0.05, 0.9, 0.1, 1.05
bezier = amazingBezier, 0.25, 0.59, 0.1, 1.05 bezier = amazingBezier, 0.25, 0.59, 0.1, 1.05
bezier = popinBezier, 0.5, .1, .05, 1.0 bezier = popinBezier, 0.5, .1, .05, 1.0
+2
View File
@@ -3,6 +3,8 @@
## ENVIRONMENT ## ## ENVIRONMENT ##
################# #################
# Wiki: https://wiki.hyprland.org/Configuring/Keywords/#setting-the-environment
# XDG Vars # XDG Vars
env = XDG_CONFIG_HOME, $HOME/.config env = XDG_CONFIG_HOME, $HOME/.config
env = XDG_CACHE_HOME, $HOME/.cache env = XDG_CACHE_HOME, $HOME/.cache
+4 -2
View File
@@ -1,10 +1,12 @@
# Source colors from pywal
source = ~/.cache/wal/colors-hypr.conf
############## ##############
# LOCKSCREEN # # LOCKSCREEN #
############## ##############
# Source colors from pywal # Wiki: https://wiki.hyprland.org/Hypr-Ecosystem/hyprlock
source = ~/.cache/wal/colors-hypr.conf
# Fonts # Fonts
$font = Cantarell Regular $font = Cantarell Regular
+9 -1
View File
@@ -1,4 +1,12 @@
############
## LAYOUT ##
############
# Wiki: https://wiki.hyprland.org/Configuring/Dwindle-Layout/#config
dwindle { dwindle {
pseudotile = true pseudotile = false
preserve_split = true preserve_split = true
smart_resizing = true
} }
+6 -6
View File
@@ -3,15 +3,15 @@
## MONITORS ## ## MONITORS ##
############## ##############
# Configure yout monitor(s) here! See https://wiki.hyprland.org/Configuring/Monitors for more information on how to do that! # Wiki: https://wiki.hyprland.org/Configuring/Monitors
# Monitor Arguments
# Monitor
# arg0 -> monitor name(you can get monitor names with `hyprctl monitors`); # arg0 -> monitor name(you can get monitor names with `hyprctl monitors`);
# arg1 -> resolution@hertz; # arg1 -> resolution@hertz;
# arg2 -> positioning from the top-left corner; # arg2 -> positioning from the top-left corner;
# arg3 -> scaling; # arg3 -> scaling;
# arg4 -> variable refresh rate for games(optional); # arg4 -> variable refresh rate(optional);
# arg5 -> 1: vrr enabled, 0: no vrr. # - arg0 -> 1: vrr, 0: no vrr.
monitor = HDMI-A-1, 1920x1080@75, 0x0, 1, vrr, 1
monitor = HDMI-A-1, 1920x1080@75, 0x0, 1, vrr, 0
+7 -5
View File
@@ -1,13 +1,15 @@
##################### ##################
## NVIDIA SETTINGS ## ## NVIDIA STUFF ##
##################### ##################
# Wiki: https://wiki.hyprland.org/Configuring/Environment-variables/#nvidia-specific
env = LIBVA_DRIVER_NAME, nvidia env = LIBVA_DRIVER_NAME, nvidia
env = __GLX_VENDOR_LIBRARY_NAME, nvidia env = __GLX_VENDOR_LIBRARY_NAME, nvidia
env = NVD_BACKEND, direct env = NVD_BACKEND, direct
cursor { cursor {
# Set to true if you have issues no_hardware_cursors = false # Set to true/false if you have issues
no_hardware_cursors = false
} }
+5 -4
View File
@@ -1,10 +1,10 @@
############# ############################
## RULES ## ## WINDOW & LAYER RULES ##
############# ############################
# See https://wiki.hyprland.org/Configuring/Window-Rules for # See https://wiki.hyprland.org/Configuring/Window-Rules for
# more information on how to configure this # more information on how to do this
# Floating windows # Floating windows
windowrulev2 = float, class:moe.launcher.* windowrulev2 = float, class:moe.launcher.*
@@ -76,6 +76,7 @@ layerrule = blur, logout-menu
layerrule = blur, runner layerrule = blur, runner
layerrule = blur, ask-popup layerrule = blur, ask-popup
layerrule = blur, floating-notifications layerrule = blur, floating-notifications
layerrule = blur, apps-window
layerrule = ignorealpha .7, runner layerrule = ignorealpha .7, runner
layerrule = ignorealpha .6, eww-volume layerrule = ignorealpha .6, eww-volume
layerrule = ignorealpha .55, eww-bar layerrule = ignorealpha .55, eww-bar