update dotfiles
This commit is contained in:
+49
-24
@@ -8,7 +8,7 @@ config-notification {
|
||||
// Outputs from existing configuration
|
||||
|
||||
output "eDP-1" {
|
||||
mode "2560x1600@165.004"
|
||||
mode "2560x1600@180"
|
||||
scale 1.5
|
||||
transform "normal"
|
||||
position x=0 y=0
|
||||
@@ -196,6 +196,12 @@ overview {
|
||||
// This line starts waybar, a commonly used bar for Wayland compositors.
|
||||
environment {
|
||||
XDG_CURRENT_DESKTOP "niri"
|
||||
// 输入法环境变量(解决 Linux QQ 等应用无法输入中文)
|
||||
GTK_IM_MODULE "fcitx5"
|
||||
QT_IM_MODULE "fcitx5"
|
||||
XMODIFIERS "@im=fcitx5"
|
||||
SDL_IM_MODULE "fcitx5"
|
||||
GLFW_IM_MODULE "ibus"
|
||||
}
|
||||
hotkey-overlay {
|
||||
skip-at-startup
|
||||
@@ -203,35 +209,54 @@ hotkey-overlay {
|
||||
prefer-no-csd
|
||||
screenshot-path "~/Pictures/Screenshots/Screenshot from %Y-%m-%d %H-%M-%S.png"
|
||||
animations {
|
||||
// macOS 风格动画配置:流畅、自然、无震荡
|
||||
|
||||
// 工作区切换:轻微弹性,更自然
|
||||
workspace-switch {
|
||||
spring damping-ratio=0.80 stiffness=523 epsilon=0.0001
|
||||
spring damping-ratio=0.95 stiffness=850 epsilon=0.0001
|
||||
}
|
||||
|
||||
// 窗口打开:柔和适中
|
||||
window-open {
|
||||
duration-ms 150
|
||||
curve "ease-out-expo"
|
||||
}
|
||||
window-close {
|
||||
duration-ms 150
|
||||
curve "ease-out-quad"
|
||||
}
|
||||
horizontal-view-movement {
|
||||
spring damping-ratio=0.85 stiffness=423 epsilon=0.0001
|
||||
}
|
||||
window-movement {
|
||||
spring damping-ratio=0.75 stiffness=323 epsilon=0.0001
|
||||
}
|
||||
window-resize {
|
||||
spring damping-ratio=0.85 stiffness=423 epsilon=0.0001
|
||||
}
|
||||
config-notification-open-close {
|
||||
spring damping-ratio=0.65 stiffness=923 epsilon=0.001
|
||||
}
|
||||
screenshot-ui-open {
|
||||
duration-ms 200
|
||||
curve "ease-out-quad"
|
||||
curve "ease-out-cubic"
|
||||
}
|
||||
|
||||
// 窗口关闭:柔和适中
|
||||
window-close {
|
||||
duration-ms 180
|
||||
curve "ease-out-cubic"
|
||||
}
|
||||
|
||||
// 水平视图移动:平滑的弹簧效果
|
||||
horizontal-view-movement {
|
||||
spring damping-ratio=1.0 stiffness=600 epsilon=0.0001
|
||||
}
|
||||
|
||||
// 窗口移动:平滑自然
|
||||
window-movement {
|
||||
spring damping-ratio=1.0 stiffness=600 epsilon=0.0001
|
||||
}
|
||||
|
||||
// 窗口调整大小:跟随手势,物理感
|
||||
window-resize {
|
||||
spring damping-ratio=1.0 stiffness=600 epsilon=0.0001
|
||||
}
|
||||
|
||||
// 配置通知:快速弹出
|
||||
config-notification-open-close {
|
||||
spring damping-ratio=1.0 stiffness=1000 epsilon=0.001
|
||||
}
|
||||
|
||||
// 截图界面
|
||||
screenshot-ui-open {
|
||||
duration-ms 250
|
||||
curve "ease-out-cubic"
|
||||
}
|
||||
|
||||
// 概览界面:快速响应
|
||||
overview-open-close {
|
||||
spring damping-ratio=0.85 stiffness=800 epsilon=0.0001
|
||||
spring damping-ratio=1.0 stiffness=700 epsilon=0.0001
|
||||
}
|
||||
}
|
||||
// Window rules let you adjust behavior for individual windows.
|
||||
|
||||
Reference in New Issue
Block a user