feat: hyprland fix error on new version & change wallpaper to video wallpaper

This commit is contained in:
grassblock 2025-01-17 13:54:22 +08:00
parent 2976fbab63
commit fadb073153
5 changed files with 140 additions and 16 deletions

View file

@ -18,22 +18,22 @@ monitor=,preferred,auto,auto
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
# Execute your favorite apps at launch
# Execute apps & services at launch
#exec-once = sleep 1 & dbus-update-activation-environment --systemd --all # now uses uwsm instead
exec-once = waybar & hypridle & hyprpaper
exec-once = wlsunset -l 39.2 -L 118.6
exec-once = /usr/lib/polkit-gnome/polkit-gnome-authentication-agent-1
exec-once = mako
exec-once = fcitx5 -d --replace
exec-once = XDG_MENU_PREFIX, plasma- #this fix dolphin open with
exec-once = wl-paste --watch cliphist store #Stores only text data
exec-once = wl-paste --type image --watch cliphist store
exec-once = udiskie --appindicator --no-automount # show appindicator but don't mount devices
exec-once = dbus-update-activation-environment --systemd --all
exec-once = echo 'Xft.dpi:144' | xrdb -merge
exec-once = echo 'Xft.dpi:144' | xrdb -merge # fix xwayland scaling
exec-once = /home/grassblock/.config/hypr/scripts/video-wallpaper
# Source a file (multi-file configs)
# source = ~/.config/hypr/myColors.conf
source = ~/.config/hypr/conf/env.conf # This imports the environment varibles
# Set programs that you use
$terminal = kitty
@ -45,15 +45,16 @@ env = HYPRCURSOR_THEME,Bibata-Modern-Ice
env = HYPRCURSOR_SIZE,24
env = XCURSOR_SIZE,24
env = XCURSOR_THEME,Bibata-Modern-Ice
env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt6ct if you have that
env = QT_QPA_PLATFORMTHEME,qt6ct # change to qt5ct if you only have that
#env = QT_STYLE_OVERRIDE,kvantum #ignore for kde applications crashing
#env = GTK_THEME,Nordic-bluish-dark #ignore for libadwaita applications
env = ICON_THEME,Papirus-Dark
#env = ICON_THEME,Papirus-Dark
#env = QT_SCALE_FACTOR_ROUNDING_POLICY,Passthrough
env = QT_AUTO_SCREEN_SCALE_FACTOR,1
env = LANG,zh_CN.UTF-8
env = LANG,en_GB.UTF-8
env = XDG_SESSION_DESKTOP,Hyprland
env = XDG_MENU_PREFIX,arch-
#env = XDG_MENU_PREFIX, plasma-
env = XDG_MENU_PREFIX,arch- #this fix dolphin open with
# For all categories, see https://wiki.hyprland.org/Configuring/Variables/
input {
@ -98,10 +99,14 @@ decoration {
passes = 1
}
drop_shadow = yes
shadow_range = 4
shadow_render_power = 3
col.shadow = rgba(1a1a1aee)
#dim_inactive = true
shadow {
enabled = true
range = 4
render_power = 3
color =rgba(1a1a1aee)
}
}
animations {
@ -153,7 +158,7 @@ misc {
# Example windowrule v2
# windowrulev2 = float,class:^(kitty)$,title:^(kitty)$
# See https://wiki.hyprland.org/Configuring/Window-Rules/ for more
windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
#windowrulev2 = suppressevent maximize, class:.* # You'll probably like this.
windowrule = pseudo,fcitx
# waylyrics windowrule for desktop lyrics
windowrulev2 = float,class:(io.github.waylyrics.Waylyrics)
@ -170,14 +175,21 @@ windowrulev2 = noborder,class:(Waydroid)
windowrulev2 = noshadow,class:(Waydroid)
windowrulev2 = nomaxsize,class:(Waydroid)
# shimeji
windowrule = float, com-group_finity-mascot-Main
windowrule = noblur, com-group_finity-mascot-Main
windowrule = nofocus, com-group_finity-mascot-Main
windowrule = noshadow, com-group_finity-mascot-Main
windowrule = noborder, com-group_finity-mascot-Main
# See https://wiki.hyprland.org/Configuring/Keywords/ for more
$mainMod = SUPER
# Example binds, see https://wiki.hyprland.org/Configuring/Binds/ for more
bind = $mainMod, Q, exec, $terminal
bind = $mainMod, K, exec, $terminal
bind = $mainMod, C, killactive,
bind = $mainMod, M, exit,
bind = ALT, F4, killactive,
#bind = $mainMod, M, exit,
bind = $mainMod, E, exec, $fileManager
bind = $mainMod, F, togglefloating,
bind = $mainMod, R, exec, $menu