From 973915f27d8fe0e7e421de3e5bad20f4d44c510d Mon Sep 17 00:00:00 2001 From: breadcat Date: Thu, 19 Dec 2013 18:19:10 +0000 Subject: Replace chromium with firefox more freedoms means more betters --- ahk-assistant.ahk | 14 ++------------ appspecific.ahk | 8 ++++---- 2 files changed, 6 insertions(+), 16 deletions(-) diff --git a/ahk-assistant.ahk b/ahk-assistant.ahk index 64e6d0c..a57ad1c 100644 --- a/ahk-assistant.ahk +++ b/ahk-assistant.ahk @@ -21,18 +21,8 @@ SetNumLockState, AlwaysOn #q::Run notepad ^q::Send !{F4} ;quit most programs #+q::Run notepad.exe "%A_MyDocuments%\Dropbox\docs\faulties.txt" -^!q:: ;chromium global CSS -if A_OSVersion in WIN_XP - { - Run notepad.exe "%A_AppData%\..\Local Settings\Application Data\Chromium\User Data\Default\User StyleSheets\Custom.css" - } - Else - { - Run "%A_AppData%\..\Local\Chromium\User Data\Default\User StyleSheets\Custom.css" - } - Return -#w::Run "C:\Program Files (x86)\Chromium\chrome.exe" -#+w::Run "C:\Program Files (x86)\Chromium\chrome.exe" -incognito +#w::Run firefox.exe +#+w::Run firefox.exe -private-window #e:: ;launch documents directory if A_OSVersion in WIN_XP { diff --git a/appspecific.ahk b/appspecific.ahk index ff526fa..d8f4d2b 100644 --- a/appspecific.ahk +++ b/appspecific.ahk @@ -91,12 +91,12 @@ return #IfWinActive -;chrome/chromium -#IfWinActive ahk_class Chrome_WidgetWin_1 +;firefox +#IfWinActive ahk_class MozillaWindowClass ^+w::Send ^w ;quit window closes tab ^q::Send ^w ;quit now closes tab, the two keys are too close for this sort of thing - ^d::Send ^f ;useless bookmark > useful find - ^+h::Send ^tchrome://chrome/settings/clearBrowserData{Enter} ;delete history page + ^d::Send ^f ;bookmark remapped to find + ^+n::Run firefox.exe -private-window ;remap unclose window to new private tab #IfWinActive ;notepad2-mod -- cgit v1.2.3