Hyprland changes

This commit is contained in:
2024-11-26 21:33:58 +01:00
parent b557df028e
commit b860276bf6

View File

@ -5,7 +5,6 @@
source = ~/.config/hypr/monitors.conf
#------------
# auto start
#------------
@ -17,16 +16,15 @@ exec-once = dbus-update-activation-environment --systemd &
# Wallpaper
exec-once = hyprpaper
exec-once = hypridle &
exec-once = hypridle
exec-once = waybar -c ~/.config/waybar/config &
exec-once = fcitx5 -d &
exec-once = mako &
exec-once = bash -c "mkfifo /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob && tail -f /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob | wob & disown" &
exec-once = /usr/lib/polkit-kde-authentication-agent-1 &
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
# exec-once = xdg-desktop-portal-hyprland &
# exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
exec-once = hyprctl setcursor Adwaita 20
exec-once = xwaylandvideobridge
#------------------------
# General configurations
@ -45,7 +43,7 @@ input {
touchpad {
natural_scroll = yes
scroll_factor = 0.5
scroll_factor = 0.2
}
sensitivity = 0 # [-1.0 - 1.0]
@ -65,7 +63,7 @@ general {
layout = dwindle # master|dwindle
apply_sens_to_raw = 0
# apply_sens_to_raw = 0
}
decoration {
@ -87,7 +85,7 @@ animations {
}
dwindle {
no_gaps_when_only = false
# no_gaps_when_only = false
force_split = 0
special_scale_factor = 0.8
split_width_multiplier = 1.0
@ -175,8 +173,8 @@ bind = , XF86AudioPrev, exec, playerctl previous
# Screen brightness
binde = , XF86MonBrightnessUp, exec, brightnessctl s +5% && brightnessctl -m | awk -F, '{print $4}' | tr -d % > /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob
binde = , XF86MonBrightnessDown, exec, brightnessctl s 5%- && brightnessctl -m | awk -F, '{print $4}' | tr -d % > /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob
binde = , XF86MonBrightnessUp, exec, brightnessctl s +2% && brightnessctl -m | awk -F, '{print $4}' | tr -d % > /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob
binde = , XF86MonBrightnessDown, exec, brightnessctl s 2%- && brightnessctl -m | awk -F, '{print $4}' | tr -d % > /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob
# Lock screen
@ -194,6 +192,8 @@ bind = $mainMod, right, movefocus, r
bind = $mainMod, up, movefocus, u
bind = $mainMod, down, movefocus, d
bind = ALT, Tab, cyclenext
# Window movement
bind = $mainMod SHIFT,left, movewindow, l
@ -290,8 +290,16 @@ windowrule = move 25%-,title:^(Picture-in-Picture)$
windowrule = float,nemo
windowrule = move 25%-,nemo
windowrule = size 960 540,nemo
windowrule = size 1080 540,nemo
windowrule = animation slide right,alacritty
windowrule = float, discord
windowrule = float, vesktop
# XWayland workaround
windowrulev2 = opacity 0.0 override, class:^(xwaylandvideobridge)$
windowrulev2 = noanim, class:^(xwaylandvideobridge)$
windowrulev2 = noinitialfocus, class:^(xwaylandvideobridge)$
windowrulev2 = maxsize 1 1, class:^(xwaylandvideobridge)$
windowrulev2 = noblur, class:^(xwaylandvideobridge)$