diff --git a/actions/Makefile b/actions/Makefile new file mode 100644 index 0000000..8be6c6e --- /dev/null +++ b/actions/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 $< -o $@ -b ffffff + +all: $(png_files) diff --git a/actions/png/camera-off.png b/actions/png/camera-off.png new file mode 100644 index 0000000..7bf47d1 Binary files /dev/null and b/actions/png/camera-off.png differ diff --git a/actions/png/microphone-off.png b/actions/png/microphone-off.png new file mode 100644 index 0000000..2560cd0 Binary files /dev/null and b/actions/png/microphone-off.png differ diff --git a/apps/png/google-meet.png b/apps/png/google-meet.png new file mode 100644 index 0000000..3ab2f4d Binary files /dev/null and b/apps/png/google-meet.png differ diff --git a/streamdeck_ui_export.json b/streamdeck_ui_export.json index 1784a75..879a77d 100644 --- a/streamdeck_ui_export.json +++ b/streamdeck_ui_export.json @@ -31,12 +31,15 @@ }, "5": { "write": "", - "switch_page": 3, - "text": "TEAMS", - "icon": "/home/pgrondek/src/streamdeck/apps/png/microsoft-teams.png" + "switch_page": 4, + "text": "MEET", + "icon": "/home/pgrondek/src/streamdeck/apps/png/google-meet.png" }, "6": { - "write": "" + "write": "", + "text": "", + "switch_page": 0, + "icon": "" }, "7": { "write": "" @@ -140,8 +143,8 @@ "keys": "", "write": "", "text": "JUMP", - "icon": "/home/pgrondek/src/streamdeck/apps/png/microsoft-teams.png", - "switch_page": 3 + "icon": "/home/pgrondek/src/streamdeck/apps/png/google-meet.png", + "switch_page": 4 }, "10": { "keys": "Ctrl+k", @@ -275,7 +278,11 @@ } }, "3": { - "1": {}, + "1": { + "text": "CAMERA", + "command": "xdotool search --name 'Meet.*Firefox' key ctrl+e", + "icon": "/home/pgrondek/src/streamdeck/actions/png/camera-off.png" + }, "2": {}, "3": {}, "4": {}, @@ -283,7 +290,11 @@ "6": {}, "7": {}, "8": {}, - "9": {}, + "9": { + "icon": "/home/pgrondek/src/streamdeck/apps/png/IntelliJ.png", + "text": "JUMP", + "switch_page": 2 + }, "10": {}, "11": {}, "12": {}, @@ -299,7 +310,9 @@ "write": "", "keys": "", "switch_page": 0, - "text": "" + "text": "MUTE", + "command": "xdotool search --name 'Meet.*Firefox' key ctrl+d", + "icon": "/home/pgrondek/src/streamdeck/actions/png/microphone-off.png" } }, "4": { @@ -506,7 +519,7 @@ } }, "brightness": 45, - "page": 9 + "page": 0 } } } \ No newline at end of file