Skip to content

Commit bc50d54

Browse files
committed
Add support for Inkscape
Adds Inkscape to the list of monitored applications. Configures title extraction, activity type, and display name for accurate tracking within the WakaTime macOS app.
1 parent b0225ff commit bc50d54

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

WakaTime/Helpers/MonitoringManager.swift

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,8 @@ class MonitoringManager {
213213
return extractPrefix(element.rawTitle, separator: " - ")
214214
case .imessage:
215215
return extractPrefix(element.rawTitle, separator: " - ")
216+
case .inkscape:
217+
return extractPrefix(element.rawTitle)
216218
case .iterm2:
217219
return extractPrefix(element.rawTitle, separator: " - ")
218220
case .linear:
@@ -297,6 +299,8 @@ class MonitoringManager {
297299
return .codereviewing
298300
case .imessage:
299301
return .communicating
302+
case .inkscape:
303+
return .designing
300304
case .iterm2:
301305
return .coding
302306
case .linear:
@@ -453,6 +457,8 @@ class MonitoringManager {
453457
}
454458
case .figma:
455459
return "Image (svg)"
460+
case .inkscape:
461+
return "Image (svg)"
456462
case .postman:
457463
return "HTTP Request"
458464
default:

WakaTime/Watchers/MonitoredApp.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ enum MonitoredApp: String, CaseIterable {
1818
case firefox = "org.mozilla.firefox"
1919
case github = "com.github.GitHubClient"
2020
case imessage = "com.apple.MobileSMS"
21+
case inkscape = "org.inkscape.Inkscape"
2122
case iterm2 = "com.googlecode.iterm2"
2223
case linear = "com.linear"
2324
case miro = "com.electron.realtimeboard"

0 commit comments

Comments
 (0)