hyprland: update to latest config

This commit is contained in:
Trianta
2024-05-09 01:39:11 -05:00
parent 5a03cddbe9
commit 0fb1e8fcee
6 changed files with 134 additions and 102 deletions
+50 -40
View File
@@ -2,12 +2,12 @@
# █░▀░█ █▄█ █░▀█ █ ░█░ █▄█ █▀▄
# Single
monitor=DP-3, highrr, 0x0, 1, vrr, 1
monitor=DP-3, highrr, 0x0, 1, vrr, 0
monitor=DP-1, disable
# Double
#monitor=DP-3, highrr, 0x1080, 1, vrr, 1
#monitor=DP-1, highrr, 760x0, 1, vrr, 1
#monitor=DP-3, highrr, 0x1080, 1, vrr, 0
#monitor=DP-1, highrr, 760x0, 1, vrr, 0
@@ -15,53 +15,44 @@ monitor=DP-1, 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
# reset XDPH for screenshare
exec-once = $scrPath/resetxdgportal.sh
# for XDPH
exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = dbus-update-activation-environment --systemd --all
exec-once = systemctl --user import-environment WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# authentication dialogue for GUI apps
exec-once = /usr/lib/polkit-kde-authentication-agent-1
# xrandr settings
exec-once = $scrPath/xrandr.sh
exec-once = waybar -c ~/.config/waybar/config
exec-once = dunst # start notification demon
exec-once = dunst
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
}
# Main applications
exec-once = discord
exec-once = spotify --disable-gpu
exec-once = alacritty
exec-once = firefox
exec-once = taskset -c 1-7 mangohud steam-runtime
# █░░ ▄▀█ █▄█ █▀█ █░█ ▀█▀ █▀
# █▄▄ █▀█ ░█░ █▄█ █▄█ ░█░ ▄█
workspace = 1, monitor:DP-3
workspace = 5, monitor:DP-1
exec-once = xrandr --output DP-3 --primary # Set primary monitor for xwayland
workspace = 1, monitor:DP-3, persistent:true, gapsout:0 440 0 440, default:true
workspace = 2, monitor:DP-3, persistent:true, gapsout:0 440 0 440
workspace = 3, monitor:DP-3, persistent:true, gapsout:0 440 0 440
workspace = 4, monitor:DP-3, persistent:true
workspace = 5, monitor:DP-3, persistent:true
workspace = 6, monitor:DP-1, persistent:true
dwindle {
pseudotile = yes
@@ -83,6 +74,25 @@ xwayland {
# █ █▄░█ █▀█ █░█ ▀█▀
# █ █░▀█ █▀▀ █▄█ ░█░
input {
kb_layout = us
follow_mouse = 2
mouse_refocus = false;
sensitivity = -.75 # -1.0 - 1.0, 0 means no modification.
force_no_accel = 1
}
device {
name = opentabletdriver-virtual-tablet
enabled = yes
}
# █▀ █▀█ █░█ █▀█ █▀▀ █▀▀
# ▄█ █▄█ █▄█ █▀▄ █▄▄ ██▄