53 lines
1.4 KiB
TOML
53 lines
1.4 KiB
TOML
[config]
|
|
use_i3=true # If we are connecting to i3/sway or not.
|
|
font="FantasqueSansMono" # Font
|
|
|
|
[colors] # Colors are an array of [r,g,b] as floats from 0 to 1
|
|
selected=[0.72,0.74,0.41]
|
|
deselected=[1,1,1]
|
|
background=[0.11,0.12,0.13]
|
|
|
|
# All menu options are formatted like this.
|
|
# There are 4 types: shell, internal, i3, and submenu.
|
|
[[options]]
|
|
label="Terminal"
|
|
type="shell"
|
|
command="termite" # the shell type has a command, which is run in a shell.
|
|
|
|
[[options]]
|
|
label="Editor"
|
|
type="shell"
|
|
command="termite -e nvim"
|
|
|
|
[[options]]
|
|
label="Exit Window"
|
|
type="i3"
|
|
command="kill" # the i3 type has a command which is sent to the i3/sway environment.
|
|
|
|
[[options]]
|
|
label="Resize Mode"
|
|
type="i3"
|
|
command="mode \"resize\""
|
|
|
|
# The submenu type has a list of options,
|
|
# which are in the same format as the main menu options,
|
|
# but with [[options.options]] rather than [[options]]
|
|
[[options]]
|
|
label="test"
|
|
type="submenu" # the submenu type has a list of options, which are in the same format as the main menu options
|
|
[[options.options]]
|
|
label="test 1"
|
|
type="internal"
|
|
command="exit"
|
|
[[options.options]]
|
|
label="test 2"
|
|
type="submenu"
|
|
[[options.options.options]]
|
|
label="A subsubmenu!"
|
|
type="shell"
|
|
command="echo hi"
|
|
[[options.options.options]]
|
|
label="Dumb but doable"
|
|
type="shell"
|
|
command="echo bye"
|