mirror of
https://github.com/NotXia/dotfiles.git
synced 2025-12-14 18:11:52 +01:00
Hyprland changes
This commit is contained in:
@ -5,7 +5,6 @@
|
|||||||
source = ~/.config/hypr/monitors.conf
|
source = ~/.config/hypr/monitors.conf
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#------------
|
#------------
|
||||||
# auto start
|
# auto start
|
||||||
#------------
|
#------------
|
||||||
@ -17,16 +16,15 @@ exec-once = dbus-update-activation-environment --systemd &
|
|||||||
|
|
||||||
# Wallpaper
|
# Wallpaper
|
||||||
exec-once = hyprpaper
|
exec-once = hyprpaper
|
||||||
exec-once = hypridle &
|
exec-once = hypridle
|
||||||
exec-once = waybar -c ~/.config/waybar/config &
|
exec-once = waybar -c ~/.config/waybar/config &
|
||||||
exec-once = fcitx5 -d &
|
exec-once = fcitx5 -d &
|
||||||
exec-once = mako &
|
exec-once = mako &
|
||||||
exec-once = bash -c "mkfifo /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob && tail -f /tmp/$HYPRLAND_INSTANCE_SIGNATURE.wob | wob & disown" &
|
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 = /usr/lib/polkit-kde-authentication-agent-1 &
|
||||||
exec-once=dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
# exec-once = dbus-update-activation-environment --systemd WAYLAND_DISPLAY XDG_CURRENT_DESKTOP
|
||||||
# exec-once = xdg-desktop-portal-hyprland &
|
|
||||||
exec-once = hyprctl setcursor Adwaita 20
|
exec-once = hyprctl setcursor Adwaita 20
|
||||||
|
exec-once = xwaylandvideobridge
|
||||||
|
|
||||||
#------------------------
|
#------------------------
|
||||||
# General configurations
|
# General configurations
|
||||||
@ -45,7 +43,7 @@ input {
|
|||||||
|
|
||||||
touchpad {
|
touchpad {
|
||||||
natural_scroll = yes
|
natural_scroll = yes
|
||||||
scroll_factor = 0.5
|
scroll_factor = 0.2
|
||||||
}
|
}
|
||||||
|
|
||||||
sensitivity = 0 # [-1.0 - 1.0]
|
sensitivity = 0 # [-1.0 - 1.0]
|
||||||
@ -65,7 +63,7 @@ general {
|
|||||||
|
|
||||||
layout = dwindle # master|dwindle
|
layout = dwindle # master|dwindle
|
||||||
|
|
||||||
apply_sens_to_raw = 0
|
# apply_sens_to_raw = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
decoration {
|
decoration {
|
||||||
@ -87,7 +85,7 @@ animations {
|
|||||||
}
|
}
|
||||||
|
|
||||||
dwindle {
|
dwindle {
|
||||||
no_gaps_when_only = false
|
# no_gaps_when_only = false
|
||||||
force_split = 0
|
force_split = 0
|
||||||
special_scale_factor = 0.8
|
special_scale_factor = 0.8
|
||||||
split_width_multiplier = 1.0
|
split_width_multiplier = 1.0
|
||||||
@ -175,8 +173,8 @@ bind = , XF86AudioPrev, exec, playerctl previous
|
|||||||
|
|
||||||
|
|
||||||
# Screen brightness
|
# Screen brightness
|
||||||
binde = , XF86MonBrightnessUp, 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 5%- && 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
|
# Lock screen
|
||||||
@ -194,6 +192,8 @@ bind = $mainMod, right, movefocus, r
|
|||||||
bind = $mainMod, up, movefocus, u
|
bind = $mainMod, up, movefocus, u
|
||||||
bind = $mainMod, down, movefocus, d
|
bind = $mainMod, down, movefocus, d
|
||||||
|
|
||||||
|
bind = ALT, Tab, cyclenext
|
||||||
|
|
||||||
|
|
||||||
# Window movement
|
# Window movement
|
||||||
bind = $mainMod SHIFT,left, movewindow, l
|
bind = $mainMod SHIFT,left, movewindow, l
|
||||||
@ -290,8 +290,16 @@ windowrule = move 25%-,title:^(Picture-in-Picture)$
|
|||||||
|
|
||||||
windowrule = float,nemo
|
windowrule = float,nemo
|
||||||
windowrule = move 25%-,nemo
|
windowrule = move 25%-,nemo
|
||||||
windowrule = size 960 540,nemo
|
windowrule = size 1080 540,nemo
|
||||||
|
|
||||||
windowrule = animation slide right,alacritty
|
windowrule = animation slide right,alacritty
|
||||||
|
|
||||||
windowrule = float, discord
|
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)$
|
||||||
|
|||||||
Reference in New Issue
Block a user