switch to chrome due to using habit differences.

This commit is contained in:
2025-12-13 00:40:49 +08:00
parent 3fa8251a7f
commit fe4232ec8e
3 changed files with 19 additions and 1 deletions

View File

@@ -269,7 +269,7 @@ binds {
Mod+F1 { show-hotkey-overlay; }
Mod+Return hotkey-overlay-title="Terminal (foot)" { spawn "foot"; }
Mod+F9 hotkey-overlay-title="Browser (firefox)" { spawn "ykrun" "firefox"; }
Mod+F9 hotkey-overlay-title="Browser (chrome)" { spawn "ykrun" "google-chrome-stable"; }
Mod+E hotkey-overlay-title="Explorer (yazi)" { spawn "foot" "yazi"; }
//Shift+Mod+Return hotkey-overlay-title="Steam" { spawn "steam"; }

View File

@@ -35,6 +35,7 @@
"icon-size": 14,
"rewrite": {
"(.*) — Mozilla Firefox": "$1",
"(.*) - Google Chrome": "$1",
"(.*) - Visual Studio Code": "$1",
"(.*) - VLC media player": "$1",
"Yazi: (.*)": "$1"

View File

@@ -0,0 +1,17 @@
// ==UserScript==
// @name Genshin Cloud
// @namespace http://tampermonkey.net/
// @version 0.1
// @description fix a Genshin Impact cloud game bug
// @match https://*.mihoyo.com/cloud/*
// @grant none
// ==/UserScript==
(function () {
'use strict';
const origin = HTMLElement.prototype.requestPointerLock
HTMLElement.prototype.requestPointerLock = function () {
return origin.call(this)
}
})();