Skip to content

Commit

Permalink
Mods
Browse files Browse the repository at this point in the history
  • Loading branch information
madprops committed Sep 18, 2024
1 parent fc27a56 commit 9678c44
Showing 1 changed file with 16 additions and 9 deletions.
25 changes: 16 additions & 9 deletions js/main/users.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,6 @@ App.user_madprops_settings = () => {
App.set_setting({setting: `max_recent_tabs`, value: 20})
App.set_setting({setting: `show_tooltips`, value: false})

App.set_setting({setting: `lock_screen_commands`, value: [
{cmd: `open_new_tab`},
]})

App.set_setting({setting: `unlock_screen_commands`, value: [
{cmd: `recent_tabs_backwards`},
{cmd: `close_last_tab`},
]})

// Main Title

App.set_setting({setting: `show_main_title`, value: true})
Expand Down Expand Up @@ -96,6 +87,22 @@ App.user_madprops_settings = () => {
cmd = {cmd: `lock_screen`}
App.append_list_setting(sett, cmd)

// Combos

cmd = {cmd: `open_new_tab`},
App.append_list_setting(`command_combo_1`, cmd)

cmd = {cmd: `recent_tabs_backwards`},
App.append_list_setting(`command_combo_2`, cmd)

cmd = {cmd: `close_last_tab`},
App.append_list_setting(`command_combo_2`, cmd)

// Lock Screen

App.set_setting({setting: `lock_screen_command`, value: `run_command_combo_1`})
App.set_setting({setting: `unlock_screen_command`, value: `run_command_combo_2`})

// Signals

sett = `signals`
Expand Down

0 comments on commit 9678c44

Please sign in to comment.