commit 925a68342ec78ca2edd8fb1ef28379694bcd0180 Author: Przemek Grondek Date: Thu Jan 14 22:28:31 2021 +0100 WIP diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..62c8935 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.idea/ \ No newline at end of file diff --git a/apps/Makefile b/apps/Makefile new file mode 100644 index 0000000..c2cfb6d --- /dev/null +++ b/apps/Makefile @@ -0,0 +1,7 @@ +svg_files=$(wildcard svg/*.svg) +png_files=$(patsubst svg/%.svg,png/%.png,$(svg_files)) + +png/%.png: svg/%.svg + inkscape -z -w 50 -h 50 $< -e $@ + +all: $(png_files) \ No newline at end of file diff --git a/apps/png/IntelliJ.png b/apps/png/IntelliJ.png new file mode 100644 index 0000000..d068690 Binary files /dev/null and b/apps/png/IntelliJ.png differ diff --git a/apps/png/android-studio.png b/apps/png/android-studio.png new file mode 100644 index 0000000..65d61b8 Binary files /dev/null and b/apps/png/android-studio.png differ diff --git a/apps/png/chrome.png b/apps/png/chrome.png new file mode 100644 index 0000000..ea50333 Binary files /dev/null and b/apps/png/chrome.png differ diff --git a/apps/png/clion.png b/apps/png/clion.png new file mode 100644 index 0000000..629151a Binary files /dev/null and b/apps/png/clion.png differ diff --git a/apps/png/datagrip.png b/apps/png/datagrip.png new file mode 100644 index 0000000..62831fd Binary files /dev/null and b/apps/png/datagrip.png differ diff --git a/apps/png/firefox.png b/apps/png/firefox.png new file mode 100644 index 0000000..45ddb17 Binary files /dev/null and b/apps/png/firefox.png differ diff --git a/apps/png/microsoft-teams.png b/apps/png/microsoft-teams.png new file mode 100644 index 0000000..62c80b2 Binary files /dev/null and b/apps/png/microsoft-teams.png differ diff --git a/apps/png/pycharm.png b/apps/png/pycharm.png new file mode 100644 index 0000000..ce13ec2 Binary files /dev/null and b/apps/png/pycharm.png differ diff --git a/apps/png/run.png b/apps/png/run.png new file mode 100644 index 0000000..34090bf Binary files /dev/null and b/apps/png/run.png differ diff --git a/apps/svg/chrome.svg b/apps/svg/chrome.svg new file mode 100644 index 0000000..b95814e --- /dev/null +++ b/apps/svg/chrome.svg @@ -0,0 +1,90 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/apps/svg/firefox.svg b/apps/svg/firefox.svg new file mode 100644 index 0000000..c19bf4a --- /dev/null +++ b/apps/svg/firefox.svg @@ -0,0 +1,81 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/home-variant.png b/home-variant.png new file mode 100644 index 0000000..984ab72 Binary files /dev/null and b/home-variant.png differ diff --git a/home-variant.svg b/home-variant.svg new file mode 100644 index 0000000..91e1747 --- /dev/null +++ b/home-variant.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/intellij/Makefile b/intellij/Makefile new file mode 100644 index 0000000..c2cfb6d --- /dev/null +++ b/intellij/Makefile @@ -0,0 +1,7 @@ +svg_files=$(wildcard svg/*.svg) +png_files=$(patsubst svg/%.svg,png/%.png,$(svg_files)) + +png/%.png: svg/%.svg + inkscape -z -w 50 -h 50 $< -e $@ + +all: $(png_files) \ No newline at end of file diff --git a/intellij/png/commit_dark.png b/intellij/png/commit_dark.png new file mode 100644 index 0000000..d036cef Binary files /dev/null and b/intellij/png/commit_dark.png differ diff --git a/intellij/png/execute_dark.png b/intellij/png/execute_dark.png new file mode 100644 index 0000000..0618c29 Binary files /dev/null and b/intellij/png/execute_dark.png differ diff --git a/intellij/png/fetch_dark.png b/intellij/png/fetch_dark.png new file mode 100644 index 0000000..9dafef3 Binary files /dev/null and b/intellij/png/fetch_dark.png differ diff --git a/intellij/png/fromVCSTab.png b/intellij/png/fromVCSTab.png new file mode 100644 index 0000000..c089109 Binary files /dev/null and b/intellij/png/fromVCSTab.png differ diff --git a/intellij/png/pull_dark.png b/intellij/png/pull_dark.png new file mode 100644 index 0000000..d24fe78 Binary files /dev/null and b/intellij/png/pull_dark.png differ diff --git a/intellij/png/push_dark.png b/intellij/png/push_dark.png new file mode 100644 index 0000000..26b9915 Binary files /dev/null and b/intellij/png/push_dark.png differ diff --git a/intellij/png/rerun_dark.png b/intellij/png/rerun_dark.png new file mode 100644 index 0000000..2d6da8f Binary files /dev/null and b/intellij/png/rerun_dark.png differ diff --git a/intellij/png/restart_dark.png b/intellij/png/restart_dark.png new file mode 100644 index 0000000..8b353db Binary files /dev/null and b/intellij/png/restart_dark.png differ diff --git a/intellij/png/startDebugger_dark.png b/intellij/png/startDebugger_dark.png new file mode 100644 index 0000000..3f51eb0 Binary files /dev/null and b/intellij/png/startDebugger_dark.png differ diff --git a/intellij/png/suspend_dark.png b/intellij/png/suspend_dark.png new file mode 100644 index 0000000..c88a690 Binary files /dev/null and b/intellij/png/suspend_dark.png differ diff --git a/intellij/svg/commit_dark.svg b/intellij/svg/commit_dark.svg new file mode 100644 index 0000000..f3d2589 --- /dev/null +++ b/intellij/svg/commit_dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/intellij/svg/execute_dark.svg b/intellij/svg/execute_dark.svg new file mode 100644 index 0000000..e63c6f7 --- /dev/null +++ b/intellij/svg/execute_dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/intellij/svg/fromVCSTab.svg b/intellij/svg/fromVCSTab.svg new file mode 100644 index 0000000..de71c92 --- /dev/null +++ b/intellij/svg/fromVCSTab.svg @@ -0,0 +1,3 @@ + + + diff --git a/intellij/svg/pull_dark.svg b/intellij/svg/pull_dark.svg new file mode 100644 index 0000000..b675ad9 --- /dev/null +++ b/intellij/svg/pull_dark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/intellij/svg/push_dark.svg b/intellij/svg/push_dark.svg new file mode 100644 index 0000000..df0d2b1 --- /dev/null +++ b/intellij/svg/push_dark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/intellij/svg/rerun_dark.svg b/intellij/svg/rerun_dark.svg new file mode 100644 index 0000000..e33305a --- /dev/null +++ b/intellij/svg/rerun_dark.svg @@ -0,0 +1,6 @@ + + + + + + diff --git a/intellij/svg/restart_dark.svg b/intellij/svg/restart_dark.svg new file mode 100644 index 0000000..d41328e --- /dev/null +++ b/intellij/svg/restart_dark.svg @@ -0,0 +1,7 @@ + + + + + + + diff --git a/intellij/svg/startDebugger_dark.svg b/intellij/svg/startDebugger_dark.svg new file mode 100644 index 0000000..86f4240 --- /dev/null +++ b/intellij/svg/startDebugger_dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/intellij/svg/suspend_dark.svg b/intellij/svg/suspend_dark.svg new file mode 100644 index 0000000..9c777f6 --- /dev/null +++ b/intellij/svg/suspend_dark.svg @@ -0,0 +1,3 @@ + + + diff --git a/streamdeck_ui_export.json b/streamdeck_ui_export.json new file mode 100644 index 0000000..a276fe9 --- /dev/null +++ b/streamdeck_ui_export.json @@ -0,0 +1,372 @@ +{ + "streamdeck_ui_version": 1, + "state": { + "AL40J2C50198": { + "buttons": { + "0": { + "0": { + "write": "", + "switch_page": 2, + "text": "IntelliJ", + "keys": "", + "icon": "/home/pgrondek/src/streamdeck/apps/png/IntelliJ.png", + "command": "" + }, + "1": {}, + "2": {}, + "3": {}, + "4": {}, + "5": { + "write": "", + "switch_page": 3, + "text": "TEAMS", + "icon": "/home/pgrondek/src/streamdeck/apps/png/microsoft-teams.png" + }, + "6": {}, + "7": {}, + "8": {}, + "9": {}, + "10": { + "write": "", + "switch_page": 0, + "text": "" + }, + "11": {}, + "12": {}, + "13": {}, + "14": { + "write": "", + "switch_page": 10, + "icon": "/home/pgrondek/src/streamdeck/apps/png/run.png", + "text": "RUN" + } + }, + "1": { + "0": { + "switch_page": 0, + "text": "RUN", + "icon": "/home/pgrondek/src/streamdeck/intellij/png/execute_dark.png", + "keys": "Shift+F10", + "write": "", + "command": "" + }, + "1": { + "keys": "Ctrl+F2", + "text": "STOP", + "icon": "/home/pgrondek/src/streamdeck/intellij/png/suspend_dark.png", + "write": "" + }, + "2": { + "keys": "Ctrl+F5", + "text": "RE-RUN", + "icon": "/home/pgrondek/src/streamdeck/intellij/png/restart_dark.png" + }, + "3": { + "icon": "/home/pgrondek/src/streamdeck/intellij/png/startDebugger_dark.png", + "keys": "Shift+F9", + "text": "DEBUG" + }, + "4": {}, + "5": { + "keys": "Ctrl+k", + "write": "", + "text": "COMMIT", + "icon": "/home/pgrondek/src/streamdeck/intellij/png/commit_dark.png" + }, + "6": { + "keys": "Ctrl+Shift+k", + "write": "", + "text": "PUSH", + "icon": "/home/pgrondek/src/streamdeck/intellij/png/push_dark.png" + }, + "7": { + "keys": "Ctrl+t", + "write": "", + "text": "PULL", + "icon": "/home/pgrondek/src/streamdeck/intellij/png/pull_dark.png" + }, + "8": { + "write": "", + "text": "", + "icon": "", + "keys": "" + }, + "9": { + "write": "", + "icon": "/home/pgrondek/src/streamdeck/intellij/png/fromVCSTab.png", + "text": "BRANCHES", + "keys": "Ctrl+Shift+`" + }, + "10": { + "keys": "", + "write": "", + "text": "" + }, + "11": {}, + "12": {}, + "13": {}, + "14": { + "keys": "", + "write": "", + "text": "", + "switch_page": 1, + "icon": "/home/pgrondek/src/streamdeck/home-variant.png" + } + }, + "2": { + "1": { + "keys": "Ctrl+Shift+s", + "write": "", + "icon": "/home/pgrondek/src/streamdeck/teams/accept-call.png" + }, + "2": { + "keys": "Ctrl+Shift+d", + "write": "", + "icon": "/home/pgrondek/src/streamdeck/teams/phone-hangup.png" + }, + "3": { + "keys": "Ctrl+Shift+Space", + "write": "", + "command": "", + "icon": "/home/pgrondek/src/streamdeck/teams/monitor-share.png" + }, + "4": {}, + "5": {}, + "6": {}, + "7": {}, + "8": {}, + "9": {}, + "10": {}, + "11": {}, + "12": {}, + "13": {}, + "14": { + "keys": "", + "write": "", + "text": "", + "switch_page": 1, + "icon": "/home/pgrondek/src/streamdeck/home-variant.png" + }, + "0": { + "keys": "Ctrl+Shift+m", + "write": "", + "text": "", + "switch_page": 0, + "icon": "/home/pgrondek/src/streamdeck/teams/microphone-off.png", + "command": "" + } + }, + "3": { + "1": {}, + "2": {}, + "3": {}, + "4": {}, + "5": {}, + "6": {}, + "7": {}, + "8": {}, + "9": {}, + "10": {}, + "11": {}, + "12": {}, + "13": {}, + "14": { + "keys": "", + "write": "", + "text": "", + "switch_page": 1, + "icon": "/home/pgrondek/src/streamdeck/home-variant.png" + }, + "0": { + "write": "", + "keys": "" + } + }, + "4": { + "1": {}, + "2": {}, + "3": {}, + "4": {}, + "5": {}, + "6": {}, + "7": {}, + "8": {}, + "9": {}, + "10": {}, + "11": {}, + "12": {}, + "13": {}, + "14": { + "keys": "", + "write": "", + "text": "", + "switch_page": 1, + "icon": "/home/pgrondek/src/streamdeck/home-variant.png" + } + }, + "5": { + "1": {}, + "2": {}, + "3": {}, + "4": {}, + "5": {}, + "6": {}, + "7": {}, + "8": {}, + "9": {}, + "10": {}, + "11": {}, + "12": {}, + "13": {}, + "14": { + "keys": "", + "write": "", + "text": "", + "switch_page": 1, + "icon": "/home/pgrondek/src/streamdeck/home-variant.png" + } + }, + "6": { + "1": {}, + "2": {}, + "3": {}, + "4": {}, + "5": {}, + "6": {}, + "7": {}, + "8": {}, + "9": {}, + "10": {}, + "11": {}, + "12": {}, + "13": {}, + "14": { + "keys": "", + "write": "", + "text": "", + "switch_page": 1, + "icon": "/home/pgrondek/src/streamdeck/home-variant.png" + } + }, + "7": { + "1": {}, + "2": {}, + "3": {}, + "4": {}, + "5": {}, + "6": {}, + "7": {}, + "8": {}, + "9": {}, + "10": {}, + "11": {}, + "12": {}, + "13": {}, + "14": { + "keys": "", + "write": "", + "text": "", + "switch_page": 1, + "icon": "/home/pgrondek/src/streamdeck/home-variant.png" + }, + "0": { + "write": "" + } + }, + "8": { + "1": {}, + "2": {}, + "3": {}, + "4": {}, + "5": {}, + "6": {}, + "7": {}, + "8": {}, + "9": {}, + "10": {}, + "11": {}, + "12": {}, + "13": {}, + "14": { + "keys": "", + "write": "", + "text": "", + "switch_page": 1, + "icon": "/home/pgrondek/src/streamdeck/home-variant.png" + }, + "0": { + "write": "" + } + }, + "9": { + "1": { + "command": "google-chrome", + "write": "", + "switch_page": 0, + "text": "CHROME", + "icon": "/home/pgrondek/src/streamdeck/apps/png/chrome.png" + }, + "2": {}, + "3": {}, + "4": {}, + "5": { + "write": "", + "text": "INTELLIJ", + "icon": "/home/pgrondek/src/streamdeck/apps/png/IntelliJ.png", + "switch_page": 2, + "command": "idea" + }, + "6": { + "command": "clion", + "write": "", + "switch_page": 2, + "text": "CLION", + "icon": "/home/pgrondek/src/streamdeck/apps/png/clion.png" + }, + "7": { + "command": "pycharm", + "write": "", + "switch_page": 2, + "text": "PYCHARM", + "icon": "/home/pgrondek/src/streamdeck/apps/png/pycharm.png" + }, + "8": { + "command": "datagrip", + "write": "", + "switch_page": 1, + "text": "DATAGRIP", + "icon": "/home/pgrondek/src/streamdeck/apps/png/datagrip.png" + }, + "9": { + "write": "", + "command": "studio", + "icon": "/home/pgrondek/src/streamdeck/apps/png/android-studio.png", + "text": "ANDROID", + "switch_page": 2 + }, + "10": {}, + "11": {}, + "12": {}, + "13": {}, + "14": { + "keys": "", + "write": "", + "text": "", + "switch_page": 1, + "icon": "/home/pgrondek/src/streamdeck/home-variant.png" + }, + "0": { + "keys": "", + "write": "", + "text": "FIREFOX", + "switch_page": 1, + "icon": "/home/pgrondek/src/streamdeck/apps/png/firefox.png", + "command": "firefox" + } + } + }, + "brightness": 99, + "page": 1 + } + } +} \ No newline at end of file diff --git a/teams/accept-call.png b/teams/accept-call.png new file mode 100644 index 0000000..a74754e Binary files /dev/null and b/teams/accept-call.png differ diff --git a/teams/microphone-off.png b/teams/microphone-off.png new file mode 100644 index 0000000..da5fb15 Binary files /dev/null and b/teams/microphone-off.png differ diff --git a/teams/monitor-share.png b/teams/monitor-share.png new file mode 100644 index 0000000..7a7efd9 Binary files /dev/null and b/teams/monitor-share.png differ diff --git a/teams/phone-hangup.png b/teams/phone-hangup.png new file mode 100644 index 0000000..9b4178b Binary files /dev/null and b/teams/phone-hangup.png differ