Skip to content

Commit

Permalink
Custom urls cmds
Browse files Browse the repository at this point in the history
  • Loading branch information
madprops committed Jan 28, 2025
1 parent 84873c2 commit 4236dea
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions js/main/command_props.js
Original file line number Diff line number Diff line change
Expand Up @@ -455,6 +455,7 @@ App.setup_commands = () => {

custom_urls.push({
name: `${item.name} (Pin)`,
short_name: item.name,
cmd: `open_url_${id}_pin`,
icon: item.icon || browser_icon,
action: (args) => {
Expand All @@ -465,6 +466,7 @@ App.setup_commands = () => {

custom_urls.push({
name: `${item.name} (Normal)`,
short_name: item.name,
cmd: `open_url_${id}_normal`,
icon: item.icon || browser_icon,
action: (args) => {
Expand All @@ -475,6 +477,7 @@ App.setup_commands = () => {

custom_urls.push({
name: `${item.name} (Replace)`,
short_name: item.name,
cmd: `open_url_${id}_replace`,
icon: item.icon || browser_icon,
action: (args) => {
Expand Down

0 comments on commit 4236dea

Please sign in to comment.