custom-hypr - fix - drop fps when inactivity 10s

This commit is contained in:
huyjaky
2025-04-10 22:33:32 +07:00
parent 3537925aae
commit bde20ff733
31 changed files with 754 additions and 214 deletions

View File

@@ -1,2 +1,12 @@
env = GTK_IM_MODULE,fcitx
# █▄░█ █░█ █ █▀▄ █ ▄▀█
# █░▀█ ▀▄▀ █ █▄▀ █ █▀█
# See https://wiki.hyprland.org/Nvidia/
env = LIBVA_DRIVER_NAME,nvidia
env = __GLX_VENDOR_LIBRARY_NAME,nvidia
env = __GL_VRR_ALLOWED,1
env = WLR_DRM_NO_ATOMIC,1
cursor:no_hardware_cursors = true

View File

@@ -3,7 +3,11 @@
#
exec-once = corectrl
exec-once = otd-daemon # run driver veikk
exec-once = fcitx5
exec-once=fcitx5-remote -r
exec-once=fcitx5 -d --replace
exec-once=fcitx5-remote -r
exec-once = warp-taskbar
# exec-once = sway
@@ -11,7 +15,6 @@ exec-once = waybar -c ~/.config/waybar/primary_screen/config.jsonc
exec-once = waybar -c ~/.config/waybar/secondary_screen/config.jsonc
# exec-once = waybar
exec = gsettings set org.gnome.desktop.interface icon-theme 'Nordzy'
exec = gsettings set org.gnome.desktop.interface cursor-theme 'Gruvbox'

View File

@@ -2,7 +2,7 @@
# Here's a list of every variable: https://wiki.hyprland.org/Configuring/Variables/
monitor = DP-1, highres, 0x0, 1
monitor = HDMI-A-1, highres, 1920x0, 1
monitor = HDMI-A-2, highres, 1920x0, 1
workspace = 1, monitor:DP-1,
workspace = 3, monitor:DP-1,
@@ -11,11 +11,11 @@ workspace = 7, monitor:DP-1,
workspace = 9, monitor:DP-1,
workspace = 2, monitor:HDMI-A-1,
workspace = 4, monitor:HDMI-A-1,
workspace = 6, monitor:HDMI-A-1,
workspace = 8, monitor:HDMI-A-1,
workspace = 10, monitor:HDMI-A-1,
workspace = 2, monitor:HDMI-A-2,
workspace = 4, monitor:HDMI-A-2,
workspace = 6, monitor:HDMI-A-2,
workspace = 8, monitor:HDMI-A-2,
workspace = 10, monitor:HDMI-A-2,
#
#
@@ -23,6 +23,7 @@ workspace = 10, monitor:HDMI-A-1,
decoration {
blur {
enabled = false
new_optimizations = false
}
# drop_shadow = false
shadow {
@@ -39,7 +40,10 @@ input {
repeat_rate = 55
}
animations {
# enabled=false
first_launch_animation = false
}
general {
# Gaps and border
@@ -51,8 +55,6 @@ general {
col.active_border = rgba(0DB7D4FF) rgba(7AA2F7FF) rgba(9778D0FF) rgb(24C6DC) rgb(93EDC7) 45deg
col.inactive_border = rgba(12131CFF)
# Functionality
# resize_on_border = true
layout = master
}
@@ -61,10 +63,11 @@ master {
}
misc {
vrr = 0
vfr = true
disable_hyprland_logo = true
disable_splash_rendering = true
vrr = 1
vfr = false
# disable_hyprland_logo = true
# disable_splash_rendering = false
animate_manual_resizes = true
force_default_wallpaper = 0
background_color = rgba(12131CFF)
new_window_takes_over_fullscreen = 2

View File

@@ -50,17 +50,19 @@ bind = Shift+Alt, F, fullscreen, 0
bind = Alt, E, exec, nautilus --new-window # Launch Nautilus (file manager)
bind = Alt, T, exec, kitty
bind = Alt, B, exec, thorium-browser --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime # phai them cai nay vao no moi chay tren wayland chuan xac duoc
bind = Alt, B, exec, thorium-browser
bind = Shift+Alt, B, exec, brave
bind = Alt, O, exec, obsidian --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --wayland-text-input-v3
bind = Alt, V, exec, vesktop --enable-features=UseOzonePlatform --ozone-platform=wayland --enable-wayland-ime --wayland-text-input-v3
bind = Alt, O, exec, obsidian
bind = Alt+Shift, V, exec, vesktop
bind = Alt, V, exec, pkill -x rofi || $scrPath/cliphist.sh c # launch clipboard
bind = Alt, N, exec, swaync-client -t
bind = Alt+Shift, N, exec, dunstctl close-all
bind = SUPER, SUPER_L, exec, pkill -x rofi || $scrPath/rofilaunch.sh w # launch application launcher
bind = SUPER, Tab, exec, pkill -x rofi || $scrPath/rofilaunch.sh d # launch window switcher
bind = SUPER, SUPER_L, exec, pkill -x rofi || $scrPath/rofilaunch.sh d # launch application launcher
bind = SUPER, Tab, exec, pkill -x rofi || $scrPath/rofilaunch.sh w # launch window switcher
bind = SUPER, L, exec, swaylock # launch lock screen
bind = Ctrl+SUPER, Ctrl+SUPER_L, exec, rofi