mirror of
https://github.com/rbreaves/kinto.git
synced 2025-08-05 10:36:39 +02:00
- Added more assets and added suspend and unique windows vs apple keyboard status icons for Windows
This commit is contained in:
BIN
assets/kinto-black-invert.ico
Normal file
BIN
assets/kinto-black-invert.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 99 KiB |
BIN
assets/kinto-color-black-invert.ico
Normal file
BIN
assets/kinto-color-black-invert.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 105 KiB |
BIN
assets/kinto-color-invert-border.ico
Normal file
BIN
assets/kinto-color-invert-border.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 104 KiB |
BIN
assets/kinto-color-invert.ico
Normal file
BIN
assets/kinto-color-invert.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 102 KiB |
BIN
assets/kinto-color-white-invert.ico
Normal file
BIN
assets/kinto-color-white-invert.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 105 KiB |
BIN
assets/kinto-white-invert.ico
Normal file
BIN
assets/kinto-white-invert.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 101 KiB |
@@ -5,9 +5,15 @@
|
|||||||
DetectHiddenWindows, On
|
DetectHiddenWindows, On
|
||||||
Run, %A_ScriptDir%\detectUSB.ahk
|
Run, %A_ScriptDir%\detectUSB.ahk
|
||||||
|
|
||||||
I_Icon = %A_ScriptDir%\assets\kinto-white.ico
|
; I_Icon = %A_ScriptDir%\assets\kinto-white.ico ; MacModifiers
|
||||||
IfExist, %I_Icon%
|
; IfExist, %I_Icon% ; MacModifiers
|
||||||
Menu, Tray, Icon, %I_Icon%
|
; Menu, Tray, Icon, %I_Icon%,, 1 ; MacModifiers
|
||||||
|
; Menu, Tray, Tip, Mac - Kinto ; MacModifiers
|
||||||
|
|
||||||
|
; I_Icon = %A_ScriptDir%\assets\kinto-white-invert.ico ; WinModifiers
|
||||||
|
; IfExist, %I_Icon% ; WinModifiers
|
||||||
|
; Menu, Tray, Icon, %I_Icon%,, 1 ; WinModifiers
|
||||||
|
; Menu, Tray, Tip, Windows - Kinto ; WinModifiers
|
||||||
|
|
||||||
; Set Tray menu
|
; Set Tray menu
|
||||||
; Menu, Tray, Standard
|
; Menu, Tray, Standard
|
||||||
@@ -19,7 +25,6 @@ Menu, Tray, Add, Returns to Desktop, min
|
|||||||
Menu, Tray, Add
|
Menu, Tray, Add
|
||||||
Menu, Tray, Add, Close, Exit
|
Menu, Tray, Add, Close, Exit
|
||||||
Menu, Tray, Click, 1
|
Menu, Tray, Click, 1
|
||||||
Menu, Tray, Tip, Kinto
|
|
||||||
|
|
||||||
winkb(){
|
winkb(){
|
||||||
Run, %A_ScriptDir%\NoShell.vbs %A_ScriptDir%\toggle_kb.bat win, %A_ScriptDir%
|
Run, %A_ScriptDir%\NoShell.vbs %A_ScriptDir%\toggle_kb.bat win, %A_ScriptDir%
|
||||||
@@ -32,15 +37,20 @@ mackb(){
|
|||||||
min(){
|
min(){
|
||||||
; Refocus last active Window
|
; Refocus last active Window
|
||||||
Send {LAlt down}{tab}{LAlt up}
|
Send {LAlt down}{tab}{LAlt up}
|
||||||
}
|
}
|
||||||
|
|
||||||
tray_suspend(){
|
tray_suspend(){
|
||||||
suspend toggle
|
suspend toggle
|
||||||
if (a_isSuspended = 1){
|
if (a_isSuspended = 1){
|
||||||
menu, tray, check , Suspend Kinto
|
menu, tray, check , Suspend Kinto
|
||||||
|
I_Icon = %A_ScriptDir%\assets\kinto-color-invert.ico
|
||||||
|
Menu, Tray, Icon, %I_Icon%,, 1
|
||||||
|
Menu, Tray, Tip, Suspended - Kinto
|
||||||
}
|
}
|
||||||
else{
|
else{
|
||||||
menu, tray, unCheck, Suspend Kinto
|
menu, tray, unCheck, Suspend Kinto
|
||||||
|
I_Icon = %A_ScriptDir%\assets\kinto-white.ico
|
||||||
|
Menu, Tray, Icon, %I_Icon%,,1
|
||||||
}
|
}
|
||||||
; Refocus last active Window
|
; Refocus last active Window
|
||||||
Send {LAlt down}{tab}{LAlt up}
|
Send {LAlt down}{tab}{LAlt up}
|
||||||
|
Reference in New Issue
Block a user