update env

This commit is contained in:
Benjamin Palko 2025-08-20 10:24:02 -04:00
parent 4eb550a7bf
commit 7786fe7782
3 changed files with 19 additions and 15 deletions

View file

@ -1,27 +1,22 @@
# -----------------------------------------------------
# Environment Variables
# name: "Nvidia"
# -----------------------------------------------------
# https://wiki.hyprland.org/Nvidia/
# General
env = XDG_SESSION_TYPE,wayland
env = QT_QPA_PLATFORM,wayland
# Nvidia
# https://wiki.hyprland.org/Nvidia/
env = LIBVA_DRIVER_NAME,nvidia
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = NVD_BACKEND,direct
env = ELECTRON_OZONE_PLATFORM_HINT,auto
env = XDG_SESSION_TYPE,wayland
env = GBM_BACKEND,nvidia-drm
cursor {
no_hardware_cursors = true
}
env = XCURSOR_SIZE,24
env = QT_QPA_PLATFORM,wayland
env = WLR_NO_HARDWARE_CURSORS,1
env = __GL_VRR_ALLOWED,1
env = WLR_DRM_NO_ATOMIC,1
# Electron
env = ELECTRON_OZONE_PLATFORM_HINT,auto
# Themes
env = GTK_THEME,WhiteSur-Dark
@ -29,11 +24,16 @@ env = ICON_THEME,WhiteSur-Dark
env = COLOR_SCHEME,prefer-dark
#Cursors
cursor {
no_hardware_cursors = true
}
env = XCURSOR_THEME,Volantes Cursors
env = XCURSOR_SIZE,24
env = HYPRCURSOR_THEME,Volantes Cursors
env = HYPRCURSOR_SIZE,24
exec-once = hyprctl setcursor $cursorTheme $cursorSize
exec-once = gsettings set org.gnome.desktop.interface cursor-theme '$cursorTheme'
exec-once = gsettings set org.gnome.desktop.interface cursor-size $cursorSize
# Fonts
env = FONT_NAME,JetBrainsMono Nerd Font 24
@ -41,3 +41,6 @@ env = DOCUMENT_FONT_NAME,Cantarell 24
env = MONOSPACE_FONT_NAME,JetBrainsMono Nerd Font 5
env = FONT_ANTIALIASING,rgba
env = FONT_HINTING,full
# uwsm/app2unit
env = APP2UNIT_SLICES,'a=app-graphical.slice b=background-graphical.slice s=session-graphical.slice'

View file

@ -16,6 +16,7 @@ exec-once = [workspace 2 silent] discord --enable-features=UseOzonePlatform --oz
exec-once = [workspace 2 silent] signal-desktop --password-store="gnome-libsecret"
exec-once = [workspace 3 silent] zen-browser
exec-once = [workspace 4 silent] kitty
exec-once = [workspace 5 silent] steam
exec-once = [workspace special:terminal silent] kitty
exec-once = [workspace special:music silent] tidal-hifi --enable-features=UseOzonePlatform --ozone-platform=wayland

@ -1 +1 @@
Subproject commit 3e1eb1b0148bfaefd4bcac846370cf37db5dfbba
Subproject commit d71c9604a6436c9f722672a749eed705a2947311