# Autostart
exec-once = /home/cm/linuxbox/set-xr18-2ch.sh
exec-once = sudo udisksctl mount -b /dev/sda1
exec-once = systemctl --user start hypridle
exec-once = cameractrls -d /dev/video0 -c auto_exposure=manual_mode,white_balance_automatic=0,gain_automatic=1,exposure=255,saturation=0
exec-once = ~/Games/opentrack/build/install/bin/opentrack -platform xcb

# Environmental variables
env = GBM_BACKEND, nvidia-drm
env = __GLX_VENDOR_LIBRARY_NAME, nvidia
env = DXVK_HUD,fps,compiler
env = DXVK_CONFIG,dxgi.maxDeviceMemory=6144;cachedDynamicResources=a;
env = DXVK_ENABLE_NVAPI,1

# Bindings
bind = $mainMod, D, togglespecialworkspace, discord
bind = $mainMod, W, togglespecialworkspace, web
bind = $mainMod, G, exec, sh ~/Games/star-citizen/sc-launch.sh

# Games (steam/wine/proton)
windowrulev2 = workspace emptyn, initialClass:^(.*\.exe.*|.*steam_app.*)$
# Games exceptions
windowrulev2 = workspace current, initialClass:^(explorer\.exe|rsi launcher\.exe|edlaunch\.exe)$
# Star Citizen launcher fix
windowrulev2 = move 100%-20 100%-40, initialClass:^(explorer.exe)$
