dotfiles/hypr/hyprland.conf
2024-04-17 04:25:01 -05:00

94 lines
2.6 KiB
Plaintext
Executable File

# █▀▄▀█ █▀█ █▄░█ █ ▀█▀ █▀█ █▀█
# █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄
# Single
monitor=DP-3, highrr, 0x0, 1, vrr, 1
monitor=DP-1, disable
# Double
#monitor=DP-3, highrr, 0x1080, 1, vrr, 1
#monitor=DP-1, highrr, 760x0, 1, vrr, 1
# █░░ ▄▀█ █░█ █▄░█ █▀▀ █░█
# █▄▄ █▀█ █▄█ █░▀█ █▄▄ █▀█
$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 = waybar -c ~/.config/waybar/config
exec-once = dunst # start notification demon
exec-once = swww init
exec-once = syncthing --no-browser
# █▀▀ █▄░█ █░█
# ██▄ █░▀█ ▀▄▀
env = XDG_CURRENT_DESKTOP,Hyprland
env = XDG_SESSION_TYPE,wayland
env = XDG_SESSION_DESKTOP,Hyprland
#env = QT_QPA_PLATFORM,wayland;xcb
#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 = 1, monitor:DP-3
workspace = 5, monitor:DP-1
exec-once = xrandr --output DP-3 --primary # Set primary monitor for xwayland
dwindle {
pseudotile = yes
preserve_split = yes
}
master {
new_is_master = true
}
xwayland {
# latest configuration
# use_nearset_neighbor = true
# force_zero_scaling = true
# current configuration
use_nearest_neighbor = false
force_zero_scaling = false
}
# █▀ █▀█ █░█ █▀█ █▀▀ █▀▀
# ▄█ █▄█ █▄█ █▀▄ █▄▄ ██▄
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