Skip to content

Instantly share code, notes, and snippets.

@pepesan
Created August 18, 2020 12:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save pepesan/4302c671d88fc2040283de464661dd21 to your computer and use it in GitHub Desktop.
Save pepesan/4302c671d88fc2040283de464661dd21 to your computer and use it in GitHub Desktop.
Ejemplo de fichero JSON para streamdeck_ui
{
"streamdeck_ui_version": 1,
"state": {
"AL17J2C03245": {
"buttons": {
"0": {
"0": {
"write": "OpenOBS. Leave first key as non-macro for OBS as it is buggy in StreamDeck using it as a macro. Will stop recording in OBS no matter shortcut chosen. ",
"icon": "/home/pepesan/grive/streamdeck/icons/72/Large/exchange-alt.solid.png",
"text": "OpenOBS",
"command": "obs",
"keys": "",
"switch_page": 0
},
"1": {
"keys": "ctrl+alt+1",
"write": "Fullscreen camera.",
"text": "OBSFullCam",
"icon": "/home/pepesan/grive/streamdeck/icons/72/Large/camera-retro.solid.png",
"command": "wmctrl -xa obs"
},
"2": {
"keys": "ctrl+alt+3",
"write": "Desktop Only",
"text": "OBSDesk",
"icon": "/home/pepesan/grive/streamdeck/icons/72/Large/window-maximize.regular.png",
"command": "wmctrl -xa obs"
},
"3": {
"keys": "ctrl+tab+m",
"write": "OpenOBS. Leave first key as non-macro for OBS as it is buggy in StreamDeck using it as a macro. Will stop recording in OBS no matter shortcut chosen. This is setup under Global shortcuts in KDE desktop. You could also just use OBS as well. But this way it mutes my mic system wide. ",
"text": "Mute",
"command": "",
"icon": "/home/pepesan/grive/streamdeck/icons/72/Large/microphone-alt-slash.solid.png",
"switch_page": 0
},
"4": {
"keys": "ctrl+alt+2",
"write": "Switches to OBS from Command wmctrl -xa obs. Identify OBS window using xprop. Then uses a hotkey in OBS (you must setup hotkeys for your Scenes in OBS first) to move to a camera + desktop view as default. Non-studio mode. ",
"text": "OBSCombo",
"command": "",
"switch_page": 0,
"icon": "/home/pepesan/grive/streamdeck/icons/72/Large/superpowers.brands.png"
},
"5": {
"write": "",
"switch_page": 2,
"icon": "/home/pepesan/grive/streamdeck/icons/72/Large/arrow-alt-circle-right.solid.png",
"text": "SwitchPage",
"command": "",
"keys": ""
},
"6": {},
"7": {},
"8": {},
"9": {},
"10": {},
"11": {},
"12": {},
"13": {},
"14": {}
},
"1": {
"0": {
"write": "",
"keys": "",
"text": "Firefox",
"switch_page": 0,
"command": "firefox",
"icon": "/home/pepesan/grive/streamdeck/icons/72/Large/firefox.brands.png"
},
"1": {
"command": "xfce4-terminal",
"write": "",
"text": "Terminal",
"icon": "/home/pepesan/grive/streamdeck/icons/72/Large/terminal.solid.png"
},
"2": {
"command": "/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=telegram-desktop --file-forwarding org.telegram.desktop -- @@u %u @@",
"write": "",
"text": "Telegram",
"icon": "/home/pepesan/grive/streamdeck/icons/72/Large/user.solid.png"
},
"3": {
"command": "",
"write": "",
"text": ""
},
"4": {
"command": "",
"write": "",
"text": ""
},
"5": {
"write": "",
"switch_page": 1,
"text": "Page1",
"icon": "/home/pepesan/grive/streamdeck/icons/72/Large/arrow-circle-left.solid.png",
"command": ""
},
"6": {},
"7": {},
"8": {},
"9": {},
"10": {},
"11": {},
"12": {},
"13": {},
"14": {}
},
"2": {
"0": {
"write": ""
},
"1": {},
"2": {},
"3": {},
"4": {},
"5": {},
"6": {},
"7": {},
"8": {},
"9": {},
"10": {},
"11": {},
"12": {},
"13": {},
"14": {}
}
},
"brightness": 99,
"page": 1
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment