Krolyxon
Commit 3d722ad

Branches

Refs →

dotfiles-x113d722ad

hyprland: add some important variables, use gammastep

Author
krolxon
Date
2025-08-09 22:57 +0530
Parent
28b8728
Commit
3d722ad787af0f4946507c04d38cde8d5ae6393b

+39 −17

1 file changed

  1. M .config/hypr/hyprland.conf +39 −17
M .config/hypr/hyprland.conf View
@@ -1,22 +1,18 @@
11 autogenerated = 0
22
3−# source = ~/.config/hypr/monitors.conf
4−
5−
63 ###################
74 ### MY PROGRAMS ###
85 ###################
96 $terminal = alacritty
107 $fileManager = pcmanfm
11−# $menu = rofi -show drun
12−$menu = rofi -show drun
13−$browser = brave
8+$menu = rofi -show run
9+$browser = zen-browser
1410
1511
1612 #################
1713 ### AUTOSTART ###
1814 #################
19−exec-once = (hyprpm reload -n & kanshi & waybar & hyprpaper & swaync & hyprsunset & hypridle)
15+exec-once = (hyprpm reload -n & kanshi & waybar & hyprpaper & swaync & gammastep & hypridle)
2016 exec-once = systemctl --user start hyprpolkitagent
2117
2218 plugin {
@@ -33,12 +29,24 @@ plugin {
3329 env = HYPRSHOT_DIR,/home/krolyxon/pix/ss/
3430 env = XCURSOR_SIZE,24
3531 env = HYPRCURSOR_SIZE,24
32+env = GTK_THEME,Arc-Dark
3633
3734 # XDG Specifications
3835 env = XDG_CURRENT_DESKTOP,Hyprland
3936 env = XDG_SESSION_TYPE,wayland
4037 env = XDG_SESSION_DESKTOP,Hyprland
4138
39+# Toolkit
40+env = GDK_BACKEND,wayland,x11,* # GTK: Use Wayland if available; if not, try X11 and then any other GDK backend.
41+env = QT_QPA_PLATFORM,wayland;xcb # Qt: Use Wayland if available, fall back to X11 if not
42+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
43+env = CLUTTER_BACKEND,wayland # Clutter applications to try and use the Wayland backend
44+
45+# Nvidia
46+# env = GBM_BACKEND,nvidia-drm
47+# env = __GLX_VENDOR_LIBRARY_NAME,nvidia
48+# env = LIBVA_DRIVER_NAME,nvidia
49+
4250 #######################
4351 ### PLUGIN SETTINGS ###
4452 #######################
@@ -61,6 +69,7 @@ ecosystem {
6169 }
6270
6371 permission = /usr/(bin|local/bin)/grim, screencopy, allow
72+permission = /usr/(bin|local/bin)/hyprlock, screencopy, allow
6473 permission = /usr/(lib|libexec|lib64)/xdg-desktop-portal-hyprland, screencopy, allow
6574 permission = /usr/(bin|local/bin)/hyprpm, plugin, allow
6675 permission = ${lib.escapeRegex (lib.getExe config.programs.hyprlock.package)}, screencopy, allow
@@ -86,16 +95,21 @@ decoration {
8695 rounding = 8
8796
8897
89− blur {
90− enabled = false
91− size = 3
92− passes = 1
93− }
98+ # blur {
99+ # enabled = false
100+ # size = 3
101+ # passes = 1
102+ # }
103+
94104
95− # drop_shadow = yes
96− # shadow_range = 4
97− # shadow_render_power = 3
98− # col.shadow = rgba(1a1a1aee)
105+ # blur {
106+ # enabled = true
107+ # size = 3
108+ # passes = 3
109+ # new_optimizations = true
110+ # vibrancy = 0.1696
111+ # ignore_opacity = true
112+ # }
99113 }
100114
101115 animations {
@@ -136,6 +150,12 @@ master {
136150 misc {
137151 force_default_wallpaper = -1 # Set to 0 or 1 to disable the anime mascot wallpapers
138152 disable_hyprland_logo = true# If true disables the random hyprland logo / anime girl background. :(
153+ disable_splash_rendering = true
154+
155+ mouse_move_enables_dpms = true
156+ key_press_enables_dpms = true
157+
158+ vrr = 0 # Disable adaptive sync
139159 }
140160
141161
@@ -194,6 +214,8 @@ bind = $mainMod SHIFT, P, pseudo, # dwindle
194214 bind = $mainMod, J, togglesplit, # dwindle
195215 binde = $mainMod, tab, cyclenext, prev
196216 bind = $mainMod, b, exec, killall waybar || waybar
217+bind = $mainMod, grave, exec, rofiunicode
218+bind = $mainMod, escape, exec, sysact
197219
198220 # Applications
199221 bind = $mainMod, W, exec, $browser
@@ -202,7 +224,7 @@ bind = $mainMod, W, exec, $browser
202224 bind = $mainMod, m, exec, $terminal -e "ncmpcpp"
203225 bind = $mainMod, p, exec, mpc toggle
204226 binde = $mainMod, comma, exec, mpc seek -10
205−bind = $mainMod, period, exec, mpc seek +10
227+binde = $mainMod, period, exec, mpc seek +10
206228
207229 # Swap current focused window with master
208230 bind = $mainMod, space, layoutmsg, swapwithmaster