hyprland: add some important variables, use gammastep

This commit is contained in:
krolxon 2025-08-09 22:57:59 +05:30
parent 28b8728c0f
commit 3d722ad787
1 changed files with 39 additions and 17 deletions

View File

@ -1,22 +1,18 @@
autogenerated = 0 autogenerated = 0
# source = ~/.config/hypr/monitors.conf
################### ###################
### MY PROGRAMS ### ### MY PROGRAMS ###
################### ###################
$terminal = alacritty $terminal = alacritty
$fileManager = pcmanfm $fileManager = pcmanfm
# $menu = rofi -show drun $menu = rofi -show run
$menu = rofi -show drun $browser = zen-browser
$browser = brave
################# #################
### AUTOSTART ### ### AUTOSTART ###
################# #################
exec-once = (hyprpm reload -n & kanshi & waybar & hyprpaper & swaync & hyprsunset & hypridle) exec-once = (hyprpm reload -n & kanshi & waybar & hyprpaper & swaync & gammastep & hypridle)
exec-once = systemctl --user start hyprpolkitagent exec-once = systemctl --user start hyprpolkitagent
plugin { plugin {
@ -33,12 +29,24 @@ plugin {
env = HYPRSHOT_DIR,/home/krolyxon/pix/ss/ env = HYPRSHOT_DIR,/home/krolyxon/pix/ss/
env = XCURSOR_SIZE,24 env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24 env = HYPRCURSOR_SIZE,24
env = GTK_THEME,Arc-Dark
# XDG Specifications # XDG Specifications
env = XDG_CURRENT_DESKTOP,Hyprland env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland env = XDG_SESSION_DESKTOP,Hyprland
# Toolkit
env = GDK_BACKEND,wayland,x11,* # GTK: Use Wayland if available; if not, try X11 and then any other GDK backend.
env = QT_QPA_PLATFORM,wayland;xcb # Qt: Use Wayland if available, fall back to X11 if not
env = SDL_VIDEODRIVER,Wayland # Run SDL2 applications on Wayland. Remove or set to x11 if games that provide older versions of SDL cause compatibility issues
env = CLUTTER_BACKEND,wayland # Clutter applications to try and use the Wayland backend
# Nvidia
# env = GBM_BACKEND,nvidia-drm
# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
# env = LIBVA_DRIVER_NAME,nvidia
####################### #######################
### PLUGIN SETTINGS ### ### PLUGIN SETTINGS ###
####################### #######################
@ -61,6 +69,7 @@ ecosystem {
} }
permission = /usr/(bin|local/bin)/grim, screencopy, allow permission = /usr/(bin|local/bin)/grim, screencopy, allow
permission = /usr/(bin|local/bin)/hyprlock, screencopy, allow
permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
permission = /usr/(bin|local/bin)/hyprpm, plugin, allow permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
permission = ${lib.escapeRegex (lib.getExe config.programs.hyprlock.package)}, screencopy, allow permission = ${lib.escapeRegex (lib.getExe config.programs.hyprlock.package)}, screencopy, allow
@ -86,16 +95,21 @@ decoration {
rounding = 8 rounding = 8
blur { # blur {
enabled = false # enabled = false
size = 3 # size = 3
passes = 1 # passes = 1
} # }
# drop_shadow = yes
# shadow_range = 4 # blur {
# shadow_render_power = 3 # enabled = true
# col.shadow = rgba(1a1a1aee) # size = 3
# passes = 3
# new_optimizations = true
# vibrancy = 0.1696
# ignore_opacity = true
# }
} }
animations { animations {
@ -136,6 +150,12 @@ master {
misc { misc {
force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
disable_hyprland_logo = true# If true disables the random hyprland logo / anime girl background. :( disable_hyprland_logo = true# If true disables the random hyprland logo / anime girl background. :(
disable_splash_rendering = true
mouse_move_enables_dpms = true
key_press_enables_dpms = true
vrr = 0 # Disable adaptive sync
} }
@ -194,6 +214,8 @@ bind = $mainMod SHIFT, P, pseudo, # dwindle
bind = $mainMod, J, togglesplit, # dwindle bind = $mainMod, J, togglesplit, # dwindle
binde = $mainMod, tab, cyclenext, prev binde = $mainMod, tab, cyclenext, prev
bind = $mainMod, b, exec, killall waybar || waybar bind = $mainMod, b, exec, killall waybar || waybar
bind = $mainMod, grave, exec, rofiunicode
bind = $mainMod, escape, exec, sysact
# Applications # Applications
bind = $mainMod, W, exec, $browser bind = $mainMod, W, exec, $browser
@ -202,7 +224,7 @@ bind = $mainMod, W, exec, $browser
bind = $mainMod, m, exec, $terminal -e "ncmpcpp" bind = $mainMod, m, exec, $terminal -e "ncmpcpp"
bind = $mainMod, p, exec, mpc toggle bind = $mainMod, p, exec, mpc toggle
binde = $mainMod, comma, exec, mpc seek -10 binde = $mainMod, comma, exec, mpc seek -10
bind = $mainMod, period, exec, mpc seek +10 binde = $mainMod, period, exec, mpc seek +10
# Swap current focused window with master # Swap current focused window with master
bind = $mainMod, space, layoutmsg, swapwithmaster bind = $mainMod, space, layoutmsg, swapwithmaster