switch to Chinese readme

This commit is contained in:
2025-10-13 16:33:46 +08:00
parent 0fa4c4bc5d
commit d6d65118bf
3 changed files with 40 additions and 28 deletions

View File

@@ -238,7 +238,6 @@ spawn-at-startup "swww-daemon"
spawn-at-startup "swww-daemon" "--namespace" "blur"
spawn-at-startup "xwayland-satellite"
spawn-at-startup "/usr/lib/pam_kwallet_init"
//spawn-at-startup "swayidle -w timeout 300 'gtklock -d' timeout 1200 'niri msg action power-off-monitors' before-sleep 'pgrep gtklock || gtklock -d'"
environment {
DISPLAY ":0"
@@ -249,9 +248,6 @@ environment {
binds {
Mod+F1 { show-hotkey-overlay; }
// Launch pwvucontrol
//Mod+Ctrl+V hotkey-overlay-title="Open pwvucontrol" { spawn "flatpak" "run" "com.saivert.pwvucontrol"; }
Mod+Return hotkey-overlay-title="Terminal (foot)" { spawn "foot"; }
Mod+F9 hotkey-overlay-title="Browser (firefox)" { spawn "firefox"; }
Mod+E hotkey-overlay-title="Explorer (yazi)" { spawn "foot" "yazi"; }
@@ -270,7 +266,7 @@ binds {
// which ensures niri always processes them, even when an inhibitor is active.
Mod+Alt+Escape allow-inhibiting=false { toggle-keyboard-shortcuts-inhibit; }
Mod+Shift+Escape hotkey-overlay-title="Exit niri" { quit; }
Super+Escape hotkey-overlay-title="Lock the Screen (gtklock)" { spawn "gtklock"; }
Super+Escape hotkey-overlay-title="Lock the Screen (gtklock)" { spawn "gtklock" "-d"; }
XF86PowerOff hotkey-overlay-title="Lock screen and Hibernate ..." { spawn-sh "gtklock -d && sleep 3 && systemctl hibernate"; }
XF86AudioRaiseVolume hotkey-overlay-title=null allow-when-locked=true { spawn "wpctl" "set-volume" "@DEFAULT_AUDIO_SINK@" "0.01+"; }

View File

@@ -10,7 +10,7 @@
"format": " {volume}%",
"format-muted": "x {volume}%",
"on-click": "wpctl set-mute @DEFAULT_AUDIO_SINK@ toggle",
"on-click-right": "pwvucontrol-qt"
"on-click-right": "pavucontrol-qt"
},
"niri/workspaces": {
"format": "{index}"