switch to chrome due to using habit differences.
This commit is contained in:
@@ -269,7 +269,7 @@ binds {
|
|||||||
Mod+F1 { show-hotkey-overlay; }
|
Mod+F1 { show-hotkey-overlay; }
|
||||||
|
|
||||||
Mod+Return hotkey-overlay-title="Terminal (foot)" { spawn "foot"; }
|
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"; }
|
Mod+E hotkey-overlay-title="Explorer (yazi)" { spawn "foot" "yazi"; }
|
||||||
//Shift+Mod+Return hotkey-overlay-title="Steam" { spawn "steam"; }
|
//Shift+Mod+Return hotkey-overlay-title="Steam" { spawn "steam"; }
|
||||||
|
|
||||||
|
|||||||
@@ -35,6 +35,7 @@
|
|||||||
"icon-size": 14,
|
"icon-size": 14,
|
||||||
"rewrite": {
|
"rewrite": {
|
||||||
"(.*) — Mozilla Firefox": "$1",
|
"(.*) — Mozilla Firefox": "$1",
|
||||||
|
"(.*) - Google Chrome": "$1",
|
||||||
"(.*) - Visual Studio Code": "$1",
|
"(.*) - Visual Studio Code": "$1",
|
||||||
"(.*) - VLC media player": "$1",
|
"(.*) - VLC media player": "$1",
|
||||||
"Yazi: (.*)": "$1"
|
"Yazi: (.*)": "$1"
|
||||||
|
|||||||
17
hoyocloud-chromium-userscript.js
Normal file
17
hoyocloud-chromium-userscript.js
Normal 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)
|
||||||
|
}
|
||||||
|
})();
|
||||||
Reference in New Issue
Block a user