dotfiles/hypr/hyprland.conf
2024-02-08 03:57:45 -06:00

85 lines
2.4 KiB
Plaintext
Executable File

# █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█
# █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄
# Day
monitor=DP-1, highres, 0x1080, 1, vrr, 1
monitor=DP-3, highres, 760x0, 1, vrr, 1
workspace = DP-3, 5
# Night
#monitor=DP-1, highrr, 0x0, 1, bitdepth, 10, vrr, 1
#monitor=DP-3, disable
# █░░ ▄▀█ █░█ █▄░█ █▀▀ █░█
# █▄▄ █▀█ █▄█ █░▀█ █▄▄ █▀█
$scrPath = ~/.config/hypr/scripts
exec-once = $scrPath/resetxdgportal.sh # reset XDPH for screenshare
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH
exec-once = dbus-update-activation-environment --systemd --all # for XDPH
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP # for XDPH
exec-once = /usr/lib/polkit-kde-authentication-agent-1 # authentication dialogue for GUI apps
exec-once = ~/.config/waybar/autobar.sh
exec-once = dunst # start notification demon
exec-once = swww init
exec-once = syncthing --no-browser
#exec-once = xwaylandvideobridge
exec-once = linux-discord-rich-presence -c ~/.config/linux-discord-rich-presencerc
# █▀▀ █▄░█ █░█
# ██▄ █░▀█ ▀▄▀
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
env = QT_QPA_PLATFORM,wayland
#env = QT_STYLE_OVERRIDE,kvantum
env = QT_QPA_PLATFORMTHEME,qt5ct
env = QT_WAYLAND_DISABLE_WINDOWDECORATION,1
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = MOZ_ENABLE_WAYLAND,1
# █ █▄░█ █▀█ █░█ ▀█▀
# █ █░▀█ █▀▀ █▄█ ░█░
input {
kb_layout = us
follow_mouse = 2
sensitivity = -.75 # -1.0 - 1.0, 0 means no modification.
force_no_accel = 1
}
# █░░ ▄▀█ █▄█ █▀█ █░█ ▀█▀ █▀
# █▄▄ █▀█ ░█░ █▄█ █▄█ ░█░ ▄█
workspace = DP-1, 1
dwindle {
pseudotile = yes
preserve_split = yes
}
master {
new_is_master = true
}
# █▀ █▀█ █░█ █▀█ █▀▀ █▀▀
# ▄█ █▄█ █▄█ █▀▄ █▄▄ ██▄
source = ~/.config/hypr/keybindings.conf
source = ~/.config/hypr/windowrules.conf
source = ~/.config/hypr/theme.conf
source = ~/.config/hypr/nvidia.conf # auto sourced vars for nvidia