summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkrolxon <krolyxon@tutanota.com>2025-08-09 22:57:59 +0530
committerkrolxon <krolyxon@tutanota.com>2025-08-09 22:57:59 +0530
commit3d722ad787af0f4946507c04d38cde8d5ae6393b (patch)
tree34be509998fccbacdfc43626e77ad8fa1d569af5
parent28b8728c0f1825a252a0ad6ab0a5d6f30683cf75 (diff)
hyprland: add some important variables, use gammastep
-rw-r--r--.config/hypr/hyprland.conf56
1 files changed, 39 insertions, 17 deletions
diff --git a/.config/hypr/hyprland.conf b/.config/hypr/hyprland.conf
index b433c45..4f36865 100644
--- a/.config/hypr/hyprland.conf
+++ b/.config/hypr/hyprland.conf
@@ -1,22 +1,18 @@
autogenerated = 0
-# source = ~/.config/hypr/monitors.conf
-
-
###################
### MY PROGRAMS ###
###################
$terminal = alacritty
$fileManager = pcmanfm
-# $menu = rofi -show drun
-$menu = rofi -show drun
-$browser = brave
+$menu = rofi -show run
+$browser = zen-browser
#################
### 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
plugin {
@@ -33,12 +29,24 @@ plugin {
env = HYPRSHOT_DIR,/home/krolyxon/pix/ss/
env = XCURSOR_SIZE,24
env = HYPRCURSOR_SIZE,24
+env = GTK_THEME,Arc-Dark
# XDG Specifications
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
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 ###
#######################
@@ -61,6 +69,7 @@ ecosystem {
}
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/(bin|local/bin)/hyprpm, plugin, allow
permission = ${lib.escapeRegex (lib.getExe config.programs.hyprlock.package)}, screencopy, allow
@@ -86,16 +95,21 @@ decoration {
rounding = 8
- blur {
- enabled = false
- size = 3
- passes = 1
- }
+ # blur {
+ # enabled = false
+ # size = 3
+ # passes = 1
+ # }
+
- # drop_shadow = yes
- # shadow_range = 4
- # shadow_render_power = 3
- # col.shadow = rgba(1a1a1aee)
+ # blur {
+ # enabled = true
+ # size = 3
+ # passes = 3
+ # new_optimizations = true
+ # vibrancy = 0.1696
+ # ignore_opacity = true
+ # }
}
animations {
@@ -136,6 +150,12 @@ master {
misc {
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_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
binde = $mainMod, tab, cyclenext, prev
bind = $mainMod, b, exec, killall waybar || waybar
+bind = $mainMod, grave, exec, rofiunicode
+bind = $mainMod, escape, exec, sysact
# Applications
bind = $mainMod, W, exec, $browser
@@ -202,7 +224,7 @@ bind = $mainMod, W, exec, $browser
bind = $mainMod, m, exec, $terminal -e "ncmpcpp"
bind = $mainMod, p, exec, mpc toggle
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
bind = $mainMod, space, layoutmsg, swapwithmaster