nixos-configs/devices/binto/config/hypr/main.conf

39 lines
917 B
Text

# Autostart programs
exec-once = ags
exec-once = sleep 6; nextcloud --background
exec-once = sleep 10; tmux new-session -s gsr -d 'bash -c $HOME/.config/gsr.sh'
# TODO: add gpu-save-replay bind
## fix fullscreen game resolution
exec-once = xrandr --output DP-5 --primary
## Special window apps
exec-once = [workspace special:thunder silent] thunderbird
windowrule = workspace special:thunder silent,^(thunderbird)$
bind = $mainMod, T, togglespecialworkspace, thunder
exec-once = [workspace special:spot silent] spotify
windowrule = workspace special:spot silent,^(Spotify)$
bind = $mainMod, S, togglespecialworkspace, spot
# Input settings
device:razer-razer-naga-pro {
sensitivity = -0.5
accel_profile = "flat"
}
# Binds
bind = Alt Shift, Tab, cyclenext
bind = $mainMod, D, exec, killall -r wofi || wofi --show drun
# Rules
windowrule = tile,^(firefox)$
# Cosmetic
general {
border_size = 0
}